I am trying to turn off syntax highlighting in Geany.
I tried commenting this out in
As a temporary fix, I changed file extension of files such as scripts to
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
The default syntax highlighting colours are defined in /usr/share/geany/filedefs/filetypes.common in the section named
You can edit/remove one or more but while some are intuitive as colors like
there are some that are a bit weird, like
and I have no idea what they really mean. So it's a case of trial and error, but you can get to a simple white on black theme eventually by removing them.
If you just wanted to disable syntax highlighting for certain file types, there is a mechanism which allows you to overwrite the themes for each file type, but it's tedious. The individual file type configuration files are in the same directory.
But for your purpose, you just want to hack the [named_styles] section in the common conf file which will nuke syntax highlighting in all file types.
EDIT: The other method suggested to you, i.e. removing the file extension from Menu->tools->configuration files->filetype_extensions.conf will have the effect of removing all functionality the ide provides for those file types, while the method I suggested directly affects only the syntax highlighting. But it's up to you which method you adopt, depending on your ultimate goal is.
Rather than renaming your
.sh scripts with an
.txt extension there is a more conventional way to remove syntax highlighting:
Menu->tools->configuration files->filetype_extensions.conf and remove the