Home | Project | Screenshots | Download | Forums | Feature Requests | Bugs

About Astyle Eclipse

Astyle Eclipse is based on Astyle program, it aims to provide a C/C++ formatter for CDT plugin in eclipse. so all the supported format optional shall check astyle

The project started as a fork from example indent plugin in CDT plugin and get the java ported astyle source codes from astyle-plugin for jedit, then the astyleclipse comes out

The application is available as a plugin for Eclipse 3.2.

the webpage style is copied from Eclipse SQL Exployer

If you like, please Rate this plugin @ Eclipse Plugin Center, and leave your comments

Installation Instructions

Eclipse Plugin


Download the Astyle Eclipse plugin and extract the zip file in your eclipse directory.
After restarting eclipse with the -clean option, select Astyle Plugin in C/C++ format.

Eclipse Update Site

You can install and update Astyle Eclipse via the eclipse update mechanism. The update site for Astyle Eclipse is http://astyleclipse.sourceforge.net/update, (support eclipse3.2+)

Getting started

In Preference choose Astyle Plugin in C++ Code Formatter, then right click in editor and choose Format to use.
see screenshots for what the preference page looks like



  • it is planned to release 1.1.0 (Mud) (astyle engine 1.19) in 2006.10.23 [Paused]
    "request if you needs?" check project tasks
  • release 0.9.0 (based on 1.0.100) for eclipse 3.1 in 2006.10.13. [Passed]
  • release 1.0.0 in 2006.09.23, see release news [Passed]


2006.10.20 [error] - version 1.0.101 bug fix - remove JDK5.0 specific codes to support jdk1.4, but it doesn't work
2006.10.14 - version 0.9.0 new - supports eclipse 3.1
2006.10.04 - version 1.0.100 bug fix - update preview fonts to support mac os
2006.10.01 - version 1.0.5 improve - support preview and more options


For astyleclipse 1.0.x versions: Eclipse 3.2
For astyleclipse 0.9.x versions: Eclipse 3.1.x or Eclipse 3.2
JDK 1.4 or JDK 1.5

I don't want to maintain two lines, it is only because the Eclipse-LazyStart/Eclipse-AutoStart in MANIFEST.MF for different eclipse, do you have good suggestion ?


  • Big thanks to the astyle project of creating nice Artistic style format tool
  • thanks to Dirk Moebius who ported astyle 1.14.1 to java version
  • thanks to SourceForge for giving Artistic Style its home
  • thanks to Eclipse.org for giving this excellent platform
  • thanks to cenqua who provide free license of clover, which is a plugin to take care of the quality of my codes
  • thanks to the first user (Jimmy) who bring me quick feedback, which give me energy
  • Patrick drives me to support jdk1.4 under eclipse 3.2
  • thanks to everyone who visited this webpage, bb