Qt Creator keyboard shortcuts

Qt Creator  

Zeynel -
6 years ago
- Shortcuts

You don't like stopping coding just for reaching mouse? You can be sure these Qt shortcuts will make your C++ coding time more enjoyable.

1
Ctrl + O

Open file or project

-1
Ctrl + N

New file or project

-1
Alt + V then Alt + I

Open in external editor

0
Ctrl + A

Select all

0
Del

Delete

0
Ctrl + X

Cut

0
Ctrl + C

Copy

0
Ctrl + V

Paste

-1
Ctrl + Y

Redo

-1
Ctrl + P

Print

0
Ctrl + S

Save

0
Ctrl + ↑  Shift + S

Save all

0
Ctrl + W

Close window

0
Ctrl + ↑  Shift + W

Close all

0
Ctrl + F4

Close current file

0
Alt +

Go back

0
Alt +

Go forward

0
Ctrl + L

Go to line

0
Ctrl + ↑  Shift + Tab

Next open document in history

0
Ctrl + E then O

Go to other split

1
Ctrl + Tab

Previous open document in history

0
Ctrl + K

Activate Locator

0
Ctrl + 1

Switch to Welcome mode

0
Ctrl + 2

Switch to Edit mode

0
Ctrl + 3

Switch to Design mode

0
Ctrl + 4

Switch to Debug mode

0
Ctrl + 5

Switch to Projects mode

0
Ctrl + 6

Switch to Help mode

0
Alt + 1

Toggle Issues pane

0
Alt + 2

Toggle Search Results pane

0
Alt + 3

Toggle Application Output pane

-1
Alt + 4

Toggle Compile Output pane

0
Alt + Num 0 - Num 9

Toggle other output panes

0
Alt + M

Activate Bookmarks pane

0
Alt + Y

Activate File System pane

0
Alt + O

Activate Open Documents pane

0
Alt + 9

Maximize output panes

1
F6

Move to next item in output panes

0
↑  Shift + F6

Move to previous item in output panes

0
Alt + X

Activate Projects pane

0
Ctrl + ↑  Shift + F11

Full screen

0
Alt + 0

Toggle the sidebar

0
Ctrl + Z

Undo

0
Esc

Move to Edit mode. First press moves focus to the editor. Second press closes secondary windows

0
Ctrl + Q

Exit Qt Creator

Advertisement

0
Ctrl + I

Auto-indent selection

0
Ctrl + <

Collapse

-1
Ctrl + >

Expand

1
Ctrl + Space

Trigger a completion in this scope

0
Ctrl + Insert

Copy line

0
Ctrl + Alt +

Copy line down

0
Ctrl + Alt +

Copy line up

0
Ctrl + ↑  Shift + V

Paste from the clipboard history (Subsequent presses move you back in the history)

0
↑  Shift + Del

Cut line

0
Ctrl + J

Join lines

0
Ctrl + ↑  Shift + ⤶ Enter

Insert line above current line

0
Ctrl + ⤶ Enter

Insert line below current line

0
Ctrl +

Decrease font size

Advertisement

0
Ctrl +

Increase font size

0
Ctrl + 0

Reset font size

0
Alt + V then Alt + V

Toggle Vim-style editing

0
Ctrl + E then 2

Split

0
Ctrl + E then 3

Split side by side

0
Ctrl + E then 1

Remove all splits

0
Ctrl + E then 0

Remove current split

0
Ctrl + A

Select all

0
Ctrl + ]

Go to block end

0
Ctrl + [

Go to block start

1
Ctrl + ↑  Shift + ]

Go to block end and select the lines between the current cursor position and the end of the block

