-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp Language Server Completions Engine #20748
Revamp Language Server Completions Engine #20748
Conversation
Codecov Report
@@ Coverage Diff @@
## master #20748 +/- ##
=======================================
Coverage 14.59% 14.59%
=======================================
Files 51 51
Lines 1398 1398
Branches 214 214
=======================================
Hits 204 204
Misses 1178 1178
Partials 16 16 Continue to review full report at Codecov.
|
@@ -126,6 +126,10 @@ public String getLabel() { | |||
return label; | |||
} | |||
|
|||
public SnippetType getSnippetType() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a java doc here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed
int sortText = Integer.parseInt(completionItem.getSortText()); | ||
completionItem.setSortText(Integer.toString(sortText - 1)); | ||
public List<CompletionItem> sortItems(LSContext ctx, List<LSCompletionItem> completionItems) { | ||
return new ArrayList<>(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revisit returning an empty list here
Purpose
Check List