1
0
mirror of https://github.com/golang/go synced 2024-10-01 08:28:43 -06:00
go/internal/lsp/source
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
..
completion.go internal/lsp: do not complete inside comments in functions 2019-01-22 18:08:10 +00:00
definition.go internal/lsp: fix a few nil pointer exceptions in definition 2019-01-14 22:23:45 +00:00
diagnostics.go internal/lsp: fix diagnostics range computation 2018-12-21 20:18:27 +00:00
format.go internal/lsp: add support for running goimports as a code action 2018-12-17 20:01:16 +00:00
hover.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
signature_help.go internal/lsp: refactor source package to use an interface 2018-12-05 22:49:35 +00:00
uri_test.go internal/lsp/source: avoid having build tagged files for uri 2018-12-17 19:55:17 +00:00
uri.go internal/lsp: add ranges to some diagnostics messages 2018-12-20 19:13:07 +00:00
view.go internal/lsp: set file contents through the source.View, not File 2018-12-21 19:33:31 +00:00