[Github-comments] [geany/geany] Question: adding a kind to exising parser of u-ctags (#2227)

elextr notifications at xxxxx
Wed Jul 24 04:10:20 UTC 2019


> Geany may have a table for the kinds conversion.

Well its a [switch](https://github.com/geany/geany/blob/d11cbff9ba3c3d13143e7eb39b209f2e990f32ac/src/symbols.c#L460) but basically the same thing.  There are several other switches too.

> When I add a new kind to u-ctags, I guess the conversion table must be updated.

Yes, that will always be the case.  Whoever makes the pull request on Geany to update the parsers will have to check for such changes, same thing has to be done with Scintilla lexers if they add new syntactic elements.

I would think the best thing is for you to make changes to the shared API clear, so the person doing the import to Geany knows to check for any other changes needed, and perhaps in the longer term have an API version that has to be changed every time the API changes.  

@b4n is the symbol expert and may have other suggestions.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2227#issuecomment-514471639
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190723/3ab152c8/attachment.html>


More information about the Github-comments mailing list