Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/lsp: order struct fields completions by definition
Previously struct fields completions are ordered alphabetically. Now it is ordered by its order in definition. Fixes golang/go#42626 Change-Id: I8c404205b97fa9f1a5a66a95a84033b6f0f48eae Reviewed-on: https://go-review.googlesource.com/c/tools/+/270777 Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> Trust: Rebecca Stambler <rstambler@golang.org> Trust: Robert Findley <rfindley@google.com>
- Loading branch information
1 parent
f544f6c
commit 74a3905
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters