Open fbricon opened 7 years ago
So in Eclipse, a stub of a private method is actually returned, but in jdt.ls, the completionItem resolution doesn't return that method stub.
The completionItem is no longer returned. Which is fine for now, but ultimately, when we want the completion item to be automatically insert a method stub, we'll need it. Also, in order for that completion stub to work, we'll need to always return incomplete results, so that the server returns updated completion items as you keep typing.
When requesting completion at the end of a random string in a document, the server returns a completionItem for a method. e.g: After typing
aaaaa
in SomeClass.javaThis should not return a CompletionItem at all.