1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:44:46 -07:00
go/internal/lsp
Suzy Mueller d5940c88eb internal/lsp: return rename errors for one package only
Rename checks all of the packages that may be affected for conflicts. An
error in any of them leads to renaming error. Returning errors from
multiple packages may be confusing (for example, when there is a test
variant of a package and the same error appears twice). This change
stops after an error is found and returns that error instead of
continuing to search.

Change-Id: Ifba1feddbf8829d3aad30309154d578967e05a36
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190416
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-08-16 17:04:40 +00:00
..
browser internal/lsp: add version and bug commands 2019-05-11 04:16:02 +00:00
cache internal/lsp: label context cancellation errors 2019-08-15 23:24:24 +00:00
cmd internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
debug internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
diff internal/lsp: enable incrementalSync by default 2019-06-26 20:40:24 +00:00
fuzzy internal/lsp: add fuzzy completion matching 2019-08-14 16:13:50 +00:00
protocol internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
snippet internal/lsp: introduce snippet builder object 2019-04-25 18:37:29 +00:00
source internal/lsp: return rename errors for one package only 2019-08-16 17:04:40 +00:00
telemetry internal/telemetry: extract units to their own package 2019-08-15 21:28:32 +00:00
testdata internal/lsp: return rename errors for one package only 2019-08-16 17:04:40 +00:00
tests internal/lsp: fix bug renaming local vars with test files present 2019-08-15 14:43:58 +00:00
code_action.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
completion.go internal/lsp: propagate hoverKind to completion documentation 2019-08-15 23:26:00 +00:00
definition.go internal/lsp: minor refactoring for source.Identifier 2019-08-07 20:13:05 +00:00
diagnostics.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
format.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
general.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
highlight.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
hover.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
link.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
lsp_test.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
references.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
rename.go internal/lsp: minor refactoring for source.Identifier 2019-08-07 20:13:05 +00:00
reset_golden.sh internal/lsp: fix definition tests to use golden files 2019-05-10 21:06:55 +00:00
server.go internal/lsp: support an experimental structured hover format 2019-08-12 21:55:50 +00:00
signature_help.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
symbols.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
text_synchronization.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
util.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00
workspace.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00