1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00
go/internal/lsp
Andzej Maciusovic 7414d4c1f7 internal/lsp: rank types higher when completing in return of a function
Completion now ranks type names higher for func receiver, type params and type results (e.g. func (<>) foo(<>) (<>) {}).

Fixes golang/go#29152

Change-Id: Icdd18b1b344c1cd617a4f45a7b071e53c1345478
GitHub-Last-Rev: e6acb1f2d2a7e571ffcecc500e407fdefd118fed
GitHub-Pull-Request: golang/tools#73
Reviewed-on: https://go-review.googlesource.com/c/159797
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-02-02 23:51:57 +00:00
..
cache internal/lsp/cache: return error when no packages found 2019-01-10 19:47:25 +00:00
cmd internal/lsp/cmd: add the definition mode 2019-01-31 16:39:42 +00:00
diff internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
protocol tools/internal/lsp/protocol: add LocationLink type 2019-01-09 16:41:58 +00:00
source internal/lsp: rank types higher when completing in return of a function 2019-02-02 23:51:57 +00:00
testdata internal/lsp: rank types higher when completing in return of a function 2019-02-02 23:51:57 +00:00
completion.go internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
imports.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
lsp110_test.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
lsp_test.go internal/lsp: rank types higher when completing in return of a function 2019-02-02 23:51:57 +00:00
position.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
server.go internal/lsp: refactor definition and hover to share functionality 2019-01-24 21:53:03 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00