On Mon, Jan 11, 2016 at 8:42 PM, Colomban Wendling <notifications@github.com
> wrote:
> I'm sure we discussed it but I can't find it back quickly apparently; but
> there's something odd I believe should work: currently nothing is suggested
> for namespaces.
> E.g., imagine this C++ file:
>
> namespace Ns {
> class Cls {
> public:
> static int f() { return 42; }
> };
> };
> int main(void)
> {
> return Ns::Cls::f();
> }
>
> Nothing pops after Ns::, but it works for Cls::.
>
The thing is that scope completion shows tags only from a single file (so
e.g. only members of a single anon_struct_0 are shown). Namespaces can span
multiple files and then you'd get members from just a single (more or less
random) file which might look strange. So I skipped namespaces.
It probably is fixable but it would probably be a little more work so I'd
skip it for now.
—
Reply to this email directly or view it on GitHub.