1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:04:40 -07:00
go/internal/lsp
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
..
cache internal/lsp/cache: return error when no packages found 2019-01-10 19:47:25 +00:00
cmd cmd/gopls: rename "golsp" to "gopls", as in "Go Please" 2019-01-16 23:16:16 +00:00
protocol tools/internal/lsp/protocol: add LocationLink type 2019-01-09 16:41:58 +00:00
source internal/lsp: do not complete inside comments in functions 2019-01-22 18:08:10 +00:00
testdata internal/lsp: do not complete inside comments in functions 2019-01-22 18:08:10 +00:00
completion.go internal/lsp: add additional tests for completion 2018-12-19 22:27:14 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
imports.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00
lsp110_test.go internal/lsp: add more testdata for completion and diagnostics 2018-11-20 06:06:34 +00:00
lsp_test.go internal/lsp: add a test for completion of builtin types and functions 2019-01-16 00:24:28 +00:00
position.go internal/lsp: fix a few nil pointer exceptions in definition 2019-01-14 22:23:45 +00:00
server.go cmd/golsp: add a debugging tool to connect with golsp on a port 2019-01-11 21:44:48 +00:00
signature_help.go internal/lsp: implement signature help 2018-11-13 20:09:34 +00:00