1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:54:42 -07:00
go/internal/lsp/source
Suzy Mueller 15fda70baf internal/lsp: test adding imports for package statements with comments
Test that having a comment at the start of a file allows imports
to be added correctly.

Updates golang/go#33721

Change-Id: Id1673c2509537413710b73261ad2a59afe06b93f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190800
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-19 17:43:41 +00:00
..
analysis.go internal/lsp: label context cancellation errors 2019-08-15 23:24:24 +00:00
completion_format.go internal/lsp: prefer inserting imports into existing blocks 2019-08-19 17:23:55 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
completion.go internal/lsp: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
deep_completion.go internal/lsp: don't deep complete struct field names 2019-08-13 21:38:55 +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: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +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: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +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
identifier.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
imports_test.go internal/lsp: test adding imports for package statements with comments 2019-08-19 17:43:41 +00:00
imports.go internal/lsp: prefer inserting imports into existing blocks 2019-08-19 17:23:55 +00:00
references.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
rename_check.go internal/lsp: use memoize package to cache source.Packages 2019-08-13 21:41:43 +00:00
rename.go internal/lsp: return rename errors for one package only 2019-08-16 17:04:40 +00:00
signature_help.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
source_test.go internal/lsp: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
suggested_fix.go go/analysis: remove +experimental build tag from suggested fixes 2019-08-08 19:51:39 +00:00
symbols.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
util.go internal/lsp: show "do not edit" message when user opens generated file 2019-08-07 16:44:42 +00:00
view.go internal/lsp: show generated warning on didChange, not didOpen 2019-08-13 21:47:29 +00:00