1
0
mirror of https://github.com/golang/go synced 2024-10-01 04:08:32 -06:00
go/internal/lsp/source
Rohan Challa af8577037c internal/lsp: remove duplicate implementations when finding implementations
Finding implementations adds the same implementation multiple times, this commit
removes the duplicates and ensures that only one instance of each implementation
gets returned. Also moves the sorting of results to the test file to ensure that
the tests are deterministic.

Fixes #35600

Change-Id: I244d36a46b7e31bf3c1f845e241239de05d45e6f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208668
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-11-26 20:43:40 +00:00
..
comment_test.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
comment.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
completion_format.go internal/lsp: track and parse non-compiled go files 2019-11-25 19:20:50 +00:00
completion_keywords.go internal/lsp: add some keyword completions 2019-10-22 20:49:18 +00:00
completion_labels.go internal/lsp: fix label completion in range and type switch stmts 2019-10-22 21:33:09 +00:00
completion_literal.go internal/span: support line directives 2019-11-25 19:20:43 +00:00
completion_snippet.go internal/lsp: reorganize and refactor code 2019-11-21 02:33:28 +00:00
completion.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
deep_completion.go internal/lsp/source: attach Package to completions when available 2019-11-05 20:21:09 +00:00
diagnostics.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
errors.go internal/lsp: move the missing imports handling into the metadata 2019-09-25 23:05:17 +00:00
folding_range.go internal/span: support line directives 2019-11-25 19:20:43 +00:00
format.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
highlight.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
hover.go internal/lsp: add documentation for package-level vars 2019-11-25 18:28:23 +00:00
identifier.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
implementation.go internal/lsp: remove duplicate implementations when finding implementations 2019-11-26 20:43:40 +00:00
options.go internal/lsp: set version correctly after textDocument/didOpen 2019-11-25 19:35:51 +00:00
references.go internal/lsp: only search for references in reverse dependencies 2019-11-25 14:46:06 +00:00
rename_check.go internal/lsp: improve literal func completion candidates 2019-11-07 21:18:00 +00:00
rename.go internal/lsp: use AST to construct placeholders 2019-11-25 01:11:57 +00:00
signature_help.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
source_test.go internal/lsp: remove duplicate implementations when finding implementations 2019-11-26 20:43:40 +00:00
suggested_fix.go internal/lsp: move error range computations into cache package 2019-10-21 22:12:58 +00:00
symbols.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
tidy.go internal/lsp: support running go mod tidy as a code action 2019-09-20 13:08:46 +00:00
util.go internal/lsp: fix return variables for FindPosInPackage 2019-11-25 19:51:13 +00:00
view.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00