Install build commands) In the geany text edit...">

How to add more than 4 built-in "independent commands" to a Geany text editor? (inside assembly> Install build commands)

In the geany text editor, we can add our custom commands to the BUILD menu.

For example, to reformat the source code for c-programs, I did the following:

Build> Install Build Commands> Independent Team

Label = Reformat C code  
Command = astyle -A1 -Y %f  
Working directory = %d 

Now, my question is how to add several independent build commands? There are only four shortcuts and 3 of which are already taken, I also read the geany text editor guides, but that didn't help.

Any suggestions would be greatly appreciated!
Some useful links: http://www.geany.org/manual/current/#set-build-commands
http://wiki.geany.org/howtos/configurebuildmenu

+4
source share
1 answer

You can add more by adjusting

number_ft_menu_items=0
number_non_ft_menu_items=0
number_exec_menu_items=0

Default 0 = default values ​​= 4 for number_non_ft_menu_items. You can install them through the configuration file (do not open it with Geany, as it will be overwritten during closing) or Edit → Preferences → Various. See manual for more details .

+3
source

Source: https://habr.com/ru/post/1628595/


All Articles