[Github-comments] [geany/geany] Use the official 'libreadtags' library from ctags for parsing ctags files (PR #3049)

Jiří Techet notifications at github.com
Wed May 18 09:02:03 UTC 2022


I didn't mean they would always be invalidated, just that it could happen e.g. for a subset of tags. For some of the languages the mappings aren't very nice from what I have seen, we might want to introduce new mapping types to semantically better represent the feature of the given language and such a change could make the corresponding tag invalid (this is nothing new, it's how it always worked before).

We could do these things:
1. Store the ctags kind letter to the tagmanager-format tag files and use it instead of the mapped type if present (we could still fall back to the mapped type for legacy files). For this we could use some of the obsolete and unused entries in the tag files like `TA_TIME` here:
https://github.com/geany/geany/blob/37d20a823fb1bca67cea57ef73aa9e64009d8138/src/tagmanager/tm_source_file.c#L5
Such updated tag files would be compatible across Geany releases.
2. Use the ctags file format for the tag files we ship with Geany (or for those, where it matters - the pipe-separated `pas` files and HTML entities without any kind specified are fine).
3. Or both.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3049#issuecomment-1129756250
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3049/c1129756250 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220518/931e904e/attachment.htm>


More information about the Github-comments mailing list