KDevelop 4.0: A C++ Focused IDE
Join the DZone community and get the full member experience.Join For Free
The crown jewel of KDevelop 4.0 is its C++ code "understanding engine." According to the developers, it "allows the IDE to understand your code better than you do." This cuts down on the tedious tasks required for development. KDevelop 4.0 features plenty of specific code assistance features as well.
There are a handful of semi-automatic coding assistants in the IDE. For example, if you assign an item to a variable that doesn't exist, KDevelop will intelligently ask if you want to create a variable with the matching type you've assigned. If you call on a non-existent function, a similar process will take place. KDevelop will also ask if you want to adapt a declaration when you change the signature of a function-definition.
Broad semantic highlighting and code navigation comes with this release, allowing quicker code searches and recognition of errors, algorithms, or other syntax. Its highlighting is dependent on more complex characteristics than any other C++ IDE, according to the developers.
KDevelop 4.0's code completion can handle complex templates. It can also generate missing include statements or forward declarations automatically. A powerful feature is type-matching, which automatically recognizes which items most closely match the current context based on their type and the C++ type-conversion rules. It then offers the best matches ranked on a list. This feature is supported for function-arguments, in return statements, signals/slot connections, and more.
KDevelop 4.0 has integrated GDB support into its debugger, making it possible to detect runtime errors. Along with the basic debugging features (breakpoints, stepping, stopping, etc.) the debugger also shows Qt, KDE, and STL types in human-readable form.
Build and Project Management
KDeveloper comes with the CMake build system. You can also build projects with custom or generated makefiles. The support for CMake has some reduced language-support features (code completion, navigation, highlighting) and target adding integrations with C++. A QuickOpen feature can quickly navigate any file, class, or function in an opened project.
Along with KDevelop 4.0, several stable PHP plugins have been introduced. Plugin features include real-time syntax error reporting, semantic analysis, code completion, and support for OOP. Context browsing, highlighting, PHP.net docs integration, and QuickOpen are other included features.
Many of KDevelop 4.0's code assist features also apply to its Qt support. The documentation is shown inline with APIs for CMake and Qt in tooltips over classes and functions. You can also review all of the documentation through the toolview. KDevelop 4.0 also features SVN integration with inline editor annotations, grepping over files, session support, and source code formatting.
Here is where you'll find the KDevelop download.