In a Nutshell — Tips and Tricks
The information in this chapter is meant as a quick reference for a head start or if you (momentarily) forgot about some basic concept. There are also short hints on how to solve some common problems when working with &tdevelop;.
If you want more information on a topic, just follow the link in the title starting that advice.
Information on these topics is availabe:
Look and FeelProjectsCompilation&automanag;Compile/Make ProblemsOther TopicsLook and FeelForce
smaller tool view tabs in IDEAl ModeBy default &tdevelop; starts with large text-based tool tip tabs
around the work area. You may change this look to ⪚ save space in the
&tdevelop; configuration dialog (SettingsConfigure KDevelop...User
Interface).If you use an older &tdevelop; 3 version, this configuration dialog
may not be available. To change the toolview tabs display manually, place a
entry under the
tag in your
$KDEHOME/share/config/tdeveloprc configuration file as
follows:: icons only: text only (default): icons and textWeird colored characters and/or display
styleIf you notice random colored letters everywhere (&ie; on tabs, on tool
bars, etc.) and the &tdevelop; window seemingly uses a wrong display style,
this may help:In your
$KDEHOME/share/config/tdeveloprc
configuration file find the line containing
Style=Checked and remove
it. Then restart &tdevelop;.
(This behaviour does sometimes occur after you left clicked a .ui file
in one of the file navigators and &tdevelop; did load
KUIViewer to show the &GUI; which was produced
from this file.)Full
screen modeSelect ViewFull-Screen
Mode from the menus or press
&Ctrl;&Shift;F.Hide/Unhide
the menubarTo hide the menubar select
SettingsShow
Menubar from the menus or press
&Ctrl;M. To redisplay the menubar only
&Ctrl;M is available.ProjectsCreate New ProjectProjectNew
Project... will start the &appwizard;.Create a custom projectThere is no direct way to create a custom project (&ie; a project
which does use its own makefiles). Use
ProjectImport Existing
Project instead. Remember to set the appropriate
Project Type, labeled by an additional (Custom
Makefiles), in the dialog.Use project options earlyWhenever you start a new project do not forget to set the
ProjectProject
Options... to your needs.CompilationMissing detail in compilation
messagesIf during compilations you notice some valuable information is missing
in the Messages Output View window, it may be that the
level of message detail is set too low. &RMB; click in the window and select
another detail level from the context menu.
&automanag;Create new files in a projectSelect the sub-project in the upper half of the &automanag;, then
&RMB; click in the lower half on the groups title you want to have the files
added and select Create New File....Add existing files to a projectSelect the sub-project in the upper half of the &automanag;, then
&RMB; click in the lower half on the groups title you want to have the files
added and select Add Existing Files....Remove a file from a projectSelect the sub-project in the upper half of the &automanag;, then in
the lower half open the groups list you want to have the file removed from,
&RMB; click on the file in this list and select
Remove.Compile/Make ProblemsProject does not build again after switching
to/from default targetThere is a problem with the &automake;/&autoconf; machinery. If
ProjectBuild
Configuration provides to select from three build
directories: default,
optimized, and debug,
by all means stick to either the default
or the debug/optimized targets.Once you configured your project with default it will no longer build
with debug or optimzed.Once you configured your project with debug or optimzed it will no
longer build with default.Wrong
autoconf version &etc; ErrorThere are several error messages concerning too old versions of
autoconf &etc; prohibiting
configure to work properly. Run
autoreconf in the directory tree where the
configure.in files in question are. This command will
try to update the information in the &GNU; Build System files. See
man autoreconf for more information.Other TopicsConfiguration
Files used by &tdevelop;Usually you should not need to care, but this is very useful to know
in case something went wrong with your setup.