1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
go/internal/lsp/source
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
..
completion.go internal/lsp: rank types higher when completing in return of a function 2019-02-02 23:51:57 +00:00
definition.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: implement diff for computing text edits 2019-02-01 23:18:25 +00:00
signature_help.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
view.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00