There must be something else wrong.
If I use the tags file and the custom filetype you provided here, I can
successfully load the tags:
13:29:31.561147: Geany INFO : Loaded /tmp/test.txt.tags (txt), 2
symbol(s).
Maybe the whole output of Help->Debug Messages could give a hint.
Regards,
Enrico
On 14.10.21 22:48, Rue Sixteen wrote:
That is interesting.
Below is $USER/.config/geany/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
comment=comment
tag=tag
class=class
pseudoclass=string_1
unknown_pseudoclass=default
unknown_identifier=default
operator=operator
identifier=keyword_2
doublestring=string_1
singlestring=string_2
attribute=attribute
value=value
id=class
identifier2=keyword_2
variable=identifier_1
important=error
directive=preprocessor
identifier3=keyword_1
pseudoelement=string_2
extended_identifier=keyword_1
extended_pseudoclass=string_1
extended_pseudoelement=string_2
media=parameter
[keywords]
[settings]
# default extension used when saving files
extension=txt
tag_parser=COBOL
# MIME type
mime_type=text/plain
[indentation]
Thanks
On Thu, Oct 14, 2021 at 3:31 PM Enrico Tröger <enrico.troe...@uvena.de
<mailto:enrico.troe...@uvena.de>> wrote:
I've created a custom filetype named "txt" and saved your posted tags
file and then I could load it successfully.
So, I assume there is something wrong with your configuration.
Could you post your filetype configuration for "txt"?
Regards,
Enrico
On 14.10.21 22:09, Rue Sixteen wrote:
> Hi Enrico
>
> I do. When I go to the tab I was hoping to get the tags to
autocomplete,
> Document > Set FileType shows txt checked.
>
> Thanks
>
> On Thu, Oct 14, 2021 at 3:02 PM Enrico Tröger
<enrico.troe...@uvena.de <mailto:enrico.troe...@uvena.de>
> <mailto:enrico.troe...@uvena.de
<mailto:enrico.troe...@uvena.de>>> wrote:
>
> Hi Rue,
>
> > I recently had to reinstall after an SSD death. However
geany is not
> > accepting my tag files. These are the same ones I used for
a long
> time
> > before. They are in pipe format. I tried loading them from
Tools
> > Load
> > Tags.
> > In the status bar below, it says "Could not load tags file
> .....". In
> > the debug message it says "Unknown filetype for file ..."
> >
> > I created a simple file and called it simple.txt.tags and
it has the
>
> do you have any filetype configured with the extensions ".txt"?
> The filename part before ".tags", in your case "txt" need to
match a
> known filetype for Geany. This filetype is used to load the
tags for as
> tags are always bound to filetypes.
>
>
> Regards,
> Enrico
>
> --
> Get my GPG key from https://www.uvena.de/pub.asc
<https://www.uvena.de/pub.asc>
> <https://www.uvena.de/pub.asc <https://www.uvena.de/pub.asc>>
> _______________________________________________
> Users mailing list
> Users@lists.geany.org <mailto:Users@lists.geany.org>
<mailto:Users@lists.geany.org <mailto:Users@lists.geany.org>>
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
<https://lists.geany.org/cgi-bin/mailman/listinfo/users>
> <https://lists.geany.org/cgi-bin/mailman/listinfo/users
<https://lists.geany.org/cgi-bin/mailman/listinfo/users>>
>
_______________________________________________
Users mailing list
Users@lists.geany.org <mailto:Users@lists.geany.org>
https://lists.geany.org/cgi-bin/mailman/listinfo/users
<https://lists.geany.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/users