4

In geany text editor we can add our custom commands under BUILD menu.

For example, to reformat the c-program source codes i did this:

Build > Set Build Commands > Independent command

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

Now, my question is can how to add more independent build commands? There are only four labels and 3 of which are already occupied, I also read the manuals of geany text editor, but it didn't help.

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

BhishanPoudel
  • 15,974
  • 21
  • 108
  • 169

1 Answers1

3

You can add more by adjusting

number_ft_menu_items=0
number_non_ft_menu_items=0
number_exec_menu_items=0

The default is 0 = default settings = 4 for number_non_ft_menu_items. You can set these via config file (don't open it with Geany as it will be overwritten during close down) or Edit -> Preferences -> Various. Please check manual for details.

frlan
  • 6,950
  • 3
  • 31
  • 72