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

elextr notifications at xxxxx
Fri Aug 27 04:12:27 UTC 2021


> how Geany classifies constructions?

The classification is in the ctags parsers, and the ctags kinds are mapped by Geany [here](https://github.com/geany/geany/blob/90c6096ed6ea167f9100ce8f74229a3f47acc29a/src/symbols.c#L459)

> Quite specifically in JavaScript,

which seems to be the problem, there is no Javascript case in the switch linked above, so it falls through to the somewhat random default.  Well I guess it was good enough that whoever added the Javascript type didn't bother to change it, but clearly not perfect.

Anyway, if somebody with both JS and C knowledge wanted to contribute a pull request with a more specific mapping it would probably be accepted.

-- 
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-1242499
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210826/7492b667/attachment.htm>


More information about the Github-comments mailing list