dotnet/roslyn

Support quick info for embedded languages

Open

#59,164 opened on Jan 30, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Feature Requesthelp wanted

Repository metrics

Stars
 (20,414 stars)
PR merge metrics
 (Avg merge 6d 17h) (256 merged PRs in 30d)

Description

Right now when you hover over a regex/datetime/json string all you see is class System.String. That's not very helpful and there's much more useful information we could show instead (for example, what the regex item under the mouse cursor means).

For datetime/regex we already have the docs for these constructs (which we use for completion lists). So we could definitely power this with the same info.

@stephentoub also mentioned it would be useful if the regex work could potentially describe to the user what a regex means. For example:

image

This would be in line with what several useful regex tools offer today.

Contributor guide