[Github-comments] [geany/geany] Enable local variable and function parameter tag reporting for C/C++ (PR #3175)

elextr notifications at github.com
Thu Apr 28 23:14:40 UTC 2022


It was @kugel- who wanted variables declared after available during his manipulations, I wanted to be sure:

1. it only applied to variables, remember types can be forwarded and uctags doesn't emit tags for the forward declaration
2. it only applied to function (or lambda?) local variables, class member variables (and function names) are available backward
3. it only applied to C/C++, at least Julia allows use before declare, other languages would need their scope rules examining

Both Eclipse and vscode properly obey C/C++ visibility rules, so they don't show function local names (or globals but who uses those?) declared after.

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

Message ID: <geany/geany/pull/3175/c1112737423 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220428/8e4e4da9/attachment-0001.htm>


More information about the Github-comments mailing list