forked from qt-creator/qt-creator
Doc: Update keyboard shortcuts
Created separate page for QDS. Reviewed and updated shortcut list. Fixes: QDS-9499 Change-Id: I27d7dac386570c81958b8af5da2987143162aab4 Reviewed-by: Mats Honkamaa <mats.honkamaa@qt.io>
This commit is contained in:
committed by
Teea Põldsam
parent
9fedced0ac
commit
dccd828f1f
137
doc/qtcreator/src/howto/creator-keyboard-preferences.qdoc
Normal file
137
doc/qtcreator/src/howto/creator-keyboard-preferences.qdoc
Normal file
@@ -0,0 +1,137 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
||||
|
||||
// **********************************************************************
|
||||
// NOTE: the sections are not ordered by their logical order to avoid
|
||||
// reshuffling the file each time the index order changes (i.e., often).
|
||||
// Run the fixnavi.pl script to adjust the links to the index order.
|
||||
// **********************************************************************
|
||||
|
||||
/*!
|
||||
\page creator-how-to-assign-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage qtdesignstudio-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\ingroup creator-how-to-ui
|
||||
|
||||
\title Assign keyboard shortcuts
|
||||
|
||||
If your favorite keyboard shortcut is missing, you can add it. Also, you can
|
||||
assign your own keyboard shortcuts for functions that you can easily perform
|
||||
with a mouse, and that therefore do not appear in menus or have default
|
||||
keyboard shortcuts. For example, selecting and deleting words or lines in an
|
||||
editor.
|
||||
|
||||
To change an existing keyboard shortcut or assign a new one:
|
||||
|
||||
\list 1
|
||||
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
|
||||
\li Select a command from the list.
|
||||
|
||||
\li In the \uicontrol{Key Sequence} field, you have the following
|
||||
options:
|
||||
|
||||
\list
|
||||
|
||||
\li Enter the shortcut key you want to associate with the
|
||||
selected command.
|
||||
|
||||
\li Record a key sequence.
|
||||
|
||||
\endlist
|
||||
|
||||
\li To assign multiple keyboard shortcuts to a function, select
|
||||
\uicontrol Add, and enter or record an additional key combination.
|
||||
|
||||
\li To revert to the default shortcut, select \uicontrol Reset.
|
||||
|
||||
\endlist
|
||||
|
||||
\section1 Record key sequences
|
||||
|
||||
\list 1
|
||||
\li Select \uicontrol Record.
|
||||
\li Press the keys to use as the keyboard shortcut.
|
||||
\li Select \uicontrol {Stop Recording} when you are done.
|
||||
\endlist
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Find keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page creator-how-to-find-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage qtdesignstudio-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\ingroup creator-how-to-ui
|
||||
|
||||
\title Find keyboard shortcuts
|
||||
|
||||
\QC has many useful keyboard shortcuts. You can see the keyboard shortcut for
|
||||
a menu command in the menu or the tooltip for a button or in the keyboard
|
||||
preferences.
|
||||
|
||||
To look up keyboard shortcuts:
|
||||
|
||||
\list 1
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
\li Start typing the name of a function or shortcut in the
|
||||
\uicontrol Filter field.
|
||||
\endlist
|
||||
|
||||
You can change the existing keyboard shortcuts or import and export them.
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Assign keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page creator-how-to-change-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage qtdesignstudio-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\title Import and export keyboard shortcuts
|
||||
|
||||
You can use different keyboard shortcut mapping schemes that are stored as
|
||||
.kms files.
|
||||
|
||||
To import and export keyboard shortcut mapping schemes:
|
||||
|
||||
\list 1
|
||||
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
|
||||
\li To import a keyboard shortcut mapping scheme, click \uicontrol Import
|
||||
and select the .kms file that has the keyboard shortcut mapping scheme
|
||||
you want to import.
|
||||
|
||||
\li To export the current keyboard shortcut mapping scheme, click
|
||||
\uicontrol Export and select the location where you want to save the
|
||||
exported .kms file.
|
||||
|
||||
\endlist
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Assign keyboard shortcuts},
|
||||
{Find keyboard shortcuts}
|
||||
*/
|
@@ -11,9 +11,10 @@
|
||||
\page creator-project-managing-sessions.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage creator-project-managing-workspaces.html
|
||||
\nextpage creator-keyboard-shortcuts.html
|
||||
\nextpage qtdesignstudio-keyboard-shortcuts.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
\nextpage creator-keyboard-shortcuts.html
|
||||
\endif
|
||||
|
||||
\ingroup creator-how-to-use
|
||||
|
@@ -9,12 +9,7 @@
|
||||
|
||||
/*!
|
||||
\page creator-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage creator-project-managing-sessions.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-reference.html
|
||||
\endif
|
||||
|
||||
\ingroup creator-reference
|
||||
|
||||
@@ -33,15 +28,14 @@
|
||||
context. If several functions are available for the same shortcut at a
|
||||
time, there is a conflict and \QC cannot execute any function.
|
||||
|
||||
A keyboard shortcut might also conflict with a shortcut that a Window
|
||||
A keyboard shortcut might also conflict with a shortcut that a window
|
||||
manager uses for its own purposes. In that case, \QC shortcuts do not work.
|
||||
Typically, you can configure the shortcuts in the window manager, but if
|
||||
that is not allowed, you can change the \QC shortcuts.
|
||||
\if defined(qtcreator)
|
||||
|
||||
For example, Unity on
|
||||
Ubuntu 11.10 uses \key F10 in its window manager, and therefore the default
|
||||
\QC keyboard shortcut \key F10 (Step Over) does not work on that system.
|
||||
\endif
|
||||
|
||||
|
||||
To override the platform default value that determines whether
|
||||
@@ -128,11 +122,9 @@
|
||||
\row
|
||||
\li Previous open document in history
|
||||
\li Ctrl+Tab
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Activate \uicontrol Locator
|
||||
\li Ctrl+K
|
||||
\endif
|
||||
\row
|
||||
\li Switch to \uicontrol Welcome mode
|
||||
\li Ctrl+1
|
||||
@@ -168,11 +160,9 @@
|
||||
\li Alt+number (Cmd+number on \macos)
|
||||
|
||||
Where the number is the number of the view.
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Activate \uicontrol Bookmarks view
|
||||
\li Alt+M
|
||||
\endif
|
||||
\row
|
||||
\li Activate \uicontrol{File System} view
|
||||
\li Alt+Y
|
||||
@@ -200,7 +190,6 @@
|
||||
\row
|
||||
\li Undo
|
||||
\li Ctrl+Z
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Move to \uicontrol Edit mode
|
||||
|
||||
@@ -210,7 +199,6 @@
|
||||
\li The second press closes secondary windows
|
||||
\endlist
|
||||
\li Esc
|
||||
\endif
|
||||
\row
|
||||
\li Exit \QC
|
||||
|
||||
@@ -343,7 +331,6 @@
|
||||
\row
|
||||
\li Visualize whitespace
|
||||
\li Ctrl+E, Ctrl+V
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Toggle bookmark
|
||||
\li Ctrl+M
|
||||
@@ -359,24 +346,19 @@
|
||||
\row
|
||||
\li Paste snippet
|
||||
\li Alt+C, Alt+P
|
||||
\endif
|
||||
\row
|
||||
\li Find references to symbol under cursor
|
||||
\li Ctrl+Shift+U
|
||||
\if defined(qtcreator)
|
||||
\note If this keyboard shortcut does not work on Linux, see
|
||||
\l {Editing Issues}.
|
||||
\endif
|
||||
\row
|
||||
\li Follow symbol under cursor
|
||||
|
||||
Works with namespaces, classes, functions, variables, include
|
||||
statements, and macros, as well as CMake functions, macros,
|
||||
targets, and packages. Also, opens URLs in the default browser
|
||||
\if defined(qtcreator)
|
||||
and Qt resource files (.qrc) in the \l{Resource Files}
|
||||
{resource editor}
|
||||
\endif
|
||||
\li F2
|
||||
\row
|
||||
\li Rename symbol under cursor
|
||||
@@ -387,11 +369,9 @@
|
||||
\row
|
||||
\li Open type hierarchy
|
||||
\li Ctrl+Shift+T
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Switch between header and source file
|
||||
\li F4
|
||||
\endif
|
||||
\row
|
||||
\li Add a cursor at the next occurrence of selected text for
|
||||
multi-cursor editing
|
||||
@@ -429,7 +409,6 @@
|
||||
\row
|
||||
\li Open advanced find
|
||||
\li Ctrl+Shift+F
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Record a text-editing macro
|
||||
\li Alt+[
|
||||
@@ -445,10 +424,8 @@
|
||||
\row
|
||||
\li Execute user actions in FakeVim mode
|
||||
\li Alt+Y, n, where n is the number of the user action, from 1 to 9
|
||||
\endif
|
||||
\endtable
|
||||
|
||||
\if defined(qtcreator)
|
||||
\section1 Emacs Shortcuts
|
||||
|
||||
You can specify shortcuts for executing actions in a way that is familiar to
|
||||
@@ -535,35 +512,7 @@
|
||||
\li Original size
|
||||
\li Ctrl+0
|
||||
\endtable
|
||||
\endif
|
||||
|
||||
\if defined(qtdesignstudio)
|
||||
\section1 Design Mode Keyboard Shortcuts
|
||||
|
||||
You can use the following keyboard shortcuts when editing QML files in the
|
||||
\uicontrol Design mode.
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Open the QML file that defines the selected component
|
||||
\li F2
|
||||
\row
|
||||
\li Move between \uicontrol the {Code} and
|
||||
\uicontrol {2D} views
|
||||
\li F4
|
||||
\row
|
||||
\li Toggle left sidebar
|
||||
\li Ctrl+Alt+0
|
||||
\row
|
||||
\li Toggle right sidebar
|
||||
\li Ctrl+Alt+Shift+0
|
||||
\endtable
|
||||
\endif
|
||||
|
||||
\if defined(qtcreator)
|
||||
\section1 Debugging Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
@@ -601,7 +550,6 @@
|
||||
\li Reverse direction
|
||||
\li F12
|
||||
\endtable
|
||||
\endif
|
||||
|
||||
\section1 Project Keyboard Shortcuts
|
||||
|
||||
@@ -609,25 +557,21 @@
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Build project
|
||||
\li Ctrl+B
|
||||
\row
|
||||
\li Build all
|
||||
\li Ctrl+Shift+B
|
||||
\endif
|
||||
\row
|
||||
\li New project
|
||||
\li Ctrl+Shift+N
|
||||
\row
|
||||
\li Open project
|
||||
\li Ctrl+Shift+O
|
||||
\if defined(qtcreator)
|
||||
\row
|
||||
\li Select the \l{glossary-buildandrun-kit}{kit} to build and run your project with
|
||||
\li Ctrl+T
|
||||
\endif
|
||||
\row
|
||||
\li Run
|
||||
\li Ctrl+R
|
||||
@@ -661,7 +605,6 @@
|
||||
|
||||
\section1 Version Control Keyboard Shortcuts
|
||||
|
||||
\if defined(qtcreator)
|
||||
\table
|
||||
\header
|
||||
\li {1,2} Action
|
||||
@@ -762,171 +705,7 @@
|
||||
\li Alt+P, Alt+O
|
||||
\li
|
||||
\endtable
|
||||
\else
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Stage file for commit
|
||||
\li Alt+G, Alt+A
|
||||
\row
|
||||
\li Commit
|
||||
\li Alt+G, Alt+C
|
||||
\row
|
||||
\li Diff current file
|
||||
\li Alt+G, Alt+D
|
||||
\row
|
||||
\li Diff project
|
||||
\li Alt+G, Alt+Shift+D
|
||||
\row
|
||||
\li Blame
|
||||
\li Alt+G, Alt+B
|
||||
\row
|
||||
\li Log current file
|
||||
\li Alt+G, Alt+L
|
||||
\row
|
||||
\li Log project
|
||||
\li Alt+G, Alt+K
|
||||
\row
|
||||
\li Reset
|
||||
\li Alt+G, Alt+U
|
||||
\endtable
|
||||
\endif
|
||||
|
||||
\sa {Assign keyboard shortcuts}, {Find keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
|
||||
\if defined(qtcreator)
|
||||
\sa {Enable and disable plugins}
|
||||
\endif
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page creator-how-to-assign-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage creator-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\ingroup creator-how-to-ui
|
||||
|
||||
\title Assign keyboard shortcuts
|
||||
|
||||
If your favorite keyboard shortcut is missing, you can add it. Also, you can
|
||||
assign your own keyboard shortcuts for functions that you can easily perform
|
||||
with a mouse, and that therefore do not appear in menus or have default
|
||||
keyboard shortcuts. For example, selecting and deleting words or lines in an
|
||||
editor.
|
||||
|
||||
To change an existing keyboard shortcut or assign a new one:
|
||||
|
||||
\list 1
|
||||
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
|
||||
\li Select a command from the list.
|
||||
|
||||
\li In the \uicontrol{Key Sequence} field, you have the following
|
||||
options:
|
||||
|
||||
\list
|
||||
|
||||
\li Enter the shortcut key you want to associate with the
|
||||
selected command.
|
||||
|
||||
\li Record a key sequence.
|
||||
|
||||
\endlist
|
||||
|
||||
\li To assign multiple keyboard shortcuts to a function, select
|
||||
\uicontrol Add, and enter or record an additional key combination.
|
||||
|
||||
\li To revert to the default shortcut, select \uicontrol Reset.
|
||||
|
||||
\endlist
|
||||
|
||||
\section1 Record key sequences
|
||||
|
||||
\list 1
|
||||
\li Select \uicontrol Record.
|
||||
\li Press the keys to use as the keyboard shortcut.
|
||||
\li Select \uicontrol {Stop Recording} when you are done.
|
||||
\endlist
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Find keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page creator-how-to-find-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage creator-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\ingroup creator-how-to-ui
|
||||
|
||||
\title Find keyboard shortcuts
|
||||
|
||||
\QC has many useful keyboard shortcuts. You can see the keyboard shortcut for
|
||||
a menu command in the menu or the tooltip for a button or in the keyboard
|
||||
preferences.
|
||||
|
||||
To look up keyboard shortcuts:
|
||||
|
||||
\list 1
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
\li Start typing the name of a function or shortcut in the
|
||||
\uicontrol Filter field.
|
||||
\endlist
|
||||
|
||||
You can change the existing keyboard shortcuts or import and export them.
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Assign keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
*/
|
||||
|
||||
/*!
|
||||
\page creator-how-to-change-keyboard-shortcuts.html
|
||||
\if defined(qtdesignstudio)
|
||||
\previouspage creator-keyboard-shortcuts.html
|
||||
\nextpage studio-projects.html
|
||||
\else
|
||||
\previouspage creator-how-tos.html
|
||||
|
||||
\endif
|
||||
|
||||
\title Import and export keyboard shortcuts
|
||||
|
||||
You can use different keyboard shortcut mapping schemes that are stored as
|
||||
.kms files.
|
||||
|
||||
To import and export keyboard shortcut mapping schemes:
|
||||
|
||||
\list 1
|
||||
|
||||
\li Select \preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
\image qtcreator-keyboard-shortcuts.png {Keyboard preferences}
|
||||
|
||||
\li To import a keyboard shortcut mapping scheme, click \uicontrol Import
|
||||
and select the .kms file that has the keyboard shortcut mapping scheme
|
||||
you want to import.
|
||||
|
||||
\li To export the current keyboard shortcut mapping scheme, click
|
||||
\uicontrol Export and select the location where you want to save the
|
||||
exported .kms file.
|
||||
|
||||
\endlist
|
||||
|
||||
\sa {Keyboard Shortcuts}, {Assign keyboard shortcuts},
|
||||
{Find keyboard shortcuts}
|
||||
{Import and export keyboard shortcuts}, {Enable and disable plugins}
|
||||
*/
|
@@ -3,7 +3,7 @@
|
||||
|
||||
/*!
|
||||
\page studio-projects.html
|
||||
\previouspage creator-keyboard-shortcuts.html
|
||||
\previouspage qtdesignstudio-keyboard-shortcuts.html
|
||||
\nextpage studio-use-cases.html
|
||||
|
||||
\title Creating Projects
|
||||
|
@@ -0,0 +1,465 @@
|
||||
// Copyright (C) 2024 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
|
||||
|
||||
/*!
|
||||
\page studio-keyboard-shortcuts.html
|
||||
\previouspage creator-project-managing-sessions.html
|
||||
\nextpage studio-projects.html
|
||||
|
||||
\title Keyboard Shortcuts
|
||||
|
||||
\brief Default keyboard shortcuts.
|
||||
|
||||
\QDS has various keyboard shortcuts that speed up your development process.
|
||||
To view all \QDS functions in and their keyboard shortcuts, select
|
||||
\preferences > \uicontrol Environment > \uicontrol Keyboard.
|
||||
|
||||
\image qtcreator-keyboard-shortcuts.png
|
||||
|
||||
The shortcuts that are displayed in red color are associated with several
|
||||
functions. \QDS executes the function that is available in the current
|
||||
context. If several functions are available for the same shortcut at a
|
||||
time, there is a conflict and \QDS cannot execute any function.
|
||||
|
||||
A keyboard shortcut might also conflict with a shortcut that a window
|
||||
manager uses for its own purposes. In that case, \QDS shortcuts do not work.
|
||||
Typically, you can configure the shortcuts in the window manager, but if
|
||||
that is not allowed, you can change the \QDS shortcuts.
|
||||
|
||||
|
||||
To override the platform default value that determines whether
|
||||
keyboard shortcuts are shown in the labels of context menu items,
|
||||
select \preferences > \uicontrol Environment >
|
||||
\uicontrol Interface. The label of the \uicontrol {Show keyboard shortcuts
|
||||
in context menus} check box indicates whether the platform default value
|
||||
is \c on or \c off.
|
||||
|
||||
\image qtcreator-preferences-environment-interface.webp {Interface tab in Environment preferences}
|
||||
|
||||
The following tables list the default keyboard shortcuts. They are
|
||||
categorized by actions.
|
||||
|
||||
\section1 General Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Open file or project
|
||||
\li \key{Ctrl+O}
|
||||
\row
|
||||
\li New project
|
||||
\li \key{Ctrl+Shift+N}
|
||||
\row
|
||||
\li New file
|
||||
\li \key{Ctrl+N}
|
||||
\row
|
||||
\li Select all
|
||||
\li \key{Ctrl+A}
|
||||
\row
|
||||
\li Delete
|
||||
\li \key{Del}
|
||||
\row
|
||||
\li Cut
|
||||
\li \key{Ctrl+X}
|
||||
\row
|
||||
\li Copy
|
||||
\li \key{Ctrl+C}
|
||||
\row
|
||||
\li Paste
|
||||
\li \key{Ctrl+V}
|
||||
\row
|
||||
\li Undo
|
||||
\li \key{Ctrl+Z}
|
||||
\row
|
||||
\li Redo
|
||||
\li \key{Ctrl+Y}
|
||||
\row
|
||||
\li Print
|
||||
\li \key{Ctrl+P}
|
||||
\row
|
||||
\li Save
|
||||
\li \key{Ctrl+S}
|
||||
\row
|
||||
\li Save all
|
||||
\li \key{Ctrl+Shift+S}
|
||||
\row
|
||||
\li Close window
|
||||
\li \key{Ctrl+W}
|
||||
\row
|
||||
\li Close all
|
||||
\li \key{Ctrl+Shift+W}
|
||||
\row
|
||||
\li Close current file
|
||||
\li \key{Ctrl+F4}
|
||||
\row
|
||||
\li Go back
|
||||
\li \key{Alt+Left}
|
||||
\row
|
||||
\li Go forward
|
||||
\li \key{Alt+Right}
|
||||
\row
|
||||
\li Go to line
|
||||
\li \key{Ctrl+L}
|
||||
\row
|
||||
\li Locate files and other content within the project
|
||||
\li \key{Ctrl+K}
|
||||
\row
|
||||
\li Next open document in history
|
||||
\li \key{Ctrl+Shift+Tab}
|
||||
\row
|
||||
\li Previous open document in history
|
||||
\li \key{Ctrl+Tab}
|
||||
\row
|
||||
\li Switch to \uicontrol Welcome mode
|
||||
\li \key{Ctrl+1}
|
||||
\row
|
||||
\li Switch to \uicontrol Edit mode
|
||||
\li \key{Ctrl+2}
|
||||
\row
|
||||
\li Switch to \uicontrol Design mode
|
||||
\li \key{Ctrl+3}
|
||||
\row
|
||||
\li Switch to \uicontrol Debug mode
|
||||
\li \key{Ctrl+4}
|
||||
\row
|
||||
\li Switch to \uicontrol Projects mode
|
||||
\li \key{Ctrl+5}
|
||||
\row
|
||||
\li Switch to \uicontrol Help mode
|
||||
\li \key{Ctrl+6}
|
||||
\row
|
||||
\li Toggle \uicontrol{Issues}
|
||||
\li \key{Alt+1} (\key{Cmd+1} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{Search Results}
|
||||
\li \key{Alt+2} (\key{Cmd+2} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{Application Output}
|
||||
\li \key{Alt+3} (\key{Cmd+3} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{Compile Output}
|
||||
\li \key{Alt+4} (\key{Cmd+4} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{Terminal}
|
||||
\li \key{Alt+5} (\key{Cmd+5} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{Version Control}
|
||||
\li \key{Alt+6} (\key{Cmd+6} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{QML Debugger Console}
|
||||
\li \key{Alt+7} (\key{Cmd+7} on \macos)
|
||||
\row
|
||||
\li Toggle \uicontrol{General Messages}
|
||||
\li \key{Alt+8} (\key{Cmd+8} on \macos)
|
||||
\row
|
||||
\li Maximize output views
|
||||
\li \key{Alt+Shift+9}
|
||||
\row
|
||||
\li Move to next item in output
|
||||
\li \key{F6}
|
||||
\row
|
||||
\li Move to previous item in output
|
||||
\li \key{Shift+F6}
|
||||
\row
|
||||
\li Activate \uicontrol Projects view
|
||||
\li \key{Alt+X}
|
||||
\row
|
||||
\li Activate \uicontrol{Open Documents} view
|
||||
\li \key{Alt+O}
|
||||
\row
|
||||
\li Activate \uicontrol{File System} view
|
||||
\li \key{Alt+Y}, \key{Alt+F}
|
||||
\row
|
||||
\li Toggle left sidebar
|
||||
\li \key{Alt+0} (\key{Cmd+0} on \macos)
|
||||
\row
|
||||
\li Toggle right sidebar
|
||||
\li \key{Alt+Shift+0}
|
||||
\row
|
||||
\li Full screen
|
||||
\li \key{Ctrl+Shift+F11}
|
||||
\row
|
||||
\li Exit \QDS
|
||||
|
||||
By default, \QDS exits without asking for confirmation, unless
|
||||
there are unsaved changes in open files. To always be asked,
|
||||
select the \uicontrol {Ask for confirmation before exiting}
|
||||
check box in \preferences > \uicontrol Environment >
|
||||
\uicontrol System.
|
||||
\li \key{Ctrl+Q}
|
||||
\endtable
|
||||
|
||||
\section1 Design Mode Keyboard Shortcuts
|
||||
|
||||
You can use the following keyboard shortcuts when editing QML files in the
|
||||
\uicontrol Design mode.
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Open the QML file that defines the selected component
|
||||
\li \key{F2}
|
||||
\row
|
||||
\li Jump to the \uicontrol {Code} view.
|
||||
\li \key{F4}
|
||||
\endtable
|
||||
|
||||
\section1 Editing Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Auto-indent selection
|
||||
\li \key{Ctrl+I}
|
||||
\row
|
||||
\li Collapse
|
||||
\li \key{Ctrl+<}
|
||||
\row
|
||||
\li Expand
|
||||
\li \key{Ctrl+>}
|
||||
\row
|
||||
\li Trigger a completion in this scope
|
||||
\li \key{Ctrl+Space}
|
||||
\row
|
||||
\li Display tooltips for function signatures regardless of the
|
||||
cursor position in the function call
|
||||
\li \key{Ctrl+Shift+D}
|
||||
\row
|
||||
\li Copy line
|
||||
\li \key{Ctrl+Ins}
|
||||
\row
|
||||
\li Copy line down
|
||||
\li \key{Ctrl+Alt+Down}
|
||||
\row
|
||||
\li Copy line up
|
||||
\li \key{Ctrl+Alt+Up}
|
||||
\row
|
||||
\li Paste from the clipboard history
|
||||
\li \key{Ctrl+Shift+V}
|
||||
\row
|
||||
\li Cut line
|
||||
\li \key{Shift+Del}
|
||||
\row
|
||||
\li Join lines
|
||||
\li \key{Ctrl+J}
|
||||
\row
|
||||
\li Insert line above current line
|
||||
\li \key{Ctrl+Shift+Enter}
|
||||
\row
|
||||
\li Insert line below current line
|
||||
\li \key{Ctrl+Enter}
|
||||
\row
|
||||
\li Decrease font size
|
||||
\li \key{Ctrl+-} (\key{Ctrl+Roll mouse wheel down})
|
||||
\row
|
||||
\li Increase font size
|
||||
\li \key{Ctrl++} (\key{Ctrl+Roll mouse wheel up})
|
||||
\row
|
||||
\li Reset font size
|
||||
\li \key{Ctrl+0}
|
||||
\row
|
||||
\li Split
|
||||
\li \key{Ctrl+E}, \key{2}
|
||||
\row
|
||||
\li Split side by side
|
||||
\li \key{Ctrl+E}, \key{3}
|
||||
\row
|
||||
\li Remove all splits
|
||||
\li \key{Ctrl+E}, \key{1}
|
||||
\row
|
||||
\li Remove current split
|
||||
\li \key{Ctrl+E}, \key{0}
|
||||
\row
|
||||
\li Go to next split
|
||||
\li \key{Ctrl+E, O}
|
||||
\row
|
||||
\li Select all
|
||||
\li \key{Ctrl+A}
|
||||
\row
|
||||
\li Go to block end
|
||||
\li \key{Ctrl+]}
|
||||
\row
|
||||
\li Go to block start
|
||||
\li \key{Ctrl+[}
|
||||
\row
|
||||
\li Go to block end and select the lines between the current cursor
|
||||
position and the end of the block
|
||||
\li \key{Ctrl+Shift+]}
|
||||
\row
|
||||
\li Go to block start and select the lines between the current
|
||||
cursor position and the beginning of the block
|
||||
\li \key{Ctrl+Shift+[}
|
||||
\row
|
||||
\li Select the current block
|
||||
|
||||
The second press extends the selection to the parent block. To
|
||||
enable this behavior, select \preferences >
|
||||
\uicontrol {Text Editor} > \uicontrol Behavior >
|
||||
\uicontrol {Enable smart selection changing}.
|
||||
\li \key{Ctrl+U}
|
||||
\row
|
||||
\li Undo the latest smart block selection
|
||||
\li \key{Ctrl+Alt+Shift+U}
|
||||
\row
|
||||
\li Move current line down
|
||||
\li \key{Ctrl+Shift+Down}
|
||||
\row
|
||||
\li Move current line up
|
||||
\li \key{Ctrl+Shift+Up}
|
||||
\row
|
||||
\li Trigger a refactoring action in this scope
|
||||
\li \key{Alt+Enter}
|
||||
\row
|
||||
\li Rewrap paragraph
|
||||
\li \key{Ctrl+E}, \key{R}
|
||||
\row
|
||||
\li Enable text wrapping
|
||||
\li \key{Ctrl+E}, \key{Ctrl+W}
|
||||
\row
|
||||
\li Toggle comment for selection
|
||||
\li \key{Ctrl+/}
|
||||
\row
|
||||
\li Visualize whitespace
|
||||
\li \key{Ctrl+E}, \key{Ctrl+V}
|
||||
\row
|
||||
\li Find references to symbol under cursor
|
||||
\li \key{Ctrl+Shift+U}
|
||||
\row
|
||||
\li Follow symbol under cursor
|
||||
|
||||
Works with namespaces, classes, functions, variables, include
|
||||
statements, and macros, as well as CMake functions, macros,
|
||||
targets, and packages. Also, opens URLs in the default browser.
|
||||
\li \key{F2}
|
||||
\row
|
||||
\li Rename symbol under cursor
|
||||
\li \key{Ctrl+Shift+R}
|
||||
\row
|
||||
\li Switch between function declaration and definition
|
||||
\li \key{Shift+F2}
|
||||
\row
|
||||
\li Open type hierarchy
|
||||
\li \key{Ctrl+Shift+T}
|
||||
\row
|
||||
\li Add a cursor at the next occurrence of selected text for
|
||||
multi-cursor editing
|
||||
\li \key{Ctrl+D}
|
||||
\row
|
||||
\li Turn selected text into lowercase
|
||||
\li \key{Alt+U}
|
||||
\row
|
||||
\li Turn selected text into uppercase
|
||||
\li \key{Alt+Shift+U}
|
||||
\row
|
||||
\li Sort selected lines alphabetically
|
||||
\li \key{Alt+Shift+S}
|
||||
\row
|
||||
\li Run static checks on JavaScript code to find common problems
|
||||
\li \key{Ctrl+Shift+C}
|
||||
\row
|
||||
\li Find and replace
|
||||
\li \key{Ctrl+F}
|
||||
\row
|
||||
\li Find next
|
||||
\li \key{F3}
|
||||
\row
|
||||
\li Find previous
|
||||
\li \key{Shift+F3}
|
||||
\row
|
||||
\li Find next occurrence of selected text
|
||||
\li \key{Ctrl+F3}
|
||||
\row
|
||||
\li Find previous occurrence of selected text
|
||||
\li \key{Ctrl+Shift+F3}
|
||||
\row
|
||||
\li Replace next
|
||||
\li \key{Ctrl+=}
|
||||
\row
|
||||
\li Open advanced find
|
||||
\li \key{Ctrl+Shift+F}
|
||||
\endtable
|
||||
|
||||
\section1 Project Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li New project
|
||||
\li \key{Ctrl+Shift+N}
|
||||
\row
|
||||
\li Load project
|
||||
\li \key{Ctrl+Shift+O}
|
||||
\row
|
||||
\li Run
|
||||
\li \key{Ctrl+R}
|
||||
\endtable
|
||||
|
||||
\section1 Help Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li View context-sensitive help
|
||||
\li \key{F1}
|
||||
\row
|
||||
\li Add bookmark in \uicontrol Help mode
|
||||
\li \key{Ctrl+M}
|
||||
\row
|
||||
\li Activate index in \uicontrol Help mode
|
||||
\li \key{Ctrl+Shift+I}
|
||||
\row
|
||||
\li Activate search in \uicontrol Help mode
|
||||
\li \key{Ctrl+Shift+/}
|
||||
\row
|
||||
\li Activate bookmarks in \uicontrol Help mode
|
||||
\li \key{ Ctrl+Shift+B}
|
||||
\row
|
||||
\li Activate contents in \uicontrol Help mode
|
||||
\li \key{Ctrl+Shift+C}
|
||||
\endtable
|
||||
|
||||
\section1 Version Control Keyboard Shortcuts
|
||||
|
||||
\table
|
||||
\header
|
||||
\li Action
|
||||
\li Keyboard shortcut
|
||||
\row
|
||||
\li Stage file for commit
|
||||
\li \key{Alt+G}, \key{Alt+A}
|
||||
\row
|
||||
\li Commit
|
||||
\li \key{Alt+G}, \key{Alt+C}
|
||||
\row
|
||||
\li Diff current file
|
||||
\li \key{Alt+G}, \key{Alt+D}
|
||||
\row
|
||||
\li Diff project
|
||||
\li \key{Alt+G}, \key{Alt+Shift+D}
|
||||
\row
|
||||
\li Blame
|
||||
\li \key{Alt+G}, \key{Alt+B}
|
||||
\row
|
||||
\li Log current file
|
||||
\li \key{Alt+G}, \key{Alt+L}
|
||||
\row
|
||||
\li Log project
|
||||
\li \key{Alt+G}, \key{Alt+K}
|
||||
\row
|
||||
\li Reset
|
||||
\li \key{Alt+G}, \key{Alt+U}
|
||||
\endtable
|
||||
|
||||
\sa {Assign keyboard shortcuts}, {Find keyboard shortcuts},
|
||||
{Import and export keyboard shortcuts}
|
||||
*/
|
Reference in New Issue
Block a user