Visual Studio.Net 2003 Shortcut Keys
| Shortcut Key | Description | |
Project Shortcut Key | |||
Build.BuildSolution | CTRL + SHIFT + B | Builds the solution | |
Build.Compile | CTRL + F7 | Creates an object file containing machine code, linker directives, sections, external references, and function/data names for the selected file. | |
File.OpenFile | CTRL + O | Displays the Open File dialog box where you can select an existing file to open. | |
File.OpenProject | CTRL + SHIFT + O | Displays the Open Project dialog box where you can add existing projects to your solution. | |
|
|
| |
Tool Window shortcut keys | |||
View.ClassView | CTRL + SHIFT + C | Displays the Class View window. | |
View.PropertiesWindow | F4 | Displays the Properties window, which lists the design-time properties and events for the currently selected item. | |
View.PropertyPages | SHIFT + F4 | Displays the property pages for the item currently selected. | |
View.ResourceView | CTRL + SHIFT + E | Displays the Resource View window. | |
|
|
| |
Object Browser Shortcut keys | |||
Edit.GoToDefinition | F12 | Displays the declaration for the selected symbol in code. | |
Edit.GoToDeclaration | CTRL + F12 | Displays the definition of the selected symbol in the code. | |
View.ObjectBrowser | CTRL + ALT + J | Displays the Object Browser to view the classes, properties, methods, events, and constants available for packages, and the object libraries and procedures in your project. | |
|
|
| |
Integrated Help Shortcut Keys | |||
Help.Contents | CTRL + ALT + F1 | Displays the Contents window for the documentation contained in MSDN. | |
Help.DynamicHelp | CTRL + F1 | Displays the Dynamic Help window, which displays different topics depending on what items currently have focus in the product. | |
Help.F1Help | F1 | Displays a topic from Help that corresponds to the current user interface selected. | |
Help.WindowHelp | SHIFT + F1 | Displays a topic from help that corresponds to the current user interface selected. | |
Help.Search | CTRL + ALT + F3 | Displays the Search window, which allows you to search for words or phrases in the documentation contained in MSDN. | |
|
|
| |
Window management Shortcut Keys | |||
View.FullScreen | SHIFT + ALT + ENTER | Toggles Full Screen mode on and off. | |
View.NavigateBackward | CTRL + - | Goes back to the previous document or window in the navigation history. | |
View.NavigateForward | CTRL + SHIFT + - | Moves forward to the document or window next in the navigation history. | |
Window.CloseDocumentWindow | CTRL + F4 | Closes the current MDI child window. | |
Window.NextTab | CTRL + PAGE DOWN | Moves to the next tab in the document or window. | |
Window.PreviousTab | CTRL + PAGE UP | Moves to the previous tab in the document or window. | |
Window.NextDocumentWindow | CTRL + F6 | Cycles through the MDI child windows one window at a time. | |
Window.PreviousDocumentWindow | CTRL + SHIFT + F6 | Moves to the previous document in the Editor or Designer. | |
Window.NextPane | ALT + F6 | Moves to the next tool window. | |
|
|
| |
Text Manipulation Shortcut Keys | |||
Edit.ClearBookmarks | CTRL + K, CTRL + L | Removes all unnamed bookmarks in the current document. | |
Edit.CommentSelection | CTRL + K, CTRL + C | Marks the current line of code as a comment, using the correct comment syntax for the programming language. | |
Edit.UncommentSelection | CTRL + K, CTRL + U | Removes the comment syntax from the current line of code. | |
Edit.ColllapseToDefinitions | CTRL + M, CTRL + O | Automatically determines logical boundaries for creating regions in code, such as procedures, and then hides them. | |
Edit.ToggleAllOutlining | CTRL + M, CTRL + L | Toggles all previously marked hidden text sections between hidden and display states. | |
Edit.ToggleOutliningExpansion | CTRL + M, CTRL + M | Toggles the currently selected hidden text section between the hidden and display state. | |
Edit.ToggleBookmark | CTRL + K, CTRL + K | Sets or removes a bookmark at the current line. | |
Edit.ToggleWordWrap | CTRL +R, CTRL + R | Enables or disables word wrap in an editor. | |
Edit.WordDeleteToEnd | CTRL + DELETE | Deletes the word to the right of the insertion point. | |
Edit.WordDeleteToStart | CTRL + BACKSPACE | Deletes the word to the left of the insertion point. | |
Edit.TabLeft | SHIFT + TAB | Moves selected lines to the left one tab stop. | |
Edit.MakeLowercase | CTRL + U | Changes the selected text to lowercase characters. | |
Edit.MakeUppercase | CTRL + SHIFT + U | Changes the selected text to uppercase characters. | |
|
|
| |
Text selection Shortcut Keys | |||
Edit.DocumentEndExtend | CTRL + SHIFT + END | Selects the text from the insertion point to the last line of the document. | |
Edit.DocumentStartExtend | CTRL + SHIFT + HOME | Selects the text from the insertion point to the first line of the document. | |
Edit.LineEndExtend | SHIFT + END | Selects text from the insertion point to the end of the current line. | |
Edit.LineStartExtend | SHIFT + HOME | Selects text from the insertion point to the start of the line. | |
Edit.LineEndExtendColumn | SHIFT + ALT + END | Moves the insertion point to the end of the line, extending the column selection. | |
Edit.LineStartExtendColumn | SHIFT + ALT + HOME | Moves the insertion point to the start of the line, extending the column selection. | |
Edit.SelectAll | CTRL + A | Selects everything in the current document. | |
Edit.SelectCurrentWord | CTRL + W | Selects the word containing the insertion point or the word to the right of the insertion point. | |
Edit.ViewTopExtend | CTRL + SHIFT + PAGE UP | Extends the selection to the top of the current window. | |
Edit.ViewBottomExtend | CTRL + SHIFT + PAGE DOWN | Moves the cursor to the last line in view, extending the selection. | |
|
|
| |
Text navigation Shortcut Keys | |||
Edit.DocumentEnd | CTRL + END | Moves the insertion point to the last line of the document. | |
Edit.DocumentStart | CTRL + HOME | Moves the insertion point to the first line of the document. | |
Edit.GoTo | CTRL + G | Displays the Go To Line dialog box. | |
Edit.PreviousBookmark | CTRL + K, CTRL + P | Moves to the previous bookmark. | |
Edit.NextBookmark | CTRL + K, CTRL + N | Moves to the next bookmark in the document. | |
View.BrowseNext | CTRL + SHIFT + 1 | Navigates to the next definition, declaration, or reference of an item. Available in the Object Browser and Class View window. | |
|
|
| |
Debugging Shortcut Keys |
| ||
Debug.ApplyCodeChanges | ALT + F10 | Starts an Edit and Continue build to apply changes to code being debugged. | |
Debug.BreakAll | CTRL + ALT+ Break | Temporarily stops execution of all processes in a debugging session. Available only in Run mode. | |
Debug.ClearAllBreakpoints | CTRL + SHIFT + F9
| Clears all of the breakpoints in the project. | |
Debug.EnableBreakpoint | CTRL + F9 | Sets a breakpoint at the current line of code. | |
Debug.Restart | CTRL + SHIFT + F5 | Terminates a debugging session, rebuilds, and then starts running the application from the beginning. Available in Break and Run modes. | |
Debug.Start | F5 | Automatically attaches the debugger and runs the application from the startup project specified in the <Project> Properties dialog box. Changes to Continue if in Break mode. | |
Debug.StartWithoutDebugging | CTRL + F5 | Runs the code without invoking the debugger. | |
Debug.StepOver | F10 | Executes the next line of code, but does not follow execution through any function calls. | |
Debug.StepInto | F11 | Executes code one statement at a time, following execution into function calls. | |
|
|
| |
HTML Designer Shortcut Keys | |||
Edit.ListMembers | CTRL + J | Lists members of the current class for statement completion when editing code. Available only in HTML view of the HTML Designer. | |
Edit.ViewBottom | CTRL + PAGE DOWN | Moves to the bottom of the current document. Available only in HTML View of the HTML Designer. | |
View.NextView | CTRL + PAGE DOWN | Switches from Design view to HTML view and vice versa. Available only in Design view of the HTML Designer. | |
Format.Bold | CTRL + B | Toggles the selected text between bold and normal. Available only in Design view of the HTML Designer. | |
Format.DecreaseIndent | CTRL + SHIFT + T | Decreases the selected paragraph by one indent unit. Available only in Design view of the HTML Designer. | |
|
|
| |