dotnet/roslyn

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

Open

#63,187 opened on Aug 3, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (4,257 forks)batch import
Area-IDEConcept-Continuous Improvementhelp wanted

Repository metrics

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

Description

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

Contributor guide