Our plugin AStylePlugin_x.x.x is intended to enable using the Artistic Style formatter under Eclipse.
This is done by using Artistic Style (also known as astyle) by Tal Davidson (davidsont@bigfoot.com).
See http://sourceforge.net/projects/astyle for more information.
The version currently used is Artistic Style 1.15.3.
Artistic Style is already contained in this plugin. There is no need to download it separately!
To install this plugin:
1) Exit Eclipse, if it is running
2) Unzip the contents of the file AStylePlugin_x.x.x.zip to the directory TIGERC_HOME/eclipse
3) Restart Eclipse. To make sure it picks up the new plugin(s), you need to start Eclipse with an
argument of '-clean'; this tells Eclipse to flush its plugin cache and load everything fresh this time.
After restarting you should re-configure Eclipse.
1) Open the window "Preferences" (Window->Preferences).

2) In window "Preferences" double-click on the "C/C++".

3) In the popup menu select "Code Formatter".

4) In the window "Code Formatter", in the combo box "Formatters" select "AStyle".
5) Click on the button "Apply" and then on the button "Ok".

To format source code in the text editor click on the right mouse button and in the context menu select the item "Format" or use the buttons combination "Ctrl+Shift+F".
