EditorConfig Plugin for Geany
This is an EditorConfig plugin for Geany.
Installation
Install From source
Install the EditorConfig C Core. If you are using Debian/Ubuntu, you can install it by running the following command:
apt-get install libeditorconfig-devYou also need to intall geany and GTK 2.0 development files. This could be done by executing the following command if you are using Debian/Ubuntu:
apt-get install libgtk2.0-dev intltool geanyDownload EditorConfig plugin for Geany source tree, and you will find a
Makefilein the root. Executemaketo compile this plugin. Note that if the prefix of EditorConfig on your system is not/usr/local, you need to specify theEDITORCONFIG_PREFIXwhen executing make. For example, your EditorConfig prefix is/usr, then you should execute:make EDITORCONFIG_PREFIX=/usrOnce the compilation succeeds, there will be an
editorconfig-geany.soin the root of the source tree. Copy this file to${geany_prefix}/lib/geany. But sometimes the path may be a little bit tricky on some systems. For these cases, the path can usually be obtained byecho $(pkg-config --variable=libdir geany)/geanyifpkg-configis present in your system.Run Geany, click on the
Toolsmenu, and choose thePlugin Managermenu item. In the Plugin Manager Dialog, check the plugin namedEditorConfig. Click on theOKbutton. Now you are ready to use this plugin.
Install From Binary
There is no prebuilt binary package currently.
Supported Properties
The EditorConfig Geany plugin supports the following EditorConfig properties:
- indent_style
- indent_size
- tab_width
- end_of_line
- root (only used by EditorConfig core)