Closed draivin closed 10 years ago
Just a doubt, what is the difference between member and non-member completions?
member completions: properties of objects non-member completions: variables
Is it working properly tough? It seems that no matter if I ask for member or non-member completions I get the same results.
It used to be the editor's responsibility to set that flag. Now, the services will determine it themselves, from source context (the isMemberCompletion
property in the result can differ from the parameter). The flag is mostly still there for backwards compatibility (I think).
It probably should be the same as when asking for completion inside a function parameter, that will instead return
null
.It does the same when asking for completions inside a string.
Test case:
Results: