KDevelop Keyboard Shortcuts: The Complete List

Quick answer: The most-used KDevelop shortcuts are Ctrl+Alt+O (Quick Open file), Ctrl+. and Ctrl+, (jump to declaration/definition), Ctrl+D (comment out code), F9/F10/F11/F12 (debugger run/step), and F8 (build). KDevelop is built on the KDE/Kate editor framework, so it also uses all the standard KDE editing shortcuts, and almost every shortcut is fully remappable under Settings → Configure Keyboard Shortcuts.

KDevelop is a free, open-source integrated development environment (IDE) maintained by the KDE community, built on the Qt framework and the KTextEditor (Kate) editing engine. It is most commonly used for C, C++, Python, and PHP development on Linux, with builds also available for Windows and macOS. Because it inherits Kate’s editor, many of its shortcuts match other KDE applications, while its navigation, refactoring, and debugging keys are specific to the IDE.

This guide lists the verified default shortcuts, organized by task, and shows you how to view or change any of them inside KDevelop. A free downloadable PDF cheat sheet is linked at the bottom.

Most-Used KDevelop Shortcuts

ActionShortcut
New fileCtrl + N
Open fileCtrl + O
Save fileCtrl + S
Save allCtrl + L
PrintCtrl + P
Close current fileCtrl + W
Quit KDevelopCtrl + Q
UndoCtrl + Z
RedoCtrl + Shift + Z
CutCtrl + X
CopyCtrl + C
PasteCtrl + V
Select allCtrl + A
Go to lineCtrl + G

Navigation Shortcuts (Jumping Around Code)

ActionShortcut
Quick open fileCtrl + Alt + O
Quick open classCtrl + Alt + C
Quick open functionCtrl + Alt + M
Universal quick open (file, class, or function)Ctrl + Alt + Q
Outline of the current fileCtrl + Alt + N
Jump to definition (cursor on a declaration)Ctrl + ,
Jump to declaration (cursor in a definition)Ctrl + .
Jump to next functionCtrl + Alt + Page Down
Jump to previous functionCtrl + Alt + Page Up
Go to lineCtrl + G

Code Editing & Commenting Shortcuts

ActionShortcut
Comment out selection or current lineCtrl + D
Uncomment selection or current lineCtrl + Shift + D
Document the current function (Doxygen-style stub)Alt + Shift + D
Collapse one fold levelCtrl + _
Expand one fold levelCtrl + +
Transpose current and previous characterCtrl + T
Delete the current lineCtrl + K
Trigger code completionCtrl + Space

Search & Replace Shortcuts

ActionShortcut
FindCtrl + F
Find nextF3
Find previousShift + F3
ReplaceCtrl + R
Find/Replace across multiple filesCtrl + Alt + F

Building & Running Shortcuts

ActionShortcut
Build (build selected target)F8
Execute / run the launch configurationShift + F9

Debugging Shortcuts

KDevelop maps the common debugger actions onto a single block of function keys so they’re easy to memorize. These bindings come from KDevelop’s own development history.

ActionShortcut
Run / Continue in debuggerF9
Step overF10
Step intoF11
Step outF12
Start Debug LaunchAlt + F9
Toggle breakpoint(no default — set via Run menu or right-click)

How to Customize KDevelop Shortcuts

Every shortcut in KDevelop can be changed, and you can also build your own scheme from scratch.

  1. Open Settings → Configure Keyboard Shortcuts.
  2. Type part of an action name in the search box at the top to filter the list.
  3. Click the action, then press the key combination you want to assign.
  4. If the combination is already in use, KDevelop warns you and lets you reassign it.
  5. To start clean, click Details → New to create a fresh scheme; you can switch between schemes for reference.

Two popular customizations from the KDE community: bind Align to Tab so the editor auto-indents code for you, and move Toggle Breakpoint onto Ctrl+B since it’s used so often.

Download the KDevelop Shortcuts PDF

Grab a printable one-page cheat sheet of every shortcut above: Download KDevelop Shortcuts PDF

KDevelop Shortcuts on Linux, Windows & macOS

KDevelop runs primarily on Linux but ships for Windows and macOS too. The shortcuts are the same across platforms with one substitution: on macOS, the Ctrl key in these tables generally maps to Command (⌘), following standard Qt/macOS conventions. Function keys (F8–F12) behave the same everywhere, though on some Mac keyboards you may need to hold fn to send a raw function key.

PlatformModifier behavior
LinuxCtrl, Alt, Shift as listed
WindowsCtrl, Alt, Shift as listed
macOSCtrl → ⌘ (Command); function keys may need fn

Frequently Asked Questions

What is the shortcut to open a file quickly in KDevelop?

Press Ctrl + Alt + O for Quick Open File, then type part of the filename to jump to any file in your session’s projects.

How do I jump to a function’s definition or declaration?

Place the cursor on a declaration and press Ctrl + , to go to the definition; press Ctrl + . while in a definition to jump back to the declaration.

How do I comment out code in KDevelop?

Select the lines and press Ctrl + D to comment them out, or Ctrl + Shift + D to uncomment.

What are the debugging shortcuts in KDevelop?

F9 runs or continues, F10 steps over, F11 steps into, and F12 steps out. Alt + F9 starts a Debug Launch.

Why does a shortcut show an “ambiguous” warning?

Two actions share the same key. Open Settings → Configure Keyboard Shortcuts, find the conflicting actions, and reassign one of them.

Can I change KDevelop shortcuts to match Vim or another IDE?

Yes. Every binding is editable under Settings → Configure Keyboard Shortcuts, and you can create and switch between custom schemes.

Where is the official KDevelop shortcut list?

The KDE Handbook documents the editor and navigation shortcuts at docs.kde.org, and the definitive list for your version is always inside Settings → Configure Keyboard Shortcuts.

Final Thoughts

Mastering these shortcuts turns KDevelop from a capable editor into a fast, keyboard-driven IDE the Quick Open and jump-to-declaration keys alone save hundreds of mouse trips a day on a large C or C++ codebase. Start with the handful you’ll use constantly (Ctrl+Alt+O, Ctrl+., Ctrl+,, Ctrl+D, and the F9–F12 debugger block), then layer in the rest as they become muscle memory.

And remember that none of these are fixed: everything is remappable under Settings → Configure Keyboard Shortcuts, so if a binding fights your workflow or conflicts with another action, reassign it in seconds.

READ NEXT:

Pratik

Pratik is the founder of Tutorial Tactic and a productivity tools specialist with 15 years of hands-on experience in Google Workspace, Microsoft Office, and software automation. He has published over 1,500 guides on keyboard shortcuts, software commands, how-to tutorials and workflow optimization, helping readers across the US and India work faster with the tools they use every day. Tutorial Tactic was founded in 2021 with one goal: cut through the noise and give readers exactly what they need fast, verified, and beginner-friendly.
Back to top button