

Table of Contents
The shortcut key combinations shown in this chapter are the default ones. They can be changed.
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.
Creates 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.
Opens an existing file in a simple dialog box.
For opening the most recently edited files. Once you have clicked on this option, a list of recently edited files will appear. Select the file you want and KWord will open the file.
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.
Saves the current file.
Uses the Save As... dialog box to let you save a copy under a new name.
Saves all open files.
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.) .
Reverts all changes in opened files. Prompts to save changes so the reversion can be canceled for each modified file.
Prints the current file.
Exports the current file. Currently the following export formats are supported:
Syntax-highlighted HTML file
Other formats may follow in future KDevelop versions.
Closes current file.
Closes all open files.
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.
Quits KDevelop.
Most of the following commands operate on the current file, also simply called "document".
Reverses the last action you performed.
Reverses the last Undo performed.
Deletes the selected (highlighted) text from the document, and places a copy in the clipboard.
Places a copy of the selected text in the clipboard.
Inserts a copy of the clipboard into the current cursor position. If there is selected text, KDevelop replaces it with the contents of the clipboard. The clipboard is not altered.
Immediately selects all text of the current file.
Every simple cursor movement (e.g. left, right etc. without Shift pressed) deselects at the same time, i.e. if there was highlighted text before, after the cursor action it will appear non-highlighted again. This command does an explicit Deselect without cursor action.
KDevelop's editor can operate linewise or block-oriented. Linewise means: Text is seen as a sequence of characters that may span several lines. A selection ranges from the first to the last character and includes all lines in-between completely.
Block-oriented means: Text is seen as a rectangular matrix. You can select a rectangular block (called rectangle in (X)Emacs) that leaves out the beginnings and ends of all lines. The commands Cut and Copy then operate only on that block, and place it in the clipboard.
Thus you can e.g. indent all lines of a block: Select the block, Cut it, then place the cursor in the first line at the beginning of the area you want to put the block, e.g. 3 characters to the right of the old position. There, Paste it, and all lines will be indented.
This would be very useful if it honored the overwrite flag (e.g. block comment). It doesn't, and I see this as a bug. TODO: - report bug - work out more examples how block mode is useful (extra chapter?) - links to alternate methods (for indent: Edit - Reformat Source, comment)
Toggles Insert/Overwrite Mode.
Calls the Find dialog box. You can search simple text or a regular expression.
After first using Find (see above), finds the same text or regular expression again.
After first using Find (see above), finds the same text or regular expression again, searching upwards.
Opens the Find/Replace dialog box. You can search simple text or a regular expression. You can replace by simple text or placeholders of the regular expression.
Prompts for a line number and jumps to that line. You can show/hide line numbers with View - Show/Hide Line Numbers (F11).
Finds text in several Files, like the grep Unix command. Matches will be displayed, and you can switch to a match directly. TODO!!!
Opens the project wide string replacement dialog. There you can enter a string or a regular expression which is then searched for within all files in the locations you specify. Matches will be displayed in the Replace window, you can replace them with the specified string, exclude them from replace operation or cancel the whole replace.
Reformats Source code using the astyle library. If there is a selection, only the selection will be formatted. Otherwise the entire file will be formatted.
A list of reasonable completions of the current word is presented, the user can select one of them, and this is then placed in the text. For example, if the user has typed "whi" and calls this command, "while" and "while ( ) { }" are offered. If the user selects the latter, the whole structure of a while command is entered and the cursor is placed in the brackets to enter the condition. TODO: BUG: Ctrl-J doesn't work
Expands abbreviation. Abbreviations can be defined in Settings - Configure KDevelop - Abbreviations.
Completes current expression using memory class store for the current project and persistant class stores for external libraries. TODO
Creates a class member function in implementation file based on the member declaration at the current line. TODO
Moves back in the list of tabs.
Moves forward in the list of tabs.
Presents a dialog box to select a tab buffer an moves there.
Places the focus on the editor.
Switches to the file and line the next (compilation) error was reported from.
Switches to the file and line the previous (compilation) error was reported from.
In normal mode: Switches to Full Screen Mode. Only KDevelop's window will be shown, without the frame.
In Full Screen Mode: Switches back to normal mode. Other windows will be visible again, KDevelop's window gets its frame again.
When in a C++ implementation file, switches to the corresponding header file, and vice versa.
Puts the focus on one of KDevelop's various tools resp. its output. Switch back to the editor with the View - Raise editor command above.
KDevelop's GUI has a Top, Bottom, Left and Right Tool Dock. With this command, you can select and switch to any of them.
KDevelop uses Katepart as editor.
Katepart has a command line to enter editing commands directly.
This menu item switches to the Katepart Command Line.
For a list of available editing commands,
enter help here.
list
Schema TODO ???
Switches Dynamic Word Wrap on and off. If it is on, then lines that don't fit on the screen will be broken and continued on the next line.
Selects Dynamic Word Wrap Indicators option:
Indicators (folded arrows in the line number border) are not displayed
If line numbers (see command below) are displayed (in the line number border), then Dynamic Word Wrap Indicators are displayed as well
Dynamic Word Wrap Indicators are always displayed, which causes the border to be present
Shows/Hides the Static Word Wrap Marker, a vertical line drawn at the word wrap column as defined in Settings - Configure Editor - Editing - Static Word Wrap. (TODO: Bug: the line is not shown. Static word wrap works for newly changed lines)
Shows/Hides the Icon Border which is used to show e.g. bookmark and breakpoint symbols.
Show/Hide Line Numbers on the left side, in the line number border. This may also cause dynamic word wrap markers to be displayed, see above.
Show/Hide Scrollbar Marks. TODO: No effect, bug?
Shows/Hides Folding Marks in the left border. Note that code folding (see below) can be used even if the marks are not shown.
Code folding is used to easily gain an overview of the code by collapsing blocks so they are shown as just the top line. The commands in this submenu collapse or expand the local or top level.
Collapses toplevel.
Expands toplevel.
Collapses innermost local level.
Expands innermost local level.
In former KDevelop versions the Set Encoding function now in the Tools menu used to be here.
This starts KDevelop's application wizard. It helps you to generate a skeleton for your application from a set of templates.
Opens a Kdevelop2 or KDevelop3 project.
Opens recently edited project. A submenu of recently edited projectj is displayed to choose from.
Creates a KDevelop project file for a given directory, where already existing code files of a non-KDevelop project are stored.
Calls the New Class wizard.
Displays inheritance relationship between classes in the project.
This does not display classes outside inheritance hierarchy.
Prompts the user for a language and creates .po file for the selected language.
???TODO
Opens the Project Distribution & Publishing dialog which helps users package and publish their software. TODO:link
Opens dialog to set project options.
Closes current project.
Runs make from the project directory.
Constructs a series of make commands to build an active target. Also builds dependent targets.
Runs make filename.o from the directory where filename is the name of the currently opened file. TODO better formulation
Run Configure
Executes
make
-fMakefile.cvs./configure
commands from the project directory.
Runs make install command from the project directory.
Asks the user for the root password using kdesu and then runs make install as root user.
Runs make clean command from the project directory.
Runs make distclean command from the project directory.
Runs make packages-messages command from the project directory.
Executes program specified in project settings, Run Options tab. If it is not specified there then the active target is used to determine the application to run.
Runs doxygen on a project Doxyfile to generate API documentation. If the search engine is enabled in Doxyfile, this also runs doxytag to create it.
Removes all files generated by doxygen.
Stop application started with the Execute menuitem above, and all running processes started by KDevelop like building process, grep command etc.
On the toolbar, this action provides a popup menu to choose a process to stop.
Start
Stop
Interrupt
Run to Cursor
Step Over
Step over Instruction
Step Into
Step into Instruction
Step Out
Toggle Breakpoint
Viewers
Examine Core File...
Attach to Process
Valgrind Memory Leak Check
Profile with KCachegrind
Read Only Mode
Filetype Mode
Highlight Mode
Set Encoding (former View menu?))
End of Line
Spelling
Indent
unindent
Clean Indentation
Align
Comment
Uncomment
Uppercase
Lowercase
Capitalize
Join Lines
Word Wrap Document
Difference Viewer...
Execute Command...
Filters selection through external command using the Filter plugin.
Debug Regular Expression...
Part Explorer
Quick Open Class...
Quick Open Method...
Preview Doxygen Output
Document Current Function
Show/Hide the menubar.
Opens a sub menu where you can choose to show or hide the various Toolbars.
Show the Statusbar.
Configure Shortcuts...
Configure Toolbar...
Configure Notifications...
Configure Editor...
Configure KDevelop...
View this document.
Draws a question mark (?) beside the mouse pointer, clicking on a window item such as the Stop button will then display a brief explanation.
Tip of the Day
Look in Documentation Index...
Search in Documentation...
Man Page...
Info Page...
Report bug.
Display some brief information about KDevelop's version number, authors and license agreement.
Show some information about the version of KDE that you are running.