1
0
mirror of https://github.com/golang/go synced 2024-11-19 07:34:44 -07:00
go/internal/lsp/testdata/godef/broken/unclosedIf.go.golden
Rebecca Stambler abbb706b23 internal/lsp: enable enhanced hover by default
This change removes the explicit configuration for improved
documentation on hover. We use a comment's synopsis rather than the full
comment.

However, we also add a "noDocsOnHover" setting that is used by the cmd
tests. Ultimately, no one should use this setting and we should remove
it. We leave it temporarily because the cmd tests still need work.

Change-Id: I5488eca96a729ed7edad8f59b95af163903740d6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174378
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-16 17:30:22 +00:00

24 lines
424 B
Plaintext

-- myUnclosedIf-definition --
godef/broken/unclosedIf.go:7:7-19: defined here as var myUnclosedIf string
-- myUnclosedIf-definition-json --
{
"span": {
"uri": "file://godef/broken/unclosedIf.go",
"start": {
"line": 7,
"column": 7,
"offset": 68
},
"end": {
"line": 7,
"column": 19,
"offset": 80
}
},
"description": "var myUnclosedIf string"
}
-- myUnclosedIf-hover --
var myUnclosedIf string