EasyClangComplete icon indicating copy to clipboard operation
EasyClangComplete copied to clipboard

Incorrect auto completion.

Open david9991 opened this issue 9 years ago • 6 comments

screen shot 2016-12-09 at 3 01 57 pm

This image show that we have grpc::ClientContext class under grpc namespace, but it not presented in the completion list.

screen shot 2016-12-09 at 3 06 02 pm

And this image means we ONLY has MSVGReply class in GS namespace but many classes which defined in other namespaces was auto completed.

That's happened after I moved to v3.0.2.

david9991 avatar Dec 09 '16 07:12 david9991

Ok, we did slightly changed the way completions are shown. I will try to play around with this and will try to reproduce this behavior.

niosus avatar Dec 09 '16 08:12 niosus

That would be me who broke it:( Fortunately it's easy to fix.

simia avatar Dec 09 '16 09:12 simia

@simia do you know what exactly is broken? Then just PR the fix and I will quickly merge it :)

niosus avatar Dec 09 '16 09:12 niosus

CursorKind CLASS_DECL is excluded for double colons. Fix would be replacing: excluded = self.ignore_list[:-1] with: excluded = self.ignore_list[:-2]

I can't PR at work so either you make change or wait until I get back home :(

simia avatar Dec 09 '16 09:12 simia

I will change it. Thanks. :)

niosus avatar Dec 09 '16 09:12 niosus

The fix will be live soon in version 3.0.3. Have just submitted a new release.

niosus avatar Dec 09 '16 10:12 niosus