1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00
go/internal/lsp/testdata
Andzej Maciusovic 2d2e1b1749 internal/lsp: do not complete inside comments in functions
The previous change (https://go-review.googlesource.com/c/tools/+/157678) only stopped completion in comments in global scope. This change prevents completions results from being sent for comments inside of functions.

Fixes golang/go#29370

Change-Id: I2b43ae2942c6ce7376d2a5f88c40e6ac45c2b773
GitHub-Last-Rev: bc4aac1370aa5758941cdfae63290f061a55e204
GitHub-Pull-Request: golang/tools#71
Reviewed-on: https://go-review.googlesource.com/c/158538
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-01-22 18:08:10 +00:00
..
anon internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
bad internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
bar internal/lsp: fix a bug stopped package names from being printed 2018-11-20 23:48:46 +00:00
baz internal/lsp: implement type definitions 2018-12-04 18:51:09 +00:00
builtins internal/lsp: add a test for completion of builtin types and functions 2019-01-16 00:24:28 +00:00
cast internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
complit internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
errors internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
foo internal/lsp: do not complete inside comments in functions 2019-01-22 18:08:10 +00:00
format internal/lsp: fix and add tests for formatting 2018-11-15 19:42:43 +00:00
godef internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
good internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
noparse internal/lsp: add a preliminary test for completion 2018-11-12 19:56:38 +00:00
noparse_format internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
rank internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
selector internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
self internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
types internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00