[Github-comments] [geany/geany] Build: Separate geany.conf/project non-filetype execute commands from FT execute (#2307)

Nick Treleaven notifications at xxxxx
Thu Sep 19 13:46:45 UTC 2019


Depends on #2301, that should be merged first. (Could be worked around if necessary).

Currently the user can manually edit `geany.conf` or the project `.conf` to add filetype-independent execute commands which silently override the filetype execute ones. It's not really explained in the manual (but Lex says it's in the Wiki page), my guess is it's not used much.

This creates a new group of build commands - independent execute commands. These appear in the build menu after the filetype execute commands.
This is more flexible for the user and allows for adding GUI configurability to the 'Set Build Commands' dialog (which I can do in another pull).
This adds a keybinding for the first filetype-independent execute command, which defaults to Shift+F5.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2307

-- Commit Summary --

  * build.c: Replace return_cmd_if macros with simpler BREAK_IF_CMD macro
  * Replace unhygienic macro calls with array of struct
  * Begin separating filetype-independent execute commands from FT execute
  * Replace run_info with run_pids
  * load & save independent exec group instead of ft exec
  * Make build_run_cmd support independent execute & add keybinding
  * Show independent run menu items

-- File Changes --

    M TODO (1)
    M src/build.c (232)
    M src/build.h (2)
    M src/keybindings.c (2)
    M src/keybindings.h (5)

-- Patch Links --

https://github.com/geany/geany/pull/2307.patch
https://github.com/geany/geany/pull/2307.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2307
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190919/d6550aec/attachment-0001.html>


More information about the Github-comments mailing list