0
Ctrl + ↑  Shift + [

Go to block start and select the lines between the current cursor position and the beginning of the block

0
Ctrl + U

Select the current block (The second press extends the selection to the parent block. To enable this behavior, select Tools> Options > Text Editor > Behavior > Enable smart selection changing)

0
Ctrl + Alt + ↑  Shift + U

Undo the latest smart block selection

0
Ctrl + ↑  Shift +

Move current line down

0
Ctrl + ↑  Shift +

Move current line up

0
Alt + ⤶ Enter

Trigger a refactoring action in this scope

0
Ctrl + E then R

Rewrap paragraph

0
Ctrl + E then Ctrl + W

Enable text wrapping

0
Ctrl + /

Toggle comment for selection

0
Ctrl + E then Ctrl + V

Visualize whitespace

0
Ctrl + J

Adjust size

0
Ctrl + G

Lay out in a grid

0
Ctrl + H

Lay out horizontally

0
Ctrl + L

Lay out vertically

1
Alt + ↑  Shift + R

Preview

-1
F4

Edit signals and slots

0
Ctrl + M

Toggle bookmark

0
Ctrl + .

Go to next bookmark

0
Ctrl + then Go

to previous bookmark

0
Alt + C then Alt + F

Fetch snippet

0
Alt + C then Alt + P

Paste snippet

-1
Ctrl + ↑  Shift + U

Find usages

1
F2

Follow symbol under cursor (Works with namespaces, classes, functions, variables, include statements and macros)

1
Ctrl + ↑  Shift + R

Rename symbol under cursor

0
↑  Shift + F2

Switch between function declaration and definition

0
Ctrl + ↑  Shift + T

Open type hierarchy

0
F4

Switch between header and source file

0
Alt + U

Turn selected text into lowercase

0
Alt + ↑  Shift + U

Turn selected text into uppercase

0
Ctrl + ↑  Shift + C

Run static checks on JavaScript code to find common problems

0
Ctrl + F

Find and replace

0
F3

Find next

0
↑  Shift + F3

Find previous

0
Ctrl + F3

Find next occurrence of selected text

0
Ctrl + ↑  Shift + F3

Find previous occurrence of selected text

0
Ctrl + =

Replace next

0
Ctrl + ↑  Shift + F

Open advanced find

0
Alt + (

Record a text-editing macro

0
Alt + )

Stop recording a macro

0
Alt + R

Play last macro

-1
Ctrl + Alt + Space

Show Qt Quick toolbars

-1
Alt + V then 1 - 9

(use the number of the user action) Execute user actions in FakeVim mode

0
Ctrl + [

Switch to background

0
Ctrl + ]

Switch to outline

0
Ctrl + +

Zoom in

0
Ctrl + -

Zoom out

0
Ctrl + =

Fit to screen

0
Ctrl + 0

Original size

0
F2

Open the QML file that defines the selected component

0
F4

Move between Text Editor and Form Editor

0
Ctrl + Alt + 0

Toggle left sidebar

0
Ctrl + Alt + ↑  Shift + 0

Toggle right sidebar

0
F5

Start or continue debugging

0
↑  Shift + F5

Exit debugger

0
F10

Step over

0
F11

Step into

0
↑  Shift + F11

Step out

0
F9

Toggle breakpoint

0
Ctrl + F6

Run to selected function

0
Ctrl + F10

Run to line

0
F12

Reverse direction

0
Ctrl + B

Build project

0
Ctrl + ↑  Shift + B

Build all

0
Ctrl + ↑  Shift + N

New project

0
Ctrl + ↑  Shift + O

Open project

0
Ctrl + T

Select the kit to build and run your project with

0
Ctrl + R

Run

1
F1

View context-sensitive help

0
Ctrl + T

Activate contents in Help mode

0
Ctrl + M

Add bookmark in Help mode

0
Ctrl + I

Activate index in Help mode

0
Ctrl + 0

Reset font size

0
Ctrl + S

Activate search in Help mode


Share this page on:
Is this page helpful?
0 0

Program information

Program name: Qt Creator Qt Creator (Developer tools)

Qt Creator is a integrated development environment (IDE) for C++, JavaScript and QML. It is part of the SDK for Qt GUI application development framework. On Linux and FreeBSD, Qt uses compiler from GNU Compiler Collection. On Windows, it can use MinGW or MSVC.

Web page: qt.io

Last update: 11/11/2019 8:10 PM UTC

How easy to press shortcuts: 63%

More information >>

Shortcut count: 171

Platform detected: Windows or Linux

Similar programs



User operations

Add Qt Creator to favorites

Add to favorites

Advertisement


What is your favorite Qt Creator hotkey? Do you have any useful tips for it? Let other users know below.


 
No comments yet. Ask, or type the first one!