[Github-comments] [geany/geany] Add ADA ctags parser (PR #3166)

elextr notifications at github.com
Tue Apr 26 12:26:29 UTC 2022


> Best to use universal-ctags directly - we now have the same parsers.

Ok, thats what I did, using uctags current git, I just thought you might have some debugging magic.

> My guess was those were from the .ads files (which I assume are those defining interface) instead of .adb which seem to be those with implementation. But despite placing some variables there, I didn't get the corresponding tags.

Yes, `.ads` is specification and `.adb` is body, but Ada is not totally prescriptive about it IIRC, and AFAICT uctags just parses them both the same.  Package specs and procedure specs tags will get generated as you said, but uctags seems to parse type specs, find there is no `is` clause, set the `isSpec` bool and would generate `U`, but then decide its just a forward (using C terminology) and so doesn't create a tag for it since it will be declared properly later.  It doesn't say so for types but has a comment to that effect on something else.  I didn't look at the code but probably the same is true for `V`.

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

Message ID: <geany/geany/pull/3166/c1109733098 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220426/af972324/attachment.htm>


More information about the Github-comments mailing list