|Written by Kay Ewbank|
|Thursday, 08 September 2016|
One major change in the new version is the replacement of the original C++ parser and semantic analysis plugin with a more powerful one based on Clang from the LLVM project. The original parser was popular because of features including semantic highlighting and advanced code completion, but the need to maintain compatibility with C++ language standards such as C++11 was a drain on resources, so the developers have moved to using a Clang based language plugin. This provides support for the latest C++ language standard, and enables true C and Objective-C language support.
Another change sees the removal of the hand-written CMake interpreter in favour of using meta data provided by upstream CMake itself. This is achieved by using a JSON compilation database that's a collection of exact compilation commands for a set of files. This enables the passing of compilation flags to a tool on the command-line, following a special token. This change does mean that the developers have removed some of the useful advanced CMake integration features, such as the wizards to add files to a target. The plan is to bring back the removed functionality in the future.
In terms of other languages, KDevelop 5 continues to officially support Python 3 and PHP, with experimental playground support for Ruby, and plans to integrate basic Go and Rust support. A list of the other changes to the new version can be found in the What's New pages on KFunc.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Thursday, 08 September 2016 )|