-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.help wanted
Milestone
Description
From microsoft/vscode-go#3149:
In Go, runes can be expressed as single-quoted readable glyphs, single-quoted escaped
\u
codes, or number literals (usually hex). It’s often hard to know what a particular rune is, short of extensive commenting as in this example.It would be very helpful in VSCode to hover over any of these forms to get info on the rune, such as:
- visual glyph (if any)
- description e.g. “ARABIC THOUSANDS SEPARATOR”
\u
representation- hex representation
Thanks for the consideration, happy to discuss.
This can be implemented using https://pkg.go.dev/golang.org/x/text/unicode/runenames.
arp242
Metadata
Metadata
Assignees
Labels
FeatureRequestIssues asking for a new feature that does not need a proposal.Issues asking for a new feature that does not need a proposal.FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.help wanted