tools/internal/lsp/source
Rebecca Stambler 4f9eeaf1bf internal/lsp: add documentation to completion items
This change adds documentation to the completion items. This normally
should be done in completionItem/resolve, since it takes more time to
compute documentation. However, I am not sure if that latency incurred
by pre-computing documentation is actually significantly more than the
latency incurred by an extra call to 'completionItem/resolve'. This
needs to be investigated, so we begin by just precomputing all of the
documentation for each item.

Updates golang/go#29151

Change-Id: I148664d271cf3f1d089c1a871901e3ee404ffbe8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/184721
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-07-09 19:19:00 +00:00
..
analysis.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
completion.go internal/lsp: add documentation to completion items 2019-07-09 19:19:00 +00:00
completion_format.go internal/lsp: add documentation to completion items 2019-07-09 19:19:00 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
deep_completion.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
diagnostics.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
highlight.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
hover.go internal/lsp: add documentation to completion items 2019-07-09 19:19:00 +00:00
identifier.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
references.go internal/lsp: compare names when finding references 2019-07-09 18:45:27 +00:00
rename.go internal/lsp: return an error when renaming a builtin 2019-07-09 18:23:51 +00:00
rename_check.go internal/lsp: check no errs for assignability rename 2019-07-08 20:09:55 +00:00
signature_help.go internal/lsp: add documentation to completion items 2019-07-09 19:19:00 +00:00
source_test.go internal/lsp: check no errs for assignability rename 2019-07-08 20:09:55 +00:00
suggested_fix.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
suggested_fix_experimental.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
symbols.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
util.go internal/lsp: move function signature into detail instead of label 2019-07-03 21:07:46 +00:00
view.go internal/lsp, internal/imports: use the internal goimports library 2019-07-01 19:45:22 +00:00