One of my favorite Visual Studio Shortcut- Very useful ! August 9, 2010
Posted by Abhijit Jana in General, Tips and Tricks, Visual Studio, Visual Studio 2010.Tags: Automatic Interface Implementation, codeproject, Shortcut Key, Tips and Tricks, Visual Studio 2010, VS Useful Shortcut Key
16 comments
“Ctrl + .” Or “ALT + SHIFT+F10” is one of my favorite shortcut in Visual Studio. You can use the same shortcut for various situations as described in below.
1. Adding Namespaces Automatically / Resolve Namespaces.
2. Generate Method Stubs.
3. Implement Interface/ Abstract Class
4. Generate Automatic Class Files
5. Rename Member variables or Classes
Let’s start with one by one .
1. Adding Namespaces Automatically / Resolve Namespaces.
If you are adding a new class in your code you may need to add the correspondence namespace. To do it, you may either manually type the Using Namespace or you just right click on the class name and select Resolve > Namespace. But using “Ctrl+.” you can automatically add the namespace in your code.









