# Command Reference

The shortcut key combinations shown in this chapter are the default ones. They can be changed.

## The Menubar

Note that some menu entries only appear when they are applicable. Especially, some entries are linked to plugin functionality which is only available when the plugin is enabled.

### The File Menu

&Ctrl;N File New

- Create a new file. The user is prompted to select the directory (default: the current project's source directory) and enter a file name. The file type can be selected from a list. Also, the user can choose whether the file is to be added to the project. Then the Automake Manager asks which target to add the new file to.

&Ctrl;O File Open

- Open an existing file in a simple dialog box.

&Ctrl;O File Open Recent

- Displays a submenu showing the files recently opened. Selecting one of these will make KDevelop open that file.

&Alt;&Ctrl;O File Quick Open

- Presents a list of files in the current project's source directory. The user can select from this list or type a filename. That file is then opened.

&Ctrl;S File Save

- Saves the current file.

&Ctrl;S File Save As...

- Uses the Save As... dialog box to let you save a copy under a new name.

File Save All

- Saves all open files.

F5 File Reload

- Reloads current file to show changes made by different programs. (Note that such changes are normally detected automatically and the user is prompted whether the file is to be reloaded.) .

File Revert all

- Reverts all changes in opened files. Prompts to save changes so the reversion can be canceled for each modified file.

&Ctrl;P File Print...

- Print.

File Export

- Export

&Ctrl;F4 File Close

- Closes current file.

File Close All

- Closes all open files.

File Close All Others

- Closes all files except the current one. Very useful if you opened a lot of files and you want to concentrate on the current one. Without this, you would have to close them all and re-open the current one.

  Note there is a similar command in the Window menu.

&Ctrl;Q File Quit

- Close KDevelop.

### The Edit Menu

&Ctrl;Z Edit Undo

- Undo

&Ctrl;&Shift;Z Edit Redo

- Redo

&Ctrl;X Edit Cut

- Cut

&Ctrl;C Edit Copy

- Copy

&Ctrl;V Edit Paste

- Paste

&Ctrl;A Edit Select All

- Select All

&Ctrl;&Shift;A Edit Deselect

- Deselect

&Ctrl;&Shift;B Edit Block Selection Mode

- Block Selection Mode

Insert Edit Overwrite Mode

- Overwrite Mode

&Ctrl;F Edit Find

- Find

F3 Edit Find Next

- Find Next

&Shift;F3 Edit Find Previous

- Find Previous

&Ctrl;R Edit Replace

- Replace

&Ctrl;G Edit Go to Line

- Go to Line

&Alt;&Ctrl;F Edit Find in Files

- Find in Files

&Shift;R Edit Find-Select-Replace

- Find-Select-Replace

Edit Reformat Source

- Reformat Source

&Ctrl;J Edit Expand Text

- Expand Text

&Ctrl;L Edit Expand Abbreviation

- Expand Abbreviation

&Ctrl;Space Edit Complete Text

- Complete Text

F2 Edit Make Member

- Make Member

### The View Menu

View Back

- Back

View Forward

- Forward

&Ctrl;/ View Switch to...

- Switch to...

&Alt;C View Raise Editor

- Raise Editor

F4 View Next Error

- Next Error

&Shift;F4 View Previous Error

- Previous Error

&Shift;F View Full Screen Mode

- Full Screen Mode

&Ctrl;F12 View Switch Header/Implementation

- Switch Header/Implementation

View Tool Views

- Tool Views

View Tool Docks

- Tool Docks

F7 View Switch to Command Line

- Switch to Command Line

View Schema

- Schema

F10 View Dynamic Word Wrap

- Dynamic Word Wrap

View Dynamic Word Wrap Indicators

- Dynamic Word Wrap Indicators

View Show/Hide Static Word Wrap Marker

- Show/Hide Static Word Wrap Marker

F6 View Show/Hide Icon Border

- Show/Hide Icon Border

F11 View Show/Hide Line Numbers

- Show/Hide Line Numbers

View Show/Hide Scrollbar Marks

- Show/Hide Scrollbar Marks

F9 View Show/Hide Folding Marks

- Show/Hide Folding Marks

View Code Folding

- Code Folding

View Set Encoding

- Set Encoding

### The Project Menu

Project New Project...

- New Project...

Project Open Project...

- Open Project...

Project Open Recent Project

- Open Recent Project

Project Active Language

- Active Language

Project Import Existing Project...

- Import Existing Project...

Project New Class...

- New Class...

Project Class Inheritance Diagram

- Class Inheritance Diagram

Project Add Translation...

- Add Translation...

Project Build Configuration

- Build Configuration

Project Distribution & Publishing

- Distribution & Publishing

Project Project Options...

- Project Options...

Project Close Project

- Close Project

### The Project Menu

F8 Build Build Project

- Build Project

F7 Build Build Active Target

- Build Active Target

Build Compile File

- Compile File

Build Run Configure

- Run Configure

Build Run automake & friends

- Run automake & friends

Build Install

- Install

Build Install (as root user)

- Install (as root user)

Build Clean project

- Clean project

Build Distclean

- Distclean

&Shift;F9 Build Make Messages & Merge

- Make Messages & Merge

Build Execute Program

- Execute Program

Build Build API Documentation

- Build API Documentation

Build Clean API Documentation

- Clean API Documentation

Escape Build Stop

- Stop

### The Project Menu

Debug Start

- Start

Debug Stop

- Stop

Debug Interrupt

- Interrupt

Debug Run to Cursor

- Run to Cursor

Debug Step Over

- Step Over

Debug Step over Instruction

- Step over Instruction

Debug Step Into

- Step Into

Debug Step into Instruction

- Step into Instruction

Debug Step Out

- Step Out

Debug Toggle Breakpoint

- Toggle Breakpoint

Debug Viewers

- Viewers

Debug Examine Core File...

- Examine Core File...

Debug Attach to Process

- Attach to Process

Debug Valgrind Memory Leak Check

- Valgrind Memory Leak Check

Debug Profile with KCachegrind

- Profile with KCachegrind

### The Bookmarks Menu

&Ctrl;B Bookmarks Set Bookmark

- Add current selection to your bookmarks.

Bookmarks Clear All Bookmarks

- Clear All Bookmarks.

### The Window Menu

&Alt;W Window Close Selected Windows...

- Close Selected Windows...

&Ctrl;F4 Window Close

- Close

Window Close All

- Close All

Window Close All Others

- Close All Others

### The Tools Menu

Tools Read Only Mode

- Read Only Mode

Tools Filetype Mode

- Filetype Mode

Tools Highlight Mode

- Highlight Mode

Tools End of Line

- End of Line

Tools Spelling

- Spelling

&Ctrl;I Tools Indent

- Indent

&Ctrl;&Shift;I Tools unindent

- unindent

Tools Clean Indentation

- Clean Indentation

&Ctrl;Tab Tools Align

- Align

&Ctrl;D Tools Comment

- Comment

&Ctrl;&Shift;D Tools Uncomment

- Uncomment

&Ctrl;U Tools Uppercase

- Uppercase

&Ctrl;&Shift;U Tools Lowercase

- Lowercase

&Alt;&Ctrl;U Tools Capitalize

- Capitalize

&Ctrl;J Tools Join Lines

- Join Lines

Tools Word Wrap Document

- Word Wrap Document

Tools Difference Viewer...

- Difference Viewer...

Tools Execute Command...

- Execute Command...

Tools Filter Selection Through Command...

- Filters selection through external command using the Filter plugin.

Tools Debug Regular Expression...

- Debug Regular Expression...

Tools Part Explorer

- Part Explorer

&Alt;&Ctrl;C Tools Quick Open Class...

- Quick Open Class...

&Alt;&Ctrl;M Tools Quick Open Method...

- Quick Open Method...

&Alt;&Ctrl;P Tools Preview Doxygen Output

- Preview Doxygen Output

&Ctrl;&Shift;S Tools Document Current Function

- Document Current Function

### The Settings Menu

&Ctrl;M Settings Show/Hide Menubar

- Show/Hide the menubar.

Settings Toolbars

- Opens a sub menu where you can choose to show or hide the various Toolbars.

Settings Show Statusbar

- Show the Statusbar.

Settings Configure Shortcuts...

- Configure Shortcuts...

Settings Configure Toolbar...

- Configure Toolbar...

Settings Configure Notifications...

- Configure Notifications...

Settings Configure Editor...

- Configure Editor...

Settings Configure KDevelop...

- Configure KDevelop...

### The Help Menu

Help KDevelop Handbook

- View this document.

&Shift;F1 Help What's This?

- Draws a question mark (?) beside the mouse pointer, clicking on a window item such as the Stop button will then display a brief explanation.

Help Tip of the Day

- Tip of the Day

&Alt;&Ctrl;I Help Look in Documentation Index...

- Look in Documentation Index...

&Alt;&Ctrl;S Help Search in Documentation...

- Search in Documentation...

Help Man Page...

- Man Page...

Help Info Page...

- Info Page...

Help Report Bug...

- Report bug.

Help About KDevelop...

- Display some brief information about KDevelop's version number, authors and license agreement.

Help About KDE...

- Show some information about the version of &kde; that you are running.