Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.18 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.18 KB

Geany Prettify

Source code prettifier plugin for Geany.

Features

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

Installation

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.

Usage

Use the Prettify option in the Tool menu.

Version

1.0

Author

Eric Pelzer (ecstatic.coder@gmail.com).

License

This project is licensed under the GNU General Public License version 3.

See the LICENSE.md file for details.