日期:2013-09-12  浏览次数:20979 次

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
CTRL + TAB
Cycles through the MDI child windows one window at a time.

Window.PreviousDocumentWindow
CTRL + SHIFT + F6
CTRL + SHIFT + TAB
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.

Edi