[Github-comments] [geany] CPP suggest and highlight methods from STL (#876)

elextr notifications at xxxxx
Wed Jan 20 23:54:19 UTC 2016


Have you tried the tags files on the wiki?

Geany does not parse non-global declarations in any language.  

To do so would require a lot more knowledge about the user environment, for C++ that means all of the includes, which means all of the `-I` options in the compile, which means knowing the compile command, knowing and parsing which makefile is being used, which gets you to a heavyweight IDE like Eclipse or Netbeans.  But even those have the problem " oh you don't use a makefile, you use cmake, or scons or something else ... tough". 

Also your example requires knowledge of the type of the expression `a[0]` which means knowing about instantiating the `vector` template which means knowing pretty much all the C++ compiler knows.

Geany itself will almost certainly never do any of these things, but an experiment some time ago showed that it would be possible to use a plugin with `LibClang`, but "somebody" has to do it.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/876#issuecomment-173406248
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160120/c319e82b/attachment.html>


More information about the Github-comments mailing list