# Artistic Style Links

### Programs Using Artistic Style

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.

Some of the programs are using old versions of Artistic Style. Be sure to check the AStyle version before using.

Atom is a free and open-source text and source code editor for OS X, Linux, and Windows. Artistic Style can be added as a plug-in. Search for formatter-astyle and follow the instructions.

Dev-Cpp is a new and improved fork of the original Bloodshed Dev-C++. It is a free IDE for programming in C and C++. It is bundled with, and uses, the MinGW or TDM-GCC port of the GCC as its compiler. It is currently Windows only. The Artistic Style interface includes a live Preview window.

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, free, cross platform IDE specialized in C, C++, PHP and JavaScript. It supports all major compilers. There is support for wxWidgets and includes a class generator and a unit test program generator. Code completion is based on Ctags. Also available at this site is wxCrafter, a RAD tool for development of wxWidgets based applications.

jEdit is a programmer's text editor written in Java that runs on any operating system with Java support. A large collection of plug-ins is maintained by a world-wide developer team. AStyle is available as a formatter plug-in.

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. Its primary goal was to be a Qt only IDE, but it evolved into a way to support Qt development and any kind of project.

Qt Creator is a cross-platform integrated development environment tailored to the needs of Qt developers. Artistic Style is available as a beautifier plug-in. It can format source code within the editor or format an entire project. There is a help display available to show the effect of each option.

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 operating systems. The Linux and Mac versions are based on GTK+.

Sublime Text is a is a sophisticated text editor for code, markup and prose that includes Artistic Style as a plug-in. Nearly everything in Sublime Text is customizable with simple JSON files. The plug-ins are Python based. Sublime Text is available for Mac OS, Windows and Linux.

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

UltraEdit is a commercial programmer's text editor for Microsoft Windows, Linux and Mac OS. It can be evaluated for free for 30 days. Artistic Style is included in the Tools Toolbar. It includes an options dialog. The number of indent spaces is passed to Artistic Style is based on the Indent Spaces value defined under Word Wrap/Tab Settings in Configuration based on the file extension of the active file.

Visual Studio, AVR Studio and Atmel Studio are integrated development environments that use AStyle Extension. This is an extension written in C# that formats C/C++ and C# source code using Artistic Style. It can be installed in Visual Studio using the "Tools" > "Extensions and Updates" menu. Search the "Online" entry for "astyle". The source code is available on GitHub.

Visual Studio Code is a programmer's code editor from Microsoft. It has an AStyle Extension that will format source code using Artistic Style. It can be installed from the Extensions panel in VS Code by searching for "astyle". Or it can be downloaded and installed from the Visual Studio Marketplace. Select the "Visual Studio Code" tab and search for "astyle". It adds entries to the default settings file which must be updated in the user settings file.

WinMerge 2011 is a fork of the original WinMerge application published on SourceForge by Thingamahoochie Software. It is a free software tool for data comparison and merging of files. It is useful for determining what has changed between files and merging changes between versions. The ATL/MFC dependencies have been removed and some useful features have been added. It uses Artistic Style to format the source code.

### 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 Wx is a GUI test program using wxWidgets. It uses an unmodified Artistic Style program in a multi-platform environment. Everything done in the editor is undo-able, including formatting of the entire document. Documents can be reviewed and reformatted using different options. A preview window shows the effect of each option. The downloads contain source code, documentation, and an executable for the Windows version.

### Other Programs

These programs were mentioned in previous versions of the News or other documentation. They are included here for reference.

Google Test and Google Mock are frameworks for writing C++ tests on a variety of platforms. Based on the xUnit architecture, it supports automatic test discovery, a rich set of assertions, user-defined assertions, death tests, fatal and non-fatal failures, value- and type-parameterized tests, various options for running the tests, and XML test report generation. Google Mock is a library for writing and using C++ mock methods.

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

Python Tools for Visual Studio is a free, open source plug-in that turns Visual Studio into a Python IDE. It can be switched between Python versions or different Python interpreters. It uses the Visual Studio integrated debugger that enables you to set break points, step through functions, change the current statement, inspect local variables, and perform other operations while debugging.

whatstyle finds a code format style that fits given source files. The program looks at your source code and generates a style definition that fits its original formatting as closely as possible. Several formatters and several programming languages are supported.

### Information

The following links contain general information on coding and coding styles.

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.

### Style Guides

Chromium style guide generally follows the Google Style Guide but has extensions beyond the Google style guide. There is interesting information on common C++ Do's and Don'ts.

Google style guides have Google's standards for several programming languages along with a python program to verify the style and an Emacs script for using the style.

Kdelibs Coding Style describes the recommended coding style for kdelibs. It follows the Qt 4 coding style, with one main difference.

LLVM coding standards describe a few coding standards that are being used in the LLVM source tree.

Mozilla’s style guide explains the basic styles and patterns that are used in the Mozilla codebase.

Qt Coding Style is an overview of the coding conventions used when writing Qt code.

### Other Links

These links were mentioned in previous versions of the News. They are included here for reference.

Install Instructions for .NET Framework SDK are instructions for adding x64 platforms to Visual Studio Express 2010. Express editions after 2010 have the x64 platforms already installed. Visual Studio 2010 is the last edition that will work on Windows XP (platform toolset v100). Visual Studio 2012 (platform toolset v110) and higher contains dependencies on Windows API functions that exist only on Windows Vista, Windows 7, and Windows 8. This means that applications built with Visual Studio 2012 and higher would fail to load and execute on Windows XP.