Keyboard Shortcuts

The keyboard shortcuts shown here are the defaults. They can be changed through the Pref­er­ences dialog. Select General > Keys, and make whatever changes you want there.

KeypressActionContext
Ctrl+SpaceInvokes the Content Assist action (code completion)Main window and editable views
Ctrl+* on the numeric keypadExpands all of an editor's folded items; see the Editor view's Left Margin Context Menu table for detailsEditor windows
Shift+Ctrl+* on the numeric keypadResets the file's folded structure; see the Editor view's Left Margin Context Menu table for detailsEditor windows
Ctrl+,Invokes the Previous Annotation action unless a Search view is active in which case it invokes the Search Previous Match actionAll views
Alt+-Invokes the Show System Menu actionAll views
Ctrl+.Invokes the Next Annotation action unless a Search view is active in which case it invokes the Search Next Match actionAll views
Ctrl+/A toggle action that comments or uncomments the current line; see the Editor view's Text Area Context Menu table for detailsEditor windows (Perl)
Shift+Ctrl+/Adds a block comment; see the Editor view's Text Area Context Menu table for detailsEditor windows (JavaScript)
Ctrl+/ on the numeric keypadA toggle that enables or disables editor folding; see the Editor view's Left Margin Context Menu table for detailsEditor windows
Shift+Ctrl+/ on the numeric keypadCollapses all of an editor's foldable items; see the Editor view's Left Margin Context Menu table for detailsEditor windows
Shift+Ctrl+\Removes a block comment; see the Editor view's Text Area Context Menu table for detailsEditor windows (JavaScript)
DeleteInvokes the Delete actionMain window and some views
Alt+EnterInvokes the Properties actionMain window and editor views
F2Invokes the Open Declaration action; see the Editor view's Text Area Context Menu table for detailsEditor windows
Ctrl+F2Invokes the Terminate actionMain window, Test Debugging Perspective
F4Invokes the Open Type Hierarchy action; see the Editor view's Text Area Context Menu table for detailsEditor windows
F5Invokes the Refresh action except when the Test Debugging Perspective is open, in which case it invokes the Step Into actionMain window
Shift+F5Invokes the Use Step Filters action when debugging, or performs syntax validation when a Editor view is active and editing PerlMain window, Test Debugging Perspective or editor view (Perl)
F6Invokes the Step Over actionMain window, Test Debugging Perspective
Ctrl+F6Invokes the Next Editor action and navigates the Editor popupMain window
Shift+Ctrl+F6Invokes the Previous action and navigates the Editor popupMain window
F7Invokes the Step Return actionMain window, Test Debugging Perspective
Ctrl+F7Invokes the Next View actionMain window
Shift+Ctrl+F7Invokes the Previous View actionMain window
F8Invokes the Resume actionMain window
Ctrl+F8Invokes the Next Perspective action and navigates the Perspectives popupMain window
Shift+Ctrl+F8Invokes the Previous Perspective action and navigates the Perspectives popupMain window
Ctrl+F10Invokes the Show View Menu actionViews that have a view menu
F12Invokes the Activate Editor actionMain window
Ctrl+3Invokes the Find Actions actionMain window
Ctrl+AInvokes the Select All actionMain window and views with context menus
Shift+Alt+AInvokes the Toggle Block Selection Mode actionMain window and editable views
Shift+Ctrl+BInvokes the Toggle Breakpoint actionMain window
Ctrl+CInvokes the Copy action unless the Variables view has focus in which case it performs the Copy Variables actionMain window and views with context menus
Shift+Ctrl+CFor JavaScript, Python, and Tcl, this invokes a toggle action that comments or uncomments the current line. For Perl, this keyboard shortcut runs the Perl::Critic. See the Editor view's Text Area Context Menu table for detailsEditor windows
Shift+Ctrl+DRuns the Pod::Checker; see the Editor view's Text Area Context Menu table for detailsEditor windows (Perl)
Shift+Ctrl+EInvokes the Switch to Editor dialogMain window
Ctrl+FInvokes the Find/Replace dialog unless the Variables view has focus in which case it pops up the Variable view's Find dialogMain window and Variables view
Shift+Ctrl+FReformats the editor's text; see the Editor view's Text Area Context Menu table for detailsEditor windows (JavaScript, Perl)
Ctrl+Alt+GInvokes the Workspace actionMain window
Ctrl+HInvokes the Search dialogMain window
Ctrl+Alt+HInvokes the Open Call Hierarchy action; see the Call Hierarchy view and the Editor view's Text Area Context Menu table and the Call Hierarchy view for detailsEditor windows
Shift+Ctrl+HIntended to run perldoc, but not currently functional; see the Editor view's Text Area Context Menu table for detailsEditor windows (Perl)
Ctrl+ICorrects indentation; see the Editor view's Text Area Context Menu table for detailsEditor windows (JavaScript)
Ctrl+KInvokes the Find Next actionEditor views
Shift+Ctrl+KInvokes the Find Previous actionEditor views
Shift+Ctrl+LInvokes the Show Active Keybindings action, or opens Preferences > General > Keys if the popup is open.Main window
Ctrl+MToggles the Maximize Active View or Editor actionAll views
Ctrl+NInvokes the New dialogMain window
Shift+Alt+NPops up the New actions menu; see the New action.Main window
Ctrl+OInvokes the Quick Outline action; see the Editor view's Text Area Context Menu table for detailsEditor windows
Ctrl+QInvokes the Last Edit Location actionMain window
Shift+Alt+Q, BOpens the Breakpoints view if it isn't already openMain window
Shift+Alt+Q, COpens the Console view if it isn't already openMain window
Shift+Alt+Q, OOpens the Outline view if it isn't already openMain window
Shift+Alt+Q, QInvokes the Show View actionMain window
Shift+Alt+Q, SOpens a Search view if one isn't already openMain window
Shift+Alt+Q, VOpens the Variables view if it isn't already openMain window
Ctrl+SInvokes the Save actionMain window
Shift+Ctrl+SInvokes the Save All actionMain window
Ctrl+VInvokes the Paste actionMain window and views with context menus
Ctrl+WInvokes the Close actionMain window
Shift+Alt+WInvokes the Show in action; see the Editor view's Text Area Context Menu table for detailsEditor windows
Shift+Ctrl+WInvokes the Close All actionMain window
Ctrl+XInvokes the Cut actionMain window and some views with context menus
Ctrl+YInvokes the Redo actionMain window
Ctrl+ZInvokes the Undo actionMain window

© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.