1
0
mirror of https://github.com/golang/go synced 2024-10-01 07:38:32 -06:00
go/internal/lsp/cmd
Rebecca Stambler cc15fab314 internal/lsp: use AST to construct placeholders
Type aliases don't work well with types.TypeString. Work around that by
using the AST to build this information. Follow up from CL 201677.

Fixes golang/go#33500

Change-Id: I8b2d4ea238eb5d284a419f2b0bbf9655e69d434d
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208497
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-11-25 01:11:57 +00:00
..
test internal/lsp: use AST to construct placeholders 2019-11-25 01:11:57 +00:00
check.go internal/lsp: use x/xerrors to create new errors 2019-08-06 19:46:56 +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 internal/lsp: only construct a cache when we need to 2019-11-19 22:36:39 +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
imports.go internal/lsp: fix the return type of CodeAction() 2019-11-19 17:57:05 +00:00
info.go internal/lsp: move PrintVersionInfo to the debug package 2019-06-03 15:29:06 +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