mirror of https://github.com/golang/go.git
I had originally wanted to create a shared code path for hover in all cases, but hover has a lot more differences from the documentation in signature help and completion than I expected. You can't use markdown, and you probably don't want links--it would take a bigger refactor to extract something that worked for each feature. Handling the Structured and SingleLine hover setting also doesn't seem necessary--those settings are really specific to the way the client presents the hover, which isn't related to signature help or completion. For completion, all we need is an extra check on the hover kind for the NoDocumentation option. Fixes golang/go#38577 Change-Id: Ib2037906c13f5be26813fcd2c20989e4d1b6c9bd Reviewed-on: https://go-review.googlesource.com/c/tools/+/266139 Run-TryBot: Rebecca Stambler <rstambler@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Trust: Rebecca Stambler <rstambler@golang.org> |
||
|---|---|---|
| .. | ||
| completion.go | ||
| completion_builtin.go | ||
| completion_format.go | ||
| completion_keywords.go | ||
| completion_labels.go | ||
| completion_literal.go | ||
| completion_package.go | ||
| completion_printf.go | ||
| completion_printf_test.go | ||
| completion_snippet.go | ||
| completion_statements.go | ||
| deep_completion.go | ||
| deep_completion_test.go | ||
| util.go | ||
| util_test.go | ||