Speed up Coding

From Logic Wiki
Jump to: navigation, search


Visual Studio

Bookmark

Ctrl + K Ctrl + K  :Toogle bookmark

Ctrl + W B  :Bookmark Window

Collapse

Ctrl + M Ctrl + M  :Toggle Collapse (without selecting)

Navigate To

Ctrl + ,  :Brings up navigate to dialog

Toggle Full Screen

Shift + Alt + Enter  :toggle Full screen

Debugging

Ctrl + F5  :Run application without debug mode

F9  :Toggle breakpoint

Shift + F11  :Step out

F8  :cycle through errors

Ctrl + Shift + B  : build application without running

Formatting

Ctrl K + Ctrl F  : format selection

After installing "Productivity power tools" if you save a file with Ctrl + S it cleans unused usings etc. (Check Options)


Code Snippets

ctor  :create constructor

propfull  :property full

cw  :Console writeline

try  : try catch

tryf  :try finally

for  :for loop

forr  :decrementing for

foreach  :if it's after a list variable it creates block

while  :while loop

ReSharper

Camel Humps

Typing only capital letters of methods

Suggesting Names

Ctrl + Space or start with _ so that resharper suggests a name