
To find out which key bindings apply in your copy of Visual Studio, look in menu Edit → Advanced menu - the keys are displayed to the right of the menu items, so it's easy to discover what they are on your system. For example, if you are not using the C# bindings, the keys are likely to be: If you have not chosen to use the C# keyboard mapping scheme, then you may find the key shortcuts are different. You can change these in menu Tools → Options → Environment → Keyboard (either by selecting a different "keyboard mapping scheme", or binding individual keys to the commands "Edit.FormatDocument" and "Edit.FormatSelection"). Send Me Opportunities Visual Studio shortcut keys A free shortcut key reference guide for Visual Studio. Were building the largest self-service freelancing marketplace for people like you.


To answer the specific question, in C# you are likely to be using the C# keyboard mapping scheme, which will use these hotkeys by default:Ĭtrl+ E, Ctrl+ D to format the entire document.Ĭtrl+ E, Ctrl+ F to format the selection. Visual Studio Shortcuts Earn income with your developer skills Sign up and well send you the best freelance opportunities straight to your inbox.
