

Table of Contents
Now that you have installed your KDevelop IDE, how are you going to make good use of it? As this is a complex application, the learning curve may be somewhat steep, especially if you are not already used to this type of an Integrated Development Environment.
We will try to soften this learning curve a bit by stepping through the makings of a simple KDE C++ application. Thereby we will have a (cursory) look at:
| What is there seen on the surface of the KDevelop IDE. |
| How to create a new project. |
When you start KDevelop for the first time you will get a display similar to this one:

The KDevelop initial layout
Workspace Area and Tool View Tabs. In this intitial case KDevelop uses the so-called IDEAl user interface mode. A workspace area of maximum possible size is surrounded left, bottom, and right by a series of buttons which act similar to tabs on a tabbed display. If you click on one of those tabs, a so-called tool view window will open which allows you to work on a specific task.
Menu and Toolbars. On top there is the usual menubar, followed by several rows of toolbars, some being initially empty. They will get populated once there is a project opened for actual work.
Status Bar. Finally there is a status bar on the bottom of the window displaying short informations on several tasks.
Besides the which offers answers to specific questions, the status bar and two kinds of tooltips provide some quick information.
What Does This Menu Entry Do? When you place the mouse cursor on a menu entry, some short information will usually be displayed in the status bar. While in most cases this repeats just the name of the selection, in some cases it will provide additional information about the purpose of the menu command.
What Is the Name of This Item? On many items a short function name tooltip will pop up when you place the cursor on it for a few seconds. This is useful for quick orientation on toolbar or tool view tabs in IDEAl mode when the IDE has been set up to display icons only on these buttons.
What Does This Item Do? More information is available through expanded tooltip help for many items on the IDE. Select -> or press Shift-F1, then with the question mark cursor select the item you want to know more of. You can as well open any menu this way and click on a specific menu entry (active as well as greyed disabled ones) to see if more information is available.
There are ten menus selectable on the menubar. Most of them get fully populated once a project is opened for actual work while others need a document opened at least. In short, they will allow the following action types.
This is only an overview. For a detailed listing of the menus and their items, see the Command Reference.
Usual Actions. This is pretty standard. It allows to create, open, save, print, and close document files as well as quitting the KDevelop application as usual.
Revert Changes. Additionally it allows to revert changes by reloading file contents in an orderly way.
This menu is useful only if a document is opened.
Usual Actions. It provides the usual undo/redo and cut/copy/paste actions. Furthermore it allows to select text blocks in various ways.
Search and Replace. There is a very powerful search facilitiy available on the menu. In addition to the usual search and replace actions limited to the the current document you may as well conduct global search and replace actions. This allows to work on all files of the project in a single turn.
Advanced Text Edit. There are provisions to reformat the current document and to automatically complete partially typed texts in various ways.
Like the menu, this menu is useful only if there is a project currently open. I this case there will be the following actions available (amongst others):
Navigation History. Switch back and forth through the documents etc. you visited.
Error Tracking. Navigate to the source lines of the errors encountered in the most recent compilation/build process.
Manage Tool View. Select or hide tool view windows or tool view docks.
Editor Related Acions. Some entries in the menu control the look and view of the editor you use. In case of the Kate Part (Embedded Advanced Text Editor) there will be the following controls available:
Control the word wrap behaviour in the document window.
Show or hide several border displays in the document windows: line numbers, icons, and, additionally, bookmark marks in the scroll bar.
Control the display of folded (temporarily hidden) sections in a source text.
All work of KDevelop is based on projects which basically collect source files, build management files, and other information in one project directory. In this menu you control which project to use, which properties it has, and some other managing actions. In particular:
Open a Project. Allows to create new projects, open existing ones, and import projects from other environments.
Project Options. Allows to define a whole bunch of different project properties.
Classes Management. Add new classes to the project and traverse the inheritance tree of a class.
Distribute Project. Helps to build distribution packages of the project.
This menu is all about compiling and documenting the project. Thus it is of use only when a project is actually open. In this case it provides the following actions:
Compile, Link, Execute. Allows to compile and link the whole project or parts of it as well as run the application from within the IDE.
Prepare Build Operations. This actually depends on the make system you use for this project. In the case of automake projects it allows to run Makefile.cvs and configure on their own. There are also provisions to remove translated files from the project in various stages of intensity.
Install the Application. Allows to install the application both in local directories as well as in system directories only accessible to the root user.
API Documentation. Build or remove a doxygen-based API documentation of the project as defined in the project options.
Although this menu will be filled once a project is active, it of course is useful only if the actual project has been previously compiled with debugging information (this is basically set up in ->). There are the following actions available in this case:
Usual Debugger Actions. The first section in the provides a graphical interface to the GDB GNU symbolic debugger. It allows to start and stop your application in the debugger and step through it in various ways.
Breakpoints. KDevelop provides several means to set breakpoints in your application sources. One is through the use of the menu entry.
Advanced Debugging. Other menu entries allow more sophisticated program analysis. Use Shift-F1 to get more information about their purpose.
This is fairly standard. You may select any open document window as well as close one or more documents windows in here. You may even select a set of document windows to be closed in one single turn.
KDevelop is highly customizable. You may select a favorite editor for your documents as well as provide external and plugged-in tools to extend the basic IDE capabilities. The menu reflects most of this setup.
Advanced Editing. The upper set of menu entries will be provided by the editor plugin which is in use. You may select your favorite editor via ->+Editor. Once an editable document file is selected, the upper part of the menu will provide advanced editing commands specific to the editor part in use.
Web Side Handling. In case the active document window contains a HTML page (e.g. displayed from a Documentation selection), the will show additional menu entries which provide various means to handle Web pages.
Other Tools. Usually there will be a bunch of other entries according to the currently available tools. Use Shift-F1 to get more information about their purposes.
This menu allows you to show and hide menubar, toolbars and statusbar. Also, you can configure shortcuts, toolbars, notifications, the editor and KDevelop's general behavior.
Here you can open this KDevelop manual, read Qt documentation, open man pages (the traditional UNIX manual format) and info pages (the GNU manual format), report bugs and get some info about your current KDevelop version and its authors.