This extension works in Visual Studio 2017. Click here to download the latest update for Visual Studio 2017!
This extension focuses on the following features addressing some error scenarios in your coding workflow.
You can either hover over a squiggle to get a LightBulb, or use the default keyboard shortcut Ctrl+Dot (Ctrl+.). Note that for the keyboard shortcut, your caret doesn't need to be positioned on the specific error/token; you can simply be on the same line as the error to invoke suggestions for anything on that line.
Add missing #include - Suggests relevant #include's for unknown symbols in your code
Add using namespace/Fully qualify symbol - Similar to the previous item, but for namespaces
Online Help - Search online (default is MSDN) for help on your error message(s), undefined tokens and undefined functions
Add missing semicolon
Insert missing 'namespace' on using statements
Replace bad indirection operands
Remove break outside of loops or switch
Remove multiple storage classes
Options:
Additional options are exposed under Tools → Options... → Text Editor → C/C++ → Quick Fixes (or type Quick Fixes in Quick Launch [Ctrl+Q]).
Display Peek Definition on add #include - Use this option to immediately see what code was inserted at the top of your file, and make changes inline if desired.
Custom Online Search - Use this option to override MSDN as the search provider for Help. If left blank, MSDN is used.
Change Log
1.0.6.0
New Feature: Allow custom search strings for Online Help actions
Bug Fix – Fixed error when loading the options page
1.0.5.0
Fixed issue preventing this extension from being displayed as an Official Microsoft extension.
1.0.4.0
New feature: Fix break must be in loop or switch errors.
New feature: Fix multiple storage classes errors.
New feature: Fix bad indirection operand errors.
Bug Fix – Fix timing issue with ArgumentOutOfRangeException when creating MSDN search actions.
Bug Fix – In some cases unknown tokens would be incorrectly treated as function calls.
Update action icons (only available with Visual Studio 2015 Update 2).
1.0.3.0
New Feature: Additional options are exposed under Tools → Options... → Text Editor → C/C++ → Quick Fixes (or type in Ctrl+Q for quick launch and type in "Quick Fixes").
New Feature (off by default): Display Peek Definition on add #include -- see what code was inserted at the top of your file, and make changes inline if desired.
Bug Fix – Fix timing issue with ArgumentOutOfRangeException when creating actions.
Improved error recovery.
1.0.2.0
New feature: Insert missing ‘namespace’ on using statements.
Bug Fix – Fixed an installation issue where sometimes a dependency would be missing.