KDevelop Handbook

This documentation was converted from the KDE UserBase KDevelop4/Manual page.

Revision KDevelop 4.4 (KDE
4.9) (2012-08-19)

KDevelop is an Integrated Development Environment to be used for a wide variety of programming tasks.

Table of Contents

1. What is KDevelop?
2. Sessions and projects: The basics of KDevelop
Setting up a session and importing an existing project
Option 1: Importing a project from a version control system server
Option 2: Importing a project that is already on your hard drive
Setting up an application as a second project
Creating projects from scratch
3. Working with source code
Tools and views
Exploring source code
Local information
File scope information
Project and session scope information
Rainbow color highlighting explained
Navigating in source code
Local navigation
File scope navigation and outline mode
Project and session scope navigation: Semantic navigation
Writing source code
Adding new classes and implementing member functions
Documenting declarations
Renaming variables, functions and classes
Code snippets
Modes and working sets
Some useful keyboard shortcuts
4. Code generation with templates
Creating a new class
Creating a new unit test
Other files
Managing templates
5. Building (compiling) projects with custom Makefiles
Building individual Makefile targets
Selecting a collection of Makefile targets for repeated building
What to do with error messages
6. Running programs in KDevelop
Setting up launches in KDevelop
Some useful keyboard shortcuts
7. Debugging programs in KDevelop
Running a program in the debugger
Attaching the debugger to a running process
Some useful keyboard shortcuts
8. Working with version control systems
9. Customizing KDevelop
Customizing the editor
Customizing code indentation
Customizing keyboard shortcuts
Customizing code auto-completion
10. Credits and License