tools/internal/lsp
Ian Cottrell 2d28432af7 internal/lsp: first pass at some hover tests
This uses golden files to hold the hover text as they are no more fragile than
hard coding the text in the tests, and much easier to update.
We need a lot more tests, and ones with actual comments, but this is a start and
at least adds the machienery it would take.

Change-Id: Ia2f79257642759e4c2f972d4037f258134e0fb33
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174380
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-04-30 19:42:29 +00:00
..
cache internal/lsp: change some comments and variable names in completion code 2019-04-30 00:41:04 +00:00
cmd internal/lsp: generate RPC interface from Typescript source 2019-04-30 16:16:08 +00:00
diff internal/lsp: normalise and make public diff<->edit conversions 2019-04-15 20:31:36 +00:00
protocol internal/lsp: generate RPC interface from Typescript source 2019-04-30 16:16:08 +00:00
snippet internal/lsp: introduce snippet builder object 2019-04-25 18:37:29 +00:00
source internal/lsp: change some comments and variable names in completion code 2019-04-30 00:41:04 +00:00
testdata internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
tests internal/lsp: add struct literal field snippets 2019-04-29 17:59:36 +00:00
xlog internal/lsp: add the ability to log back to the client 2019-04-01 16:22:08 +00:00
code_action.go internal/lsp: run source.organizeImports on all codeActions 2019-04-16 21:54:00 +00:00
completion.go internal/lsp: change some comments and variable names in completion code 2019-04-30 00:41:04 +00:00
definition.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
diagnostics.go internal/lsp: add more error propagation and logging for analyses 2019-04-24 02:44:48 +00:00
format.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
general.go internal/lsp: use ast.Nodes for hover information 2019-04-18 23:52:43 +00:00
highlight.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
hover.go internal/lsp: support comments on hover for typenames, funcs, fields 2019-04-22 16:38:38 +00:00
lsp_test.go internal/lsp: first pass at some hover tests 2019-04-30 19:42:29 +00:00
server.go internal/lsp: generate RPC interface from Typescript source 2019-04-30 16:16:08 +00:00
signature_help.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
symbols.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00
text_synchronization.go internal/lsp: add additional debug logging for diagnostics 2019-04-22 21:11:31 +00:00
util.go internal/lsp: refactor server.go to separate into LSP categories 2019-04-17 20:54:51 +00:00