1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:28:32 -06:00
go/internal/lsp/cmd
Rohan Challa cec958058c internal/lsp: add error handling for self imports
This change will provide a more useful error when you
are self importing a package. It has TODOs in place to propagate the
"import cycle not allowed" error from go list to the user.

Updates golang/go#33085

Change-Id: Ia868a7c688b0f0a7a9689cfda5ea8cea8ae1faff
Reviewed-on: https://go-review.googlesource.com/c/tools/+/209857
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-12-06 19:13:54 +00:00
..
test internal/lsp: add error handling for self imports 2019-12-06 19:13:54 +00:00
capabilities_test.go internal/lsp: make sure CodeAction.Command is a pointer 2019-11-27 20:10:27 +00:00
check.go internal/lsp: don't run analyses on the entire view 2019-11-25 22:48:44 +00:00
cmd_test.go internal/lsp: fix a race in the command line tests 2019-11-22 16:15:56 +00:00
cmd.go tools/gopls: add cmd support for highlight 2019-11-26 20:36:08 +00:00
definition.go internal/lsp: show errors when the user is in the wrong directory 2019-09-17 21:41:55 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
folding_range.go tools/gopls: add cmd support for folding_ranges 2019-11-12 00:55:09 +00:00
format.go internal/lsp: address staticcheck warnings 2019-10-04 02:16:23 +00:00
highlight.go internal/lsp: add control flow highlighting for functions 2019-12-02 19:01:20 +00:00
implementation.go tools/gopls: add cmd support for implementation 2019-11-25 20:27:09 +00:00
imports.go internal/lsp: fix the return type of CodeAction() 2019-11-19 17:57:05 +00:00
info.go internal/lsp/cmd: use x/tools/gopls as the gopls bug prefix 2019-12-05 01:26:23 +00:00
links.go tools/gopls: add command line support for links 2019-11-01 17:18:15 +00:00
query.go tools/internal/tool: refactor tool.Main() for testabilty 2019-09-19 22:27:22 +00:00
references.go internal/lsp/source: add support for references in the same workspace 2019-11-14 20:04:27 +00:00
rename.go internal/lsp/cmd: don't create .orig files for rename by default 2019-11-19 21:08:41 +00:00
serve.go internal/lsp: only construct a cache when we need to 2019-11-19 22:36:39 +00:00
signature.go tools/gopls: add cmd support for signature 2019-10-31 22:07:37 +00:00
suggested_fix.go internal/lsp: fix the return type of CodeAction() 2019-11-19 17:57:05 +00:00
symbols.go internal/lsp: reorganize the generated Go code for the lsp protocol 2019-11-18 19:51:19 +00:00