Source code prettifier plugin for Geany.
- Prettifies source code files with the following extensions :
- PHP : php.
- HTML : html, htm, xml, twig.
- CSS : css, less, pepss, sass, scss, styl.
- JavaScript : js, json.
- C : c, h.
- C++ : cxx, hxx, cpp, hpp.
- D : d.
Install the Prettify command line tool.
Build the plugin with the following command lines :
sudo apt update
sudo apt install geany geany-common geany-plugins geany-plugins-common libgtk-3-dev intltool
gcc -O3 -c geany_prettify.c -fPIC `pkg-config --cflags geany`
gcc -O3 geany_prettify.o -o geany_prettify.so -shared `pkg-config --libs geany`
Set the plugin folder path in Geany's startup preferences.
Enable the plugin.
Set the Prettify path in the plugin preferences.
Use the Prettify option in the Tool menu.
1.0
Eric Pelzer ([email protected]).
This project is licensed under the GNU General Public License version 3.
See the LICENSE.md file for details.