Вы находитесь на странице: 1из 2

Microsoft Visual C++ Default Keybindings

® ®

File Windows Command Aliases


File.NewFile CTRL+N Create a new file. Window.Close- CTRL+F4 Closes the current document window. These commands can be run in the Command Window (CTRL+SHIFT+A) as well as in the Command line (CTRL+/).
Debug.ListThreads ~ Lists the threads in the debugged
DocumentWindow Debug.Print ? <expression> Evaluates expression and prints the process to the Command window.
File.NewProject CTRL+SHIFT+N Create a new project. result to the Command window.
View.SolutionExplorer CTRL+ALT+L Displays the Solution Explorer window. Debug.ListCallStack ~*k Prints the call stack for all threads
File.OpenFile CTRL+O Open an existing file. Debug.QuickWatch ?? <expression> Evaluates expression in the Quick /AllThreads in the debugged process.
View.Properties- ALT+ENTER Displays the Properties window. Watch window.
File.OpenProject CTRL+SHIFT+O Open an existing project. Window
Debug.Autos autos Displays the Autos window. Editing
Project.AddNewItem CTRL+SHIFT+A Add a new item to the project. View.Output CTRL+ALT+O or ALT+2 Displays the Output window.
Debug.Breakpoints bl Displays the Breakpoints window. Edit.Find CTRL+F Displays the Quick Find tab of
Project.AddExistingItem SHIFT+ALT+A Add an existing item to the project. Project.Properties ALT+F7 Displays the Project Properties the Find and Replace dialog box.
dialog box. Debug.ToggleBreakpoint bp Toggles breakpoint on current line.
File.SaveAll CTRL+SHIFT+S Save all files in the editor. Edit.Replace CTRL+H Displays the Quick Replace tab of
View.ClassView CTRL+SHIFT+C Displays the Class View window. Debug.CallStack callstack Displays the Call Stack window. the Find and Replace dialog box.
File.Rename F2 Rename the file under cursor.
View.Command- CTRL+ALT+A Displays the Command window. Window.Close- CloseAll Closes all opened editors. Edit.FindinFiles CTRL+SHIFT+F Allows searching all the files in a
File.Open- <unassigned> Opens the folder containing the Window (for a list of available commands see “Command Aliases”)
AllDocuments project or solution for a specific
ContainingFolder file in the editor. word or expression.
Debug.ListMemory d [/Count:<n>] Lists the content of the memory
Debugging <address> at the specified address (list only n Edit.ReplaceinFiles CTRL+SHIFT+H Allows search and replace
Build elements). functionality over all the files in
Debug.Start F5 Launches the application under the
debugger. a project or solution.
Build.BuildSolution F7 or CTRL+SHIFT+B Build the solution. Debug.ListMemory db <address> Lists the content of the memory
Debug.StartWithout- CTRL+F5 Launches the application without /Format:OneByte as an array of bytes. Edit.GoToNextLocation F8 or F4 Navigate to the next find result.
Build.RebuildSolution CTRL+ALT+F7 Rebuild the solution.
Debugging invoking the debugger.
Debug.ListMemory dd <address> Lists the content of the memory Edit.GoToPrevLocation SHIFT+F8 or SHIFT+F4 Navigate back to the previous
Build.Cancel CTRL+BREAK Cancel the build process. Debug.StopDebugging SHIFT+F5 Stops debugging. /Format:FourBytes as an array of longs. result.
Edit.GoToNextLocation F8 or F4 Navigate to the next error/warning. Tools.AttachtoProcess CTRL+ALT+P Displays the Attach to process Debug.Disassembly disasm Switches to disassembly mode. Edit.StopSearch ALT+F3, S Cancels the current search.
dialog box.
Edit.GoToPrevLocation SHIFT+F8 or SHIFT+F4 Navigate back to the previous Debug.Evaluate- eval <statement> Evaluates and displays the given Edit.IncrementalSearch CTRL+I Perform a search as you type.
error/warning. Debug.DetachAll <unassigned> Detaches from all processes. Statement statement.
Edit.Reverse- CTRL+SHIFT+I Perform a bottom-up incremental
Debug.BreakAll CTRL+ALT+BREAK Breaks all executing threads. File.Exit exit Exits the IDE. IncrementalSearch search.
Navigation
Window.Moveto- CTRL+F8 Sets the focus to the Debug.BreakatFunction CTRL+B Creates a new function breakpoint. Debug.Start g [<address>] Starts debugger. Optionally sus- Edit.FindSymbol ALT+F12 or Brings up the Find Symbol tab of
NavigationBar navigation bar. pends execution at the provided CTRL+SHIFT+Y the Find and Replace dialog box.
Debug.Toggle- F9 Toggles breakpoint at current line. address.
View.Synchronize- <unassigned> Synchronizes the class view with Breakpoint Edit.QuickFindSymbol SHIFT+ALT+F12 Performs a symbol search on the
ClassView the editor. Tools.ImmediateMode immed Displays the Immediate window. selected symbol.
Debug.StepInto F11 Executes next statement and follows
Edit.GoToDefinition F12 Goes to definition. execution into method calls. Debug.ListCallStack k [Thread:<n>] Prints the call stack or sets thread’s Edit.GoToFindCombo CTRL+D Sets the focus in the Find box on
[<frame>] current frame to the specified frame. the toolbar.
View.Code- CTRL+\, D or Brings up a window that is con- Debug.StepOver F10 Executes next statement.
DefinitionWindow CTRL+SHIFT+V stantly updating with the definition Debug.Locals locals Displays the Locals window. Edit.FindNext F3 Continues the search top-down.
of the selected symbols. Debug.StepOut SHIFT+F11 Executes the remaining statements
of the currently debugged function. Tools.LogCommand- log [<filename>] [/off] Starts logging all input and output Edit.FindPrevious SHIFT+F3 Continues the search bottom-up.
Edit.GoToDeclaration CTRL+F12 Goes to declaration. WindowOutput from the Command window. /off
Debug.RunToCursor CTRL+F10 Runs the application until it reaches stops logging. Edit.MakeLowercase CTRL+U Lower-cases the selected text.
Edit.FindAllReferences <unassigned> Searches all references to the the statement under the cursor.
current symbol. Debug.SetRadix n [hex|dec] Sets or returns the numeric base Edit.MakeUppercase CTRL+SHIFT+U Upper-cases the selected text.
Debug.QuickWatch CTRL+ALT+Q or Displays Quick Watch window. used to display integers.
View.Navigate- CTRL+- Moves to the previously browsed SHIFT+F9 Edit.ViewWhiteSpace CTRL+R, CTRL+W or Uses glyphs to represent the white
Backward line of code. View.WebBrowser nav <url> [/new] [/ext] Displays the internal Web browser. CTRL+SHIFT+8 spaces in the editor.
Debug.SetNext- CTRL+SHIFT+F10 Sets the current statement to be the /new will create a new tab. /ext will
View.NavigateForward CTRL+SHIFT+- Moves to the next browsed line of Statement next executed statement. open the external browser. Edit.Comment- CTRL+K, CTRL+C Comments selected text.
code. Selection
Debug.ShowNext- ALT+NUM * Shows the next statement. File.NewFile nf [<filename>] Creates a new file with the specified
View.ClassViewGoTo- CTRL+K, CTRL+V Sets the focus to the search box in Statement name. Edit.Uncomment- CTRL+K, CTRL+U Uncomments selected text.
SearchCombo the Class View. Selection
Debug.Exceptions CTRL+ALT+E Shows the Exceptions dialog box. File.OpenFile of <file> [/e:<editor>] Opens an existing file and allows
View.ObjectBrowser- CTRL+K, CTRL+R Sets the focus to the search box in specifying the editor type. Edit.HideSelection CTRL+M, CTRL+H Creates an outline for the selected
GoToSearchCombo the Object Browser. Debug.Toggle- CTRL+F11 Toggles between disassembly and text and collapses it.
Disassembly User Code view. File.OpenProject op [<projname>] Opens an existing project.
Tools.GoTo- CTRL+/ Allows running commands from Edit.Cycle- CTRL+SHIFT+INS Cycles through the clipboard ring.
CommandLine the Find text box (for a list of available com- Debug.StepOver p Executes next statement without fol- ClipboardRing
mands see “Command Aliases”) Debugger Windows lowing execution into method calls.
Edit.Copy- CTRL+SHIFT+ALT+C Copies to clipboard the list of
Window.Show- CTRL+ALT+DOWN Shows a list of files currently Debug.Threads CTRL+ALT+H Displays the Thread List window. Debug.StepOut pr Executes the remaining statements ParameterTip parameters.
EzMDIFileList ARROW opened in the editor. of the currently debugged function.
Debug.Immediate CTRL+ALT+I Displays the Immediate window. Edit.Paste- CTRL+SHIFT+ALT+P Pastes in the editor the list of
View.PropertiesWindow props Displays the Properties window. ParameterTip parameters.
Bookmarks Debug.Locals CTRL+ALT+V, L Displays the Locals window.
or ALT+4 Debug.StopDebugging q Stops debugging. Edit.GoTo CTRL+G Goes to line number.
Edit.ToggleBookmark CTRL+K, CTRL+K Toggle a bookmark on the
or CTRL+F2 current line. Debug.ListRegisters r Prints the register values.
Debug.CallStack CTRL+ALT+C or ALT+7 Displays the Call Stack. Edit.GotoBrace CTRL+] Moves the cursor to the matching
Edit.NextBookmark CTRL+K, CTRL+N or F2 Move to the next bookmark. brace.
Debug.Autos CTRL+ALT+V, A Displays the Autos window. Debug.RunToCursor rtc Runs the application until it reaches
the statement under the cursor. File.CopyFullPath <unassigned> Copies to clipboard the full path of
Edit.Previous- CTRL+K, CTRL+P Move to the previous bookmark.
Bookmark or SHIFT+F2 Debug.Breakpoints CTRL+ALT+B Displays the list of Breakpoints. the selected file.
or ALT+F9 File.SaveSelectedItems save Saves the current selected items.
Edit.NextBookmark- CTRL+SHIFT+K, Move to the next bookmark in
InFolder CTRL+SHIFT+N the current folder. Debug.Disassembly ALT+8 Shows the disassembly code. File.SaveAll SaveAll Saves all files opened in the IDE. IntelliSense
Debug.Modules CTRL+ALT+U Displays the list of modules. Tools.Shell shell [dir:<dir>] <path> Launches an application with the Edit.CompleteWord CTRL+SPACE or Completes the current word
Edit.PreviousBook- CTRL+SHIFT+K, Move to the previous bookmark [<args>] specified arguments. ALT+RIGHT ARROW or shows the IntelliSense®
markInFolder CTRL+SHIFT+P in the current folder. completion list.
Debug.Processes CTRL+ALT+Z or Displays the list of debugged
CTRL+SHIFT+ALT+P processes. Debug.StepInto t Executes next statement and follows
Edit.ClearBookmarks CTRL+K, CTRL+L Clear all bookmarks. execution into method calls. Edit.ParameterInfo CTRL+SHIFT+SPACE Displays the name, return value,
or CTRL+SHIFT+F2 and parameters of the function call.
Debug.Memory1 CTRL+ALT+M, 1 Displays the Memory window.
Debug.Threads threads Displays the Threads window.
View.Bookmark- CTRL+K, CTRL+W Show the Bookmarks window. Edit.ListMembers CTRL+J or CTRL+ALT+T Shows only members in the
Window Debug.Watch CTRL+ALT+W, 1 Displays the list of watches.
or ALT+3 Debug.ListDisassembly u Lists the disassembly for the next IntelliSense completion list.
statements.
Edit.ToggleTask- CTRL+K, CTRL+H Toggle Task List shortcut. Edit.QuickInfo CTRL+K, CTRL+I Displays the complete declaration
ListShortcut Debug.Watch watch Displays the Watch window. of the identifier under cursor.
Notes:
Debug.ListProcesses | Lists the debugged processes to - These key bindings are only available through the Visual C++ Development Settings. To change to
the Command window. the Visual C++ Development settings, go to Tools | Import and Export Settings and select Reset all
Settings then select Visual C++ Development Settings.
- To customize the key bindings for these commands, go to Tools | Options | Environment | Keyboard.
Microsoft Visual C++ Default Keybindings
® ®

File Windows Command Aliases


File.NewFile CTRL+N Create a new file. Window.Close- CTRL+F4 Closes the current document window. These commands can be run in the Command Window (CTRL+SHIFT+A) as well as in the Command line (CTRL+/).
Debug.ListThreads ~ Lists the threads in the debugged
DocumentWindow Debug.Print ? <expression> Evaluates expression and prints the process to the Command window.
File.NewProject CTRL+SHIFT+N Create a new project. result to the Command window.
View.SolutionExplorer CTRL+ALT+L Displays the Solution Explorer window. Debug.ListCallStack ~*k Prints the call stack for all threads
File.OpenFile CTRL+O Open an existing file. Debug.QuickWatch ?? <expression> Evaluates expression in the Quick /AllThreads in the debugged process.
View.Properties- ALT+ENTER Displays the Properties window. Watch window.
File.OpenProject CTRL+SHIFT+O Open an existing project. Window
Debug.Autos autos Displays the Autos window. Editing
Project.AddNewItem CTRL+SHIFT+A Add a new item to the project. View.Output CTRL+ALT+O or ALT+2 Displays the Output window.
Debug.Breakpoints bl Displays the Breakpoints window. Edit.Find CTRL+F Displays the Quick Find tab of
Project.AddExistingItem SHIFT+ALT+A Add an existing item to the project. Project.Properties ALT+F7 Displays the Project Properties the Find and Replace dialog box.
dialog box. Debug.ToggleBreakpoint bp Toggles breakpoint on current line.
File.SaveAll CTRL+SHIFT+S Save all files in the editor. Edit.Replace CTRL+H Displays the Quick Replace tab of
View.ClassView CTRL+SHIFT+C Displays the Class View window. Debug.CallStack callstack Displays the Call Stack window. the Find and Replace dialog box.
File.Rename F2 Rename the file under cursor.
View.Command- CTRL+ALT+A Displays the Command window. Window.Close- CloseAll Closes all opened editors. Edit.FindinFiles CTRL+SHIFT+F Allows searching all the files in a
(for a list of available commands see “Command Aliases”)
File.Open- <unassigned> Opens the folder containing the Window AllDocuments project or solution for a specific
ContainingFolder file in the editor. word or expression.
Debug.ListMemory d [/Count:<n>] Lists the content of the memory
Debugging <address> at the specified address (list only n Edit.ReplaceinFiles CTRL+SHIFT+H Allows search and replace
Build elements). functionality over all the files in
Debug.Start F5 Launches the application under the
Build.BuildSolution F7 or CTRL+SHIFT+B Build the solution. debugger. a project or solution.
Debug.ListMemory db <address> Lists the content of the memory
Debug.StartWithout- CTRL+F5 Launches the application without /Format:OneByte as an array of bytes. Edit.GoToNextLocation F8 or F4 Navigate to the next find result.
Build.RebuildSolution CTRL+ALT+F7 Rebuild the solution.
Debugging invoking the debugger.
Debug.ListMemory dd <address> Lists the content of the memory Edit.GoToPrevLocation SHIFT+F8 or SHIFT+F4 Navigate back to the previous
Build.Cancel CTRL+BREAK Cancel the build process. Debug.StopDebugging SHIFT+F5 Stops debugging. /Format:FourBytes as an array of longs. result.
Edit.GoToNextLocation F8 or F4 Navigate to the next error/warning. Tools.AttachtoProcess CTRL+ALT+P Displays the Attach to process Debug.Disassembly disasm Switches to disassembly mode. Edit.StopSearch ALT+F3, S Cancels the current search.
dialog box.
Edit.GoToPrevLocation SHIFT+F8 or SHIFT+F4 Navigate back to the previous Debug.Evaluate- eval <statement> Evaluates and displays the given
error/warning. Edit.IncrementalSearch CTRL+I Perform a search as you type.
Debug.DetachAll <unassigned> Detaches from all processes. Statement statement.
Edit.Reverse- CTRL+SHIFT+I Perform a bottom-up incremental
Debug.BreakAll CTRL+ALT+BREAK Breaks all executing threads. File.Exit exit Exits the IDE. IncrementalSearch search.
Navigation
Window.Moveto- CTRL+F8 Sets the focus to the Debug.BreakatFunction CTRL+B Creates a new function breakpoint. Debug.Start g [<address>] Starts debugger. Optionally sus- Edit.FindSymbol ALT+F12 or Brings up the Find Symbol tab of
NavigationBar navigation bar. pends execution at the provided CTRL+SHIFT+Y the Find and Replace dialog box.
Debug.Toggle- F9 Toggles breakpoint at current line. address.
View.Synchronize- <unassigned> Synchronizes the class view with Breakpoint Edit.QuickFindSymbol SHIFT+ALT+F12 Performs a symbol search on the
ClassView the editor. Tools.ImmediateMode immed Displays the Immediate window. selected symbol.
Debug.StepInto F11 Executes next statement and follows
Edit.GoToDefinition F12 Goes to definition. execution into method calls. Debug.ListCallStack k [Thread:<n>] Prints the call stack or sets thread’s Edit.GoToFindCombo CTRL+D Sets the focus in the Find box on
[<frame>] current frame to the specified frame. the toolbar.
View.Code- CTRL+\, D or Brings up a window that is con- Debug.StepOver F10 Executes next statement.
DefinitionWindow CTRL+SHIFT+V stantly updating with the definition Debug.Locals locals Displays the Locals window. Edit.FindNext F3 Continues the search top-down.
of the selected symbols. Debug.StepOut SHIFT+F11 Executes the remaining statements
of the currently debugged function. Tools.LogCommand- log [<filename>] [/off] Starts logging all input and output Edit.FindPrevious SHIFT+F3 Continues the search bottom-up.
Edit.GoToDeclaration CTRL+F12 Goes to declaration. WindowOutput from the Command window. /off
Debug.RunToCursor CTRL+F10 Runs the application until it reaches stops logging. Edit.MakeLowercase CTRL+U Lower-cases the selected text.
Edit.FindAllReferences <unassigned> Searches all references to the the statement under the cursor.
current symbol. Debug.SetRadix n [hex|dec] Sets or returns the numeric base Edit.MakeUppercase CTRL+SHIFT+U Upper-cases the selected text.
Debug.QuickWatch CTRL+ALT+Q or Displays Quick Watch window. used to display integers.
View.Navigate- CTRL+- Moves to the previously browsed SHIFT+F9 Edit.ViewWhiteSpace CTRL+R, CTRL+W or Uses glyphs to represent the white
Backward line of code. View.WebBrowser nav <url> [/new] [/ext] Displays the internal Web browser. CTRL+SHIFT+8 spaces in the editor.
Debug.SetNext- CTRL+SHIFT+F10 Sets the current statement to be the /new will create a new tab. /ext will
View.NavigateForward CTRL+SHIFT+- Moves to the next browsed line of Statement next executed statement. open the external browser. Edit.Comment- CTRL+K, CTRL+C Comments selected text.
code. Selection
Debug.ShowNext- ALT+NUM * Shows the next statement. File.NewFile nf [<filename>] Creates a new file with the specified
View.ClassViewGoTo- CTRL+K, CTRL+V Sets the focus to the search box in Statement name. Edit.Uncomment- CTRL+K, CTRL+U Uncomments selected text.
SearchCombo the Class View. Selection
Debug.Exceptions CTRL+ALT+E Shows the Exceptions dialog box. File.OpenFile of <file> [/e:<editor>] Opens an existing file and allows
View.ObjectBrowser- CTRL+K, CTRL+R Sets the focus to the search box in specifying the editor type. Edit.HideSelection CTRL+M, CTRL+H Creates an outline for the selected
GoToSearchCombo the Object Browser. Debug.Toggle- CTRL+F11 Toggles between disassembly and text and collapses it.
Disassembly User Code view. File.OpenProject op [<projname>] Opens an existing project.
Tools.GoTo- CTRL+/ Allows running commands from Edit.Cycle- CTRL+SHIFT+INS Cycles through the clipboard ring.
CommandLine the Find text box (for a list of available com- Debug.StepOver p Executes next statement without fol- ClipboardRing
lowing execution into method calls.
mands see “Command Aliases”)
Debugger Windows
Edit.Copy- CTRL+SHIFT+ALT+C Copies to clipboard the list of
CTRL+ALT+DOWN Shows a list of files currently Debug.StepOut pr Executes the remaining statements ParameterTip parameters.
Window.Show- Debug.Threads CTRL+ALT+H Displays the Thread List window.
ARROW opened in the editor. of the currently debugged function.
EzMDIFileList
Debug.Immediate CTRL+ALT+I Displays the Immediate window. Edit.Paste- CTRL+SHIFT+ALT+P Pastes in the editor the list of
View.PropertiesWindow props Displays the Properties window. ParameterTip parameters.
Bookmarks
Debug.Locals CTRL+ALT+V, L Displays the Locals window.
or ALT+4 Debug.StopDebugging q Stops debugging. Edit.GoTo CTRL+G Goes to line number.
Edit.ToggleBookmark CTRL+K, CTRL+K Toggle a bookmark on the
or CTRL+F2 current line. Debug.ListRegisters r Prints the register values.
Debug.CallStack CTRL+ALT+C or ALT+7 Displays the Call Stack. Edit.GotoBrace CTRL+] Moves the cursor to the matching
Edit.NextBookmark CTRL+K, CTRL+N or F2 Move to the next bookmark. brace.
Debug.Autos CTRL+ALT+V, A Displays the Autos window. Debug.RunToCursor rtc Runs the application until it reaches
the statement under the cursor. File.CopyFullPath <unassigned> Copies to clipboard the full path of
Edit.Previous- CTRL+K, CTRL+P Move to the previous bookmark.
Bookmark or SHIFT+F2 Debug.Breakpoints CTRL+ALT+B Displays the list of Breakpoints. the selected file.
or ALT+F9 File.SaveSelectedItems save Saves the current selected items.
Edit.NextBookmark- CTRL+SHIFT+K, Move to the next bookmark in
InFolder CTRL+SHIFT+N the current folder. Debug.Disassembly ALT+8 Shows the disassembly code. File.SaveAll SaveAll Saves all files opened in the IDE. IntelliSense
Debug.Modules CTRL+ALT+U Displays the list of modules. Tools.Shell shell [dir:<dir>] <path> Launches an application with the Edit.CompleteWord CTRL+SPACE or Completes the current word
Edit.PreviousBook- CTRL+SHIFT+K, Move to the previous bookmark [<args>] specified arguments. ALT+RIGHT ARROW or shows the IntelliSense®
markInFolder CTRL+SHIFT+P in the current folder. completion list.
Debug.Processes CTRL+ALT+Z or Displays the list of debugged
CTRL+SHIFT+ALT+P processes. Debug.StepInto t Executes next statement and follows
Edit.ClearBookmarks CTRL+K, CTRL+L Clear all bookmarks. execution into method calls. Edit.ParameterInfo CTRL+SHIFT+SPACE Displays the name, return value,
or CTRL+SHIFT+F2 and parameters of the function call.
Debug.Memory1 CTRL+ALT+M, 1 Displays the Memory window.
Debug.Threads threads Displays the Threads window.
View.Bookmark- CTRL+K, CTRL+W Show the Bookmarks window. Edit.ListMembers CTRL+J or CTRL+ALT+T Shows only members in the
Window Debug.Watch CTRL+ALT+W, 1 Displays the list of watches.
or ALT+3 Debug.ListDisassembly u Lists the disassembly for the next IntelliSense completion list.
statements.
Edit.ToggleTask- CTRL+K, CTRL+H Toggle Task List shortcut. Edit.QuickInfo CTRL+K, CTRL+I Displays the complete declaration
ListShortcut Debug.Watch watch Displays the Watch window. of the identifier under cursor.
Notes:
Debug.ListProcesses | Lists the debugged processes to - These key bindings are only available through the Visual C++ Development Settings. To change to
the Command window. the Visual C++ Development settings, go to Tools | Import and Export Settings and select Reset all
Settings then select Visual C++ Development Settings.
- To customize the key bindings for these commands, go to Tools | Options | Environment | Keyboard.

Вам также может понравиться