go/internal/lsp/source
Rebecca Stambler 78fed78f7d internal/lsp: handle modifications to the workspace module
We should be able to smoothly add and remove modules from the workspace.
This change moves the module-related fields from the view into the
snapshot so that they can be easily modified and recomputed. The
workspace module is now a workspaceModuleHandle.

Updates golang/go#32394

Change-Id: I6ade7f223cc6070a29b6021b825586b753a0daf1
Reviewed-on: https://go-review.googlesource.com/c/tools/+/254940
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-09-18 22:49:48 +00:00
..
completion internal/lsp/source/completion: improve import suggestion labels 2020-09-18 20:11:33 +00:00
genopts gopls/doc: generate settings JSON, docs 2020-09-09 20:53:33 +00:00
call_hierarchy.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
code_lens.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
command.go internal/lsp: clean up some of the extract function code 2020-09-08 20:39:53 +00:00
comment.go internal/lsp/source: use space character in markdown formatting 2020-08-26 03:44:07 +00:00
comment_test.go internal/lsp: convert comments to markdown before sending to client 2019-10-04 18:35:38 +00:00
diagnostics.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
enums_string.go gopls/doc: generate settings JSON, docs 2020-09-09 20:53:33 +00:00
extract.go internal/lsp: clean up some of the extract function code 2020-09-08 20:39:53 +00:00
folding_range.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
format.go gopls/doc: generate settings JSON, docs 2020-09-09 20:53:33 +00:00
format_test.go internal/lsp: reproduce and fix golang/go#41057 2020-09-02 22:40:51 +00:00
gc_annotations.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
highlight.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
hover.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
identifier.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
identifier_test.go internal/lsp/source: add a unit test for searchForEnclosing 2020-07-28 18:51:24 +00:00
implementation.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
options.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
options_json.go internal/lsp/cache: automatically construct the workspace module 2020-09-11 04:00:25 +00:00
references.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
rename_check.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
signature_help.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
source_test.go internal/lsp: pass options by reference instead of by value 2020-09-16 22:53:23 +00:00
symbols.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
types_format.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
util.go internal/lsp/source: move completion to its own package 2020-09-08 19:19:08 +00:00
view.go internal/lsp: handle modifications to the workspace module 2020-09-18 22:49:48 +00:00
workspace_symbol.go internal/lsp/source: add some additional symbol downranking 2020-09-16 12:25:06 +00:00
workspace_symbol_test.go internal/lsp/source: support some fzf-like tokens in symbol matching 2020-09-08 16:35:05 +00:00