Skip to content

Commit

Permalink
[New] External Tools: Launch system tools, like terminal or file manager
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gkatev committed Nov 27, 2024
1 parent 8298a23 commit 8df0a34
Show file tree
Hide file tree
Showing 13 changed files with 816 additions and 0 deletions.
7 changes: 7 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,13 @@ M: Pavel Roschin <rpg89(at)post(dot)ru>
W: http://plugins.geany.org/defineformat.html
S: Maintained

externaltools
P: George Katevenis <george_kate(at)hotmail(dot)com>
g: @gkatev
M: George Katevenis <george_kate(at)hotmail(dot)com>
W: http://plugins.geany.org/externaltools.html
S: Maintained

geanyctags
P: Jiří Techet <[email protected]>
g: @techee
Expand Down
4 changes: 4 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ if ENABLE_DEFINEFORMAT
SUBDIRS += defineformat
endif

if ENABLE_EXTERNALTOOLS
SUBDIRS += externaltools
endif

if ENABLE_GEANYCTAGS
SUBDIRS += geanyctags
endif
Expand Down
9 changes: 9 additions & 0 deletions build/externaltools.m4
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
AC_DEFUN([GP_CHECK_EXTERNALTOOLS],
[
GP_ARG_DISABLE([ExternalTools], [auto])
GP_COMMIT_PLUGIN_STATUS([ExternalTools])
AC_CONFIG_FILES([
externaltools/Makefile
externaltools/src/Makefile
])
])
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ GP_CHECK_CODENAV
GP_CHECK_COMMANDER
GP_CHECK_DEBUGGER
GP_CHECK_DEFINEFORMAT
GP_CHECK_EXTERNALTOOLS
GP_CHECK_GEANYCTAGS
GP_CHECK_GEANYDOC
GP_CHECK_GEANYEXTRASEL
Expand Down
1 change: 1 addition & 0 deletions externaltools/AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
George Katevenis <george_kate(at)hotmail(dot)com>
340 changes: 340 additions & 0 deletions externaltools/COPYING

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions externaltools/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

4 changes: 4 additions & 0 deletions externaltools/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include $(top_srcdir)/build/vars.auxfiles.mk

SUBDIRS = src
plugin = externaltools
1 change: 1 addition & 0 deletions externaltools/NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
See "ChangeLog"
7 changes: 7 additions & 0 deletions externaltools/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
External Tools
==============

.. contents::

About
=====
11 changes: 11 additions & 0 deletions externaltools/src/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include $(top_srcdir)/build/vars.build.mk
plugin = externaltools

geanyplugins_LTLIBRARIES = externaltools.la

externaltools_la_SOURCES = externaltools.c

externaltools_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"ExternalTools\"
externaltools_la_LIBADD = $(COMMONLIBS)

include $(top_srcdir)/build/cppcheck.mk
Loading

0 comments on commit 8df0a34

Please sign in to comment.