[Geany-Devel] Shell Script Highlighting

Devyn Collier Johnson devyncjohnson at xxxxx
Tue Nov 3 15:56:48 UTC 2015


Geany Dev Team:

When viewing shell script code, some commonly used shell commands are 
not highlighted (such as "sudo"). True, numerous commands are not part 
of the core scripting language, but it seems to me that such commands 
should be highlighted.

Some additional examples of commands that I personally think should be 
highlighted include

- chmod
- chown
- echo
- rm
- mkdir
- dpkg
- apt-get
- and many other core-utils and package-management commands

What do you all think about this? Are their any objections to me adding 
such commands to be highlighted? Is there a proper way to make 
non-standard/non-official shell commands get highlighted by Geany?

Does the [keywords] section of ./data/filetypes.* files support a 
"secondary=" category? If so, perhaps such commands could be listed in 
"secondary=".

-- 
Thanks,
Devyn Collier Johnson
DevynCJohnson at Gmail.com



More information about the Devel mailing list