An open API service indexing awesome lists of open source software.

https://github.com/senselogic/geany_prettify

Source code prettifier plugin for Geany.
https://github.com/senselogic/geany_prettify

beautifier c code cpp css d formatter geany html js php plugin prettifier source

Last synced: 3 months ago
JSON representation

Source code prettifier plugin for Geany.

Awesome Lists containing this project

README

          

![](https://github.com/senselogic/GEANY_PRETTIFY/blob/master/LOGO/geany_prettify.png)

# 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](https://github.com/senselogic/GEANY_PRETTIFY) command line tool.

Build the plugin with the following command lines :

```bash
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](LICENSE.md) file for details.