Skip to content

Commit eb5ae22

Browse files
committed
[New] External Tools: Launch system tools, like terminal or file manager
This plugin serves to quickly launch external tools in the context of the current document, i.e. in the same directory, or with focus on the file. The current implementation includes a Terminal and a File Manager. The commands to execute are configurable in the Plugin preferences. The tools may be launched from the Tools menu, or via keybinds. The code is modular to support easy addition of extra tools, though in the feature it would be really nice to support such additions directly in the preferences without code modification.
1 parent a8f26ab commit eb5ae22

File tree

14 files changed

+864
-0
lines changed

14 files changed

+864
-0
lines changed

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,13 @@ M: Pavel Roschin <rpg89(at)post(dot)ru>
6161
W: http://plugins.geany.org/defineformat.html
6262
S: Maintained
6363

64+
externaltools
65+
P: George Katevenis <george_kate(at)hotmail(dot)com>
66+
g: @gkatev
67+
M: George Katevenis <george_kate(at)hotmail(dot)com>
68+
W: http://plugins.geany.org/externaltools.html
69+
S: Maintained
70+
6471
geanyctags
6572
P: Jiří Techet <[email protected]>
6673
g: @techee

Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ if ENABLE_DEFINEFORMAT
3737
SUBDIRS += defineformat
3838
endif
3939

40+
if ENABLE_EXTERNALTOOLS
41+
SUBDIRS += externaltools
42+
endif
43+
4044
if ENABLE_GEANYCTAGS
4145
SUBDIRS += geanyctags
4246
endif

README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Available plugins are:
5353
* ``commander`` -- the Commander plugin
5454
* ``debugger`` -- the Debugger plugin
5555
* ``defineformat`` -- the Defineformat plugin
56+
* ``externaltools`` -- the ExternalTools plugin
5657
* ``geanyctags`` -- the GeanyCtags plugin
5758
* ``geanydoc`` -- the GeanyDoc plugin
5859
* ``geanyextrasel`` -- the GeanyExtraSel plugin

build/externaltools.m4

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AC_DEFUN([GP_CHECK_EXTERNALTOOLS],
2+
[
3+
GP_ARG_DISABLE([ExternalTools], [auto])
4+
GP_COMMIT_PLUGIN_STATUS([ExternalTools])
5+
AC_CONFIG_FILES([
6+
externaltools/Makefile
7+
externaltools/src/Makefile
8+
])
9+
])

configure.ac

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ GP_CHECK_CODENAV
3737
GP_CHECK_COMMANDER
3838
GP_CHECK_DEBUGGER
3939
GP_CHECK_DEFINEFORMAT
40+
GP_CHECK_EXTERNALTOOLS
4041
GP_CHECK_GEANYCTAGS
4142
GP_CHECK_GEANYDOC
4243
GP_CHECK_GEANYEXTRASEL

externaltools/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
George Katevenis <george_kate(at)hotmail(dot)com>

externaltools/COPYING

Lines changed: 340 additions & 0 deletions
Large diffs are not rendered by default.

externaltools/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2024-04-14 Version 0.1
2+
3+
* Initial plugin release, with support for
4+
'Open Terminal' and 'Open Directory'.

externaltools/Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include $(top_srcdir)/build/vars.auxfiles.mk
2+
3+
SUBDIRS = src
4+
plugin = externaltools

externaltools/NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
See "ChangeLog"

0 commit comments

Comments
 (0)