dotnet/roslyn

Change signature should suggest importing namespace for a type that's not recognized

Open

#63.187 aperta il 3 ago 2022

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-IDEConcept-Continuous Improvementhelp wanted

Metriche repository

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

Descrizione

Version Used: Version 17.4.0 Preview 2.0 [32731.56.main]

Steps to Reproduce:

Invoke Change Signature and add a parameter with a type whose namespace is not imported in the current file. Instead of "Type not recognized" warning we could display a list of namespaces that contain a type of the specified name and allow the user to choose one of them.

image

Guida contributor