[Github-comments] [geany] Rewrite scope completion 3 (#862)

Matthew Brush notifications at xxxxx
Tue Jan 12 02:08:32 UTC 2016


> Things in namespaces autocomplete now (I turned it on to check :).

Doesn't work here. Maybe you misunderstood what @b4n was saying? Here's an example:

```c++
namespace Foo { void bar() {} }
int main() {
    Foo::<<<<---- no completion suggestions here
}
```

The current way (and likely after this PR too) is particularly broken in that it gives auto-completions for stuff that is in an inaccessible namespace. For example:

```c++
namespace Foo { void blah_blah() {} }
int main() {
    blah_bl<<<<---- gives an invalid completion for "blah_blah" here
}
```

Personally I don't use auto-completion to speed up typing, I use it for exploring symbols I can validly use at that point in the code and to get them spelt correctly, and the current case-sensitive, prefix-matched, kitchen sink auto-completions causes me to use IDE with "smart" auto-completions when I'm writing C++ (ex. QtCreator, VisualStudio).

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/862#issuecomment-170759070
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160111/3d784c0b/attachment.html>


More information about the Github-comments mailing list