[Github-comments] [geany/geany] Custom Build Menu for all projects (#1975)

Geoff notifications at xxxxx
Sat Oct 13 12:11:25 UTC 2018


**Problem**
Whenever I create a new project, the `Set Build Commands` dialogue is populated with the standard Geany build commands. For example `Compile: g++ -Wall -c "%f"`.

All my projects use the same build tools, which are more elaborate than the standard ones. I use explicit `make` commands for compiling single files as well as building the entire project.  Configuring the dialogue in exactly the same way for each new project is time-consuming.  

**Geany manual**
The [Build menu configuration]( https://www.geany.org/manual/current/index.html#id154) section in the manual seems to suggest that by placing a `[build-menu]` section in` filetypes.cpp`, then custom entries for the `Set Build Commands` dialogue can be configured to be the same for all new projects. However, this does not happen.

**My Current Workaround**
I have made a template for the `[build-menu]` section.  When I create a new project, I copy the` [build-menu]` section to the `newproject.geany` file.

**Request**
It would be convenient if there was a way to use a template to populate the build commands dialogue  at the point of project creation. 

**My System**
```
~$ geany -V
geany 1.29 (built on 2016-11-16 with GTK 2.24.31, GLib 2.50.2)

~$ uname -a
Linux debian-deskside 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u5 (2018-09-30) x86_64 GNU/
```


-- 
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/issues/1975
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20181013/32c574fb/attachment.html>


More information about the Github-comments mailing list