go/internal/lsp
Suzy Mueller d308a98e2e internal/lsp: prefer inserting imports into existing blocks
Insert imports into existing multiline import declarations when
possible.

Logic for choosing where to insert taken from
golang.org/x/tools/go/ast/astutil.

Change-Id: Ie5ad96d5e3d5db2e92a2c05a6104d14a4a192ed3
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190598
Run-TryBot: Suzy Mueller <suzmue@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-08-19 17:23:55 +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/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +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/lsp: use protocol.Range for diagnostics instead of span.Span 2019-08-16 17:06:24 +00:00
snippet internal/lsp: introduce snippet builder object 2019-04-25 18:37:29 +00:00
source internal/lsp: prefer inserting imports into existing blocks 2019-08-19 17:23:55 +00:00
telemetry internal/telemetry: extract units to their own package 2019-08-15 21:28:32 +00:00
testdata internal/lsp: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
tests internal/lsp: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
code_action.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
completion.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
definition.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
diagnostics.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
format.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
general.go internal/lsp: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
highlight.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
hover.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
link.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
lsp_test.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
references.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
rename.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +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: add completions of unimported std lib pkgs 2019-08-16 18:32:40 +00:00
signature_help.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
symbols.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
text_synchronization.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
util.go internal/lsp: separate out getMapper function 2019-08-16 20:05:58 +00:00
workspace.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +00:00