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

By | May 18, 2016

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 !

5 thoughts on “Add Using command for misspelled types using"fuzzy" matching – Visual Studio 2015

  1. Pingback: Dew Drop – May 18, 2016 (#2254) | Morning Dew

  2. James Curran

    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.

  3. Pingback: Dew Drop – May 19, 2016 (#2255) | Morning Dew

  4. Pingback: Visual Studio – Developer Top Ten for May 25th, 2016 - Dmitry Lyalin

  5. Pingback: Using light bulb action to refactor asynchronous method synchronous – Visual Studio 2015

Comments are closed.