[Geany-Users] Tag file loading fails.
Rue Sixteen
thule.arch at xxxxx
Thu Oct 14 20:48:52 UTC 2021
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.troeger at 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.troeger at uvena.de
> > <mailto:enrico.troeger at 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>
> > _______________________________________________
> > Users mailing list
> > Users at lists.geany.org <mailto:Users at 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 at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/users/attachments/20211014/f63d24b7/attachment-0001.htm>
More information about the Users
mailing list