go/internal/lsp/source
Rob Findley 8445f4f065 internal/lsp: add experimental support for multi-phase diagnostics
An experimental new feature is added to run parsing and checking on
modified files immediately, and run analysis and diagnostics for
transitive dependencies only after debouncing. This feature is disabled
by default.

Also, some refactoring is done along the way:
 + Clean up diagnostic functions a bit using a report collection type.
 + Factor out parsing diagnostics in options.go.

Change-Id: I2f14f9e30d79153cb4219207de3d9e77e1f8415b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/255778
Run-TryBot: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
Trust: Robert Findley <rfindley@google.com>
2020-10-02 14:12:12 +00:00
..
completion internal/lsp/source: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +00:00
genapijson internal/lsp/source: add additional generated docs 2020-09-28 17:29:33 +00:00
api_json.go internal/lsp: add experimental support for multi-phase diagnostics 2020-10-02 14:12:12 +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: add a test for gc annotation details code lens 2020-09-25 14:57:16 +00:00
command.go internal/lsp: add a command to generate the gopls.mod file 2020-09-23 18:26:40 +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: prepare for deletion of view.modURI 2020-09-28 20:19:43 +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 internal/lsp/source/completion: remove unused contexts 2020-09-29 21:00:17 +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: allow multiple go.mod files in a view 2020-09-25 19:12:24 +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: add experimental support for multi-phase diagnostics 2020-10-02 14:12:12 +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: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +00:00
source_test.go internal/lsp/source: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +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: refactor c.item to support deepSearch in all cases 2020-10-01 23:00:09 +00:00
util.go internal/lsp: move package selection to before type checking 2020-09-24 22:42:22 +00:00
view.go internal/lsp/source: remove unused Session method 2020-10-01 18:30:55 +00:00
workspace_symbol.go gopls: fix various staticcheck errors 2020-09-29 17:30:36 +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