Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

EditorConfig plugin for Geany

License

NotificationsYou must be signed in to change notification settings

editorconfig/editorconfig-geany

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is anEditorConfig plugin forGeany.

Installation

Install From source

  1. 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
  2. Download EditorConfig plugin for Geany source tree, and you will find aMakefile 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 themake 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
  3. Once the compilation succeeds, there will be aneditorconfig-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.

  4. Run Geany, click on theTools 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.

Build Debian/Ubuntu/etc. package from source

  1. 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 requirebuild-essentialandfakeroot orpbuilder depending on how to build the package.

  2. Build with dpkg-buildpackage:Rundpkg-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 .

  3. Install resulting debian package(s) withdpkg orgdebi.

Install From Binary

There is no prebuilt binary package currently.

Supported Properties

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

Stars

Watchers

Forks

Packages

No packages published

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp