Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the keyboard shortcut to type fast in Visual Studio?

I am not sure what is the best way to word my question correctly in single line. But basically I have seen quite a few video tutorials now where the coder types really fast using some sort of shortcut to fill in the automatic text(prolly intellisense stuff) It looks very similar to Linux command line tab where you only type half of your text and when you hit tab it either fills in the gap or show you the remaining options. Hope that makes sense. Thanks

like image 543
DoodleKana Avatar asked Mar 19 '13 21:03

DoodleKana


People also ask

What is Ctrl K in Visual Studio?

Edit.SelectionCancel. Surround with. Ctrl+K, Ctrl+S. (available only in Visual Studio 2019 and earlier)

What does Ctrl Shift B do in Visual Studio?

CTRL+SHIFT+B to Build The built-in Microsoft visual studio means compile and connect only the root files that have been modified since the previous build.

What does Ctrl w do in Visual Studio?

How to use Ctrl+W to close a tab in Visual Studio – Done by code.


2 Answers

Pressing Ctrl+Space completes the current variable/class you are typing.

Typing things like ctor and then pressing the Tab key twice tells Visual Studio to insert a constructor for you. (Also works with for for a for loop, cw for a Console.WriteLine();, etc.)

For a full list, please refer to the official reference from MSDN.

like image 75
NoodleFolk Avatar answered Sep 20 '22 14:09

NoodleFolk


I believe its Ctrl-Space, which is pretty common among most IDE's

like image 29
Alex Gittemeier Avatar answered Sep 21 '22 14:09

Alex Gittemeier