Artistic Style Links

 

Information

Indent Style at Wikipedia discusses the common indent styles used in programming. The basic criteria for most Artistic Style predefined styles were taken from this discussion.

Programming style at Wikipedia is a set of rules or guidelines used when writing the source code for a computer program. It is often claimed that following a particular programming style will help programmers to read and understand source code conforming to the style, and help to avoid introducing errors.

Graphical User Interfaces

Artistic Style is a command line program and, as such, does not give you a chance to review the effect of different options before formatting the source code. The following Graphical User Interface program will allow you to review the changes before the code is updated. They allow you to select the options you want without actually updating the source.

Artistic Style for Windows is an Artistic Style GUI program for Windows. It uses an unmodified Artistic Style program in a Windows GUI. It will work under Linux using WINE. Everything done in the editor is undo-able, including formatting of the entire document. Documents can be reviewed and reformatted using different options. It can be executed from most development environments and will open the currently selected document.

Universal Indent Gui is a cross platform GUI that supports several code formatters. The main feature is a live preview to show how the selected formatting options affect the source code. This allows review and testing of the various options before formatting a file. It can be used with a sample file or with your actual source code. It is a good way to try out the options from various indentation programs. This program is not always kept up to date. Be sure to check the AStyle release before relying on the results.

Development Environments

The following development environments use Artistic Style as a contributed add-on. It is either embedded in the application or called as a command line program.

CodeBlocks is a multi-platform, open source, C++ development environment based on wxWidgets. It has support for multiple compilers and plug-ins for wxWidgets development.

CodeLite is an open source, cross platform development environment for C++. It has support for wxWidgets and includes a class generator and a unit test program generator. Code completion is based on Ctags.

KDevelop is a multi-platform, integrated development environment for building KDE applications. It supports many programming languages and can be used to develop applications other than KDE.

Monkey Studio is a cross platform IDE written in C++/Qt 4. Its primary goal was to be a Qt4 only IDE, but it evolved into a way to support Qt development and any kind of project.

QDevelop is a free cross-platform development environment entirely dedicated to Qt4. Artistic Style is available as a plug-in on the Download page.

tIDE is a full featured open source Java integrated development environment. It is a small, powerful, quick, efficient, easy and open framework to create 100% Java applications.

Other Programs

The command line build of Artistic Style can be added to nearly any text editor, usually through a Tools menu. The text editor should have instructions on how this is done. If you have a favorite editor that does not have it, you can usually add it yourself.

Highlight converts source code to formatted text with syntax highlighting. Output is in several formats including HTML. It supports over 150 programming languages and includes 40 color themes. Highlight is used for the examples in the "Developer Information" section.

SciTE is a Scintilla based source code editor. Originally built to demonstrate Scintilla, it has grown to be a generally useful editor with facilities for building and running programs. It is currently available for Windows, Linux, and Mac OS X operating systems. The Linux and Mac versions are based on GTK+.

 

[SourceForge.net]