- Notifications
You must be signed in to change notification settings - Fork12
EditorConfig plugin for Geany
License
editorconfig/editorconfig-geany
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is anEditorConfig plugin forGeany.
Install theEditorConfig C Core. For example, if you are using Debian/Ubuntu, you caninstall it by running the following command:
apt-get install libeditorconfig-dev
You also need to install geany and GTK development files (GTK2 or GTK3 depending on your system).For example, this can be done by executing the following command if you areusing Debian/Ubuntu:
apt-get install libgtk2.0-dev libgtk-3-dev intltool geany
Download EditorConfig plugin for Geany source tree, and you will find a
Makefile
in the root. Executemake
to compile this plugin. Note that ifthe prefix of EditorConfig on your system is not/usr/local
, you need tospecify theEDITORCONFIG_PREFIX
when executing make. For example, yourEditorConfig prefix is/usr
, then you should execute:make EDITORCONFIG_PREFIX=/usr
If you get error messages about missing include files, you'll needto preface the
make
command above with the PKG_CONFIG_PATHvariable and set it to the path togeany.pc
. For example, if it'slocated in $HOME/.local/lib/pkgconfig:PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig make EDITORCONFIG_PREFIX=/usr
Once the compilation succeeds, there will be an
editorconfig-geany.so
inthe 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. Forthese cases, the path can usually be obtained byecho $(pkg-config --variable=libdir geany)/geany
ifpkg-config
ispresent in your system.Run Geany, click on the
Tools
menu, and choose thePlugin Manager
menuitem. In the Plugin Manager Dialog, check the plugin namedEditorConfig
.Click on theOK
button. Now you are ready to use this plugin.
Requirements for building the package are a GTK3 Version of Geany >= 1.32.This should work on all Debian like operating systems that meet therequirements in the control file. Further you require
build-essential
andfakeroot
orpbuilder
depending on how to build the package.Build with dpkg-buildpackage:Run
dpkg-buildpackage -rfakeroot -uc -us
to build inside sources.Alternatively build with pbuilder:Rundpkg-source -b DIRECTORYNAME
on the directory where the source treeroot resides. This builds the source package, especially the dsc file.Runsudo pbuilder --build editorconfig-geany_1.dsc
to build. Theresulting package lies in /var/cache/pbuilder/result .Install resulting debian package(s) with
dpkg
orgdebi
.
There is no prebuilt binary package currently.
The EditorConfig Geany plugin supports the following EditorConfigproperties:
- indent_style
- indent_size
- tab_width
- end_of_line
- insert_final_newline (
insert_final_newline = false
is effective only if "Ensure new line at file end" is turned off in Geany preferences) - root (only used by EditorConfig core)
About
EditorConfig plugin for Geany
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.