Skip to content
lukamicoder edited this page Aug 23, 2014 · 3 revisions

Setup

Go to Tools -> Options -> AStyle Formatter -> General.

Click on the Settings button of the language you want to set up.

![](http://astyle-extension.googlecode.com/svn/wiki/Options.png)

For help with the available options please refer to the Artistic Style documentation at http://astyle.sourceforge.net/astyle.html.

![](http://astyle-extension.googlecode.com/svn/wiki/Preview.png)

Usage

To format the entire active C or C# page, click on Edit -> Advanced -> Format Document (AStyle).
To format a section of the active C or C# page, highlight the section and then click on Edit -> Advanced -> Format Selection (AStyle).

![](http://astyle-extension.googlecode.com/svn/wiki/Menu.png)

You can also assign keyboard shortcuts to these commands at Tools -> Options -> Environment -> Keyboard.

Clone this wiki locally