Hi folks
First, thanks to the developers and community for Geany - amazing editor!
I am in need of some help with customizing Geany. I have a set of words that I want available when I am typing text files. So I read the documentation and created a
#############
Modified the [filetype_extensions.conf ] as below:
[Extensions]
...
txt=*.txt;
[Groups]
...
Misc=JSON;txt;
########### - copied the /usr/share/geany/filetypes.css to the file below and modified.
~/.config/geany$ more filedefs/filetypes.txt.conf
# For complete documentation of this file, please see Geany's main documentation
[styling]
# Edit these in the colorscheme .conf file instead
default=default
.....
[keywords]
[settings]
# default extension used when saving files
extension=txt
# MIME type
mime_type=text/plain
[indentation]
###############
~/.config/geany$ more tags/txt.txt.tags
# format=pipe
alpha|||
omega|||
gamma|||
beta|||
When I start geany from command line as geany -v this is what i see:
Geany-INFO: Geany 1.27, en_US.UTF-8
Geany-INFO: GTK 2.24.30, GLib 2.48.1
Geany-INFO: System data dir: /usr/share/geany
Geany-INFO: User config dir: /home/myuser/.config/geany
Geany-INFO: Added filetype txt (68).
Geany-INFO: Loaded: /usr/lib/x86_64-linux-gnu/geany/saveactions.so (Save Actions)
Geany-INFO: Loaded /home/myuser/.config/geany/tags/txt.txt.tags (txt), 342 symbol(s).
Geany-INFO: /home/myuser/Documents/mydocs/notes1.txt : txt (UTF-8)
Geany-INFO: /home/myuser/Documents/mydocs/notes2.txt : txt (UTF-8)
As can be seen filetype txt is accepted, txt.txt.tags is loaded. However it seems to be loaded for file type (txt) where as my text files come up as txt (UTF-8). Needless to say my tags from autocompletion don't show up. However when I tried to set the file type to php manually and saved the tag file as php.php.tags it worked. The same with setting manual type of "txt" and loading txt.txt.tags does not work!
Any help/guidance is greatly appreciated.
Thanks