Add Using command for misspelled types using"fuzzy" matching – Visual Studio 2015

Add Using command for misspelled types using"fuzzy" matching – Visual Studio 2015

The Visual Studio 2015 updates 2 brings several improvement.  Among all of them, one of the small but vary handy improvement is “Add Using command” for misspelled types using “fuzzy” matching. In case there is a typo for any predefined types,  Visual Studio search the entire solution, analyze the meta data uses the fuzzy  matching  to suggest the correct type.

Quick Visual Studio Tip : Did you know – you can close specific set of open documents together in Visual Studio ?

For an example, consider you want to use the SqlConnection, but while typing you misspelled. Now with the help of Light Blub, along with other suggested tip, you can see Visual Studio also recommending preferably matching Using Statement Using System.Data.SqlClient  and the associated changes as shown in below screen shots.

 

Add Using command to support "fuzzy" matching for misspelled types

 

Related Tip : XAML Inspection Toolbar : Inspecting XAML for Live Debugging from the Apps

 

Add Using command to support "fuzzy" matching for misspelled types

Hope this helps !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

5 Comments to “Add Using command for misspelled types using"fuzzy" matching – Visual Studio 2015”

  1. Oddly, it only seems to work if it needs to add the namespace to see the misspelled identifier. Misspell a name that is in an already included namespace, and the tip won’t offer the correct spelling.

Comments are closed.