[Github-comments] [geany/geany] Show JavaScript 'const' variables on symbol list (#2879)

Colomban Wendling notifications at xxxxx
Sun Aug 29 08:15:18 UTC 2021


In this case `z` shows as a "Macro" because it's indeed the default for the type the parser emits (thanks to C's macros), and `xsq` shows as a "Function" because the JavaScript parser (wrongly) recognizes it as not being a plain constant but actually a "lambda" function.  JavaScript is tricky to parse, and here the problem is that the function part is recognized, but not the fact it's an inline call.  We'd have to check if the upstream universal-ctags parser has this issue, and if not update it.

-- 
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/discussions/2879#discussioncomment-1249223
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210829/7a401879/attachment.htm>


More information about the Github-comments mailing list