|Adrian Malacoda d79c8c0838 define GEANY_PRIVATE to try to get access to geany internals (no idea if this will work but it gets rid of implicit declaration warnings at least)||2 months ago|
|COPYING||5 years ago|
|Makefile||2 months ago|
|README.md||5 years ago|
|dialog.c||5 years ago|
|external-tools.c||2 months ago|
|guix.scm||2 months ago|
|output.c||5 years ago|
|panel.c||5 years ago|
|table.c||5 years ago|
|tool.c||5 years ago|
|tool.h||5 years ago|
This is a plugin that allows you to define commands or scripts, which can be added to the menu and/or bound to keyboard shortcuts. It is similar to the External Tools plugin for gedit.
Install the build dependencies for
sudo apt-get build-dep geany geany-plugins
Then build and install the plugin. Do not use
sudo for this.
make && make install
If Geany is already running, restart it.
The following flags modify the behavior or discoverability of the tool:
This option controls where the tool sends its output:
Tools have the following environment variables available to them:
GEANY_PROJECT_DIRECTORY: Root directory of currently open project, as defined in project configuration.
GEANY_SELECTION: The currently selected text.
GEANY_FILE_TYPE_NAME: Name of the active document’s type, e.g. “Markdown” or “Python”
GEANY_FILE_PATH: Path to current file.
GEANY_SELECTED_LINE: The line that the editor cursor is on.
GEANY_LINE_NUMBER: The line number of the line under the editor cursor.
GEANY_FILE_MIME_TYPE: MIME type of active document, e.g. “text/x-markdown” or “text/x-python”
The original author of this plugin is Steven Blatnick email@example.com.