dotnet/roslyn

Support quick info for embedded languages

Aperta

#59.164 aperta il 30 gen 2022

 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Feature Requesthelp wanted

Metriche repository

Star
 (20.414 stelle)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

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.

Guida contributor