1
0
mirror of https://github.com/golang/go synced 2024-11-18 23:54:41 -07:00
go/internal/lsp/source
Suzy Mueller 1bd56024c6 internal/lsp: format files in packages with errors
Packages with errors may still contain files that can be formatted.
Try to format the source of the files in packages that have errors.
This change will still not format files with parse errors.

Updates golang/go#31291

Change-Id: Ia5168d7908948d201eac7f2ee28534022a2d4eb0
Reviewed-on: https://go-review.googlesource.com/c/tools/+/187757
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-07-26 23:07:22 +00:00
..
analysis.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
completion_format.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
completion.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
deep_completion.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
diagnostics.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +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: format files in packages with errors 2019-07-26 23:07:22 +00:00
highlight.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
hover.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
identifier.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
references.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
rename_check.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
rename.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
signature_help.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
source_test.go internal/lsp: purge the remains of the xlog system now it is not used 2019-07-18 19:11:56 +00:00
suggested_fix_experimental.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
suggested_fix.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
symbols.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
util.go internal/lsp: handle language ID in didOpen calls 2019-07-12 19:25:23 +00:00
view.go go/packages: add debug logging via the packages.Config 2019-07-16 22:11:50 +00:00