x/tools/gopls: support markdown in completion items #57300
Labels
FeatureRequest
FrozenDueToAge
gopls/completion
Issues related to auto-completion in gopls.
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go, VS Code & VS Code Go extension are you using?
Describe the bug
Go 1.19 introduced a lot of new additions to doc comments, in particular, a syntax to add hyperlinks to the text. The hyperlinks render correctly when hovering the entity with the cursor, but not in autocomplete.
Screenshots or recordings
The VSCode extension correctly renders the hyperlinks when hovering the function declaration:
And it also correctly renders the hyperlinks when hovering the function calls:
However, in autocompletion, the new hyperlink syntax disappears, and we read instead the raw syntax formatting:
The autocomplete box should also render the hyperlinks.
The text was updated successfully, but these errors were encountered: