Saturday, July 18, 2009

Keyboard shortcuts for ASP.NET

Build keywords
F5 - Start Debugging
Ctrl + F5 - Start Without debugging
Shift + F5 - Stop Debuggig
Ctrl + Shift + B - Builds your project
Ctrl + Break - To stop bild process

Comment keyword
Ctrl+ K +C - Comments Selection
Ctrl+ K + U - Uncomments Selection

Right Click keyword
Shift + F10

Collapse/Expand keyword
Ctrl + M + O - Collapse to Definitions
Ctrl + M + L - Collapse All and Expand All
Ctrl + M + M - Collapse and Expand a Single region

Find keyword
Ctrl-F/Ctrl + Shift + F : Shows "Find" dialog
Ctrl-H/Ctrl + Shift + H : Shows "Replace" dialog
Ctrl-G : Shows "Find" line number dialog

Breakpoint keyword
F9 : Toggle breakpoints
Ctrl + Shift + F9 : Clears all breakpoints
Ctrl + D + B : Open breakpoint window for function - need to specify function name

Windows keyword
Ctrl + D + B : Open breakpoints window
Ctrl + D + I : Open immediate window

Full Screen keyword
Shift + Alt + Enter :- To see full screen view

Scroll forward/backwards
Ctrl-Tab: Scroll forward through open windows
Ctrl-Shift-Tab: Scroll backwards through open windows

Attach the debugger to a process
Ctrl-Alt-P : This is insanely useful for debugging ASP.NET web sites without having to start the project in debug mode

Code/Designer windows
F7 : Show the code windows
Shift-F7 : Show the designer window

Bookmark keyword
Ctrl + B + T : Toggle code bookmark
Ctrl + B + E : Enable bookmark
Ctrl + B + P : Previous bookmark
Ctrl + B + N : Next bookmark
Ctrl + B + C : Clear bookmark

Open windows keyword
F4 :- Opens the Properties window
Ctrl + Alt + X :- Opens the Toolbar window
Ctrl + W + S :- Opens the Solution Explorer window
Ctrl + W + L :- Opens the Server Explorer window
Ctrl + W + C :- Opens the Class Viewer window
Ctrl + Shift + E :- Opens the Resource view window

Toggle character keyword
Ctrl + T : Toggle character

Snippet keyword
Ctrl + K + X - Insert Snippet

Intellisence keyword
Ctrl + Space - Intellisence

Line operations keyword
Ctrl + Enter - Insert a new line above the current line
Ctrl + x/Ctrl + L - Delete current line

Undo/Redo keyword
Ctrl-Z / Ctrl-Y: Undo typing / Redo typing

Navigate Forward/Backward
Ctrl + - : Navigate Backward
Ctrl + Shift + -: Navigate Forward

No comments:

Post a Comment