1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:44:48 -07:00
go/internal/lsp/source
Rebecca Stambler e5b8258f49 internal/lsp: stop formatting on files that do not parse
This change will stop formatting from working on any file that does not
parse. This is a temporary fix to handle the formatting problems
mentioned here: https://github.com/Microsoft/vscode-go/issues/2410, but
is not a long-term solution.

Change-Id: Ie34b1876519832d6859db95fdcad7cc37a20b769
Reviewed-on: https://go-review.googlesource.com/c/tools/+/171019
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-04-08 22:03:57 +00:00
..
analysis.go internal/lsp: use new go/packages LoadMode to get TypesSizes 2019-03-29 21:52:04 +00:00
completion.go cmd/lsp: skip completion in string literals 2019-03-15 16:51:35 +00:00
definition.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
diagnostics.go internal/lsp: make definition use the lsp protocol 2019-04-05 17:02:55 +00:00
format.go internal/lsp: stop formatting on files that do not parse 2019-04-08 22:03:57 +00:00
highlight.go internal/lsp: add support for document highlight 2019-03-26 19:08:20 +00:00
signature_help.go internal/lsp: add correct handling for circular imports 2019-03-15 16:49:21 +00:00
symbols.go internal/lsp: fix nil pointer exception in document symbols 2019-03-29 18:25:15 +00:00
view.go internal/lsp: handle undelivered diagnostics 2019-04-01 16:39:43 +00:00