THIS EXTENSION IS NOT IN ACTIVE DEVELOPMENT
I'm not mantaining this extension anymore, please feel free to fork if you think it's still useful.
An Atom Formatter provider built for Artistic Style (astyle).
by default will look for a .astylerc configuration file in the project root folder.
If any configuration is set the default load of the file is disabled and a file can be loaded in the 'options file' section.
Before installing anything for Atom, install Artistic Style.
Important to Windows users
In Windows, you should make sure that
astyle.exe is visible to
formatter-astyle, so that
formatter-astyle can execute
astyle.exe to actually format the code.
You have two ways to do that.
The first way: Set the path of
astyleyou downloaded in the Settings page of
The second way: Copy
astyle.exeinto a folder that is included in the
You may want to create a new folder and add it to the
Pathenvironment variable, then copy
astyle.exeinto it. Click here for more infomation about how to add a folder to the
In your terminal:
apm install formatter apm install formatter-astyle
In Atom, install
formatter-astyle from your settings view.
Depends on astyle 2.04, there is a bug in text pipe in earlier versions
This package is a fork of formatter-clang-format, all credits to him, I just wanted to run astyle. ;-)