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.


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


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).


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

Clone this wiki locally