x/tools/gopls: VSCode user snippets not sorting properly #35782
Closed
Labels
Milestone
Comments
Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here. |
Change https://golang.org/cl/208439 mentions this issue: |
@tj The above change should resolve the issue. Are you able to test it out? Rough steps are:
|
Awesome! That fixed it, thanks a lot, I didn't realize the language server is in charge of so much, I'll keep that in mind next time. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Imported from microsoft/vscode#84587
In https://go-review.googlesource.com/c/tools/+/202717 I added a workaround so our completion candidate order was maintained in VSCode. I made all gopls candidates appear to be "perfect" so VSCode had no additional sorting/filtering to do. This, however, made gopls candidates always match better than other VSCode completion items, such as user snippets.
The text was updated successfully, but these errors were encountered: