Wednesday, February 24, 2016

vs 2015 shortcut keys

"View White Space" option and use CTRL+R/CTRL+W 


Ctrl + - , Ctrl + Shift + -:Move cursor back (or forwards) to the last place it was.

This switches open windows in Visual Studio:Ctrl + tab and the opposite Ctrl + Shift + tab

Ctrl+K, Ctrl+C : Comment a block , Ctrl+K, Ctrl+U Uncomment the block

TAB key for "snippets":E.g. type try and then hit the tab key twice.

Ctrl+] for matching braces and parentheses.

Ctrl+Shift+] selects code between matching parentheses.

Ctrl+Shift+F: Good old Find In Files.

Ctrl+Space, Visual Studio gives the possible completions.

Ctrl+K, Ctrl+D // Auto-(Re)Format

Ctrl+M, Ctrl+M. To expand/collapse the current code block.

Ctrl + .(dot) : automatically insert the import namespace, especially for adding event handlers and "using" statements.

Shift+ESC:This hides/closes any of the 'fake window' windows in Visual Studio.

Ctrl+I for incremental search

Ctrl+M, Ctrl+O : collapse to definitions. I use it all the time together with #regions

Insert snippet:Ctrl+K, Ctrl+S ---useful for #region

"prop" and hit tab.. stubs out property for you...

Select word: Ctrl+W

Alt-W U to auto collapse everything when in Full screen mode when it all gets too much

Ctrl + U :Converts the currently selected text to lower case
Ctrl + Shift + U :Converts the currently selected text to upper case

SHIFT + ALT + Arrow Key :multi Select columns of text
or
alt+mouse select : multi Select columns of text

CTR+SHIFT+> :Zoom In
CTR+SHIFT+< :Zoom out


Shift+F9 : quickwatch window
Go to defination : F12
find all reference :shift+F12
run to cursor : ctrl + F10







Showing hidden windows
---------------------------
ctrl+alt+L + Solution explorer

ctrl+alt+S + Server explorer

ctrl+alt+O + Output

ctrl+alt+X + Toolbox

ctrl+shift+W, 1 + Watch

ctrl+\, E + Error list



ctrl+shift+C + Class view

No comments:

Post a Comment

Encrypt/Decrypt the App.Config

Program.cs using System; using System.Diagnostics; using System.IO; namespace EncryptAppConfig {     internal class Program     {         pr...