[Github-comments] [geany] Rewrite scope completion 3 (#862)
Jiří Techet
notifications at xxxxx
Tue Jan 19 09:33:14 UTC 2016
> Damn, you're right. Though, while trying to fix this in the C parser, I don't think it works now it reports ns::C. Probably the type is not split up on scope separator, so a qualified type doesn't work I guess?
Right. In this case I think we want the scope to be part of var_type because we need to distinguish
```
class Foo {
Bar bar;
}
```
from
```
Foo::Bar bar;
```
I think the type-scope splitting of var_type could be done in the scope completion code when the parser gets fixed. But even after that it won't do any magic - we for instance don't see things like "using namespace Foo;" so scope completion won't work in all cases.
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/862#issuecomment-172791492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160119/f7997368/attachment.html>
More information about the Github-comments
mailing list