KDevelop explained

KDevelop
KDevelop
Developer:KDE
Released:[1]
Latest Preview Date:-->
Programming Language:C, C++
Operating System:Linux, Windows, macOS (preview, no official pre-built installer)
Genre:Integrated development environment
License:GPL-2.0-or-later[2] [3]

KDevelop is a free and open-source integrated development environment (IDE) for Unix-like computer operating systems and Windows. It provides editing, navigation and debugging features for several programming languages, and integration with build automation and version-control systems, using a plugin-based architecture.[4]

KDevelop 5 has parser backends for C, C++, Objective-C, OpenCL and JavaScript/QML, with plugins supporting PHP, Python 3 and Ruby.[5] Basic syntax highlighting and code folding are available for dozens of other source-code and markup formats, but without semantic analysis.

KDevelop is part of the KDE project, and is based on KDE Frameworks and Qt. The C/C++ backend uses Clang to provide accurate information even for very complex codebases.

History

KDevelop 0.1 was released in 1998,[6] with 1.0 following in late 1999.[7] 1.x and 2.x were developed over a period of four years from the original codebase.

It is believed that Sandy Meier originated KDevelop. Ralf Nolden is also known to be an early developer of the project. In 1998 Sandy Meier started KDevelop and worked 8 weeks alone on this project. Since then, the KDevelop IDE is publicly available under the GPL and supports many programming languages.

Bernd Gehrmann started a complete rewrite and announced KDevelop 3.x in March 2001.[8] Its first release was together with K Desktop Environment 3.2 in February 2004, and development of KDevelop 3.x continued until 2008.

KDevelop 4.x, another complete rewrite with a more object-oriented programming model,[9] was developed from August 2005 and released as KDevelop 4.0.0 in May 2010.[10] The last feature update of this branch was version 4.7.0 in September 2014,[11] with bugfix releases continuing until KDevelop 4.7.4 in December 2016[12]

KDevelop 5 development began in August 2014 as a continuation of the 4.x codebase, ported to Qt5 and KDE Frameworks 5.[13] The custom C++ parser used in earlier versions, which had poor support for C++11 syntax, was replaced by a new Clang-based backend. The integrated CMakeFile interpreter was also removed in favour of JSON metadata produced by the upstream CMake tool.

Semantic language support was added for QML and JavaScript, using the parser from Qt Creator, alongside a new QMake project-manager backend.

The first stable 5.x release was KDevelop 5.0.0 in August 2016.[14] In October 2016, official Microsoft Windows builds were released for the first time.[15]

Features

KDevelop uses an embedded text editor component through the KParts framework. The default editor is KDE Advanced Text Editor, which can optionally be replaced with a Qt Designer-based editor. This list focuses on the features of KDevelop itself. For features specific to the editor component, see the article on Kate.

KDevelop 4 is a completely plugin-based architecture. When a developer makes a change, they only must compile the plugin. There is a possibility to keep several profiles each of which determines which plugins to be loaded. KDevelop does not come with a text editor, but instead uses a plugin for this purpose as well. KDevelop is programming language independent and build system-independent, supporting KDE, GNOME, and many other technologies such as Qt, GTK+, and wxWidgets.

KDevelop has supported a variety of programming languages, including C, C++, Python, PHP, Java, Fortran, Ruby, Ada, Pascal, SQL, and Bash scripting. Supported build systems include GNU (automake), cmake, qmake, and make for custom projects (KDevelop does not destroy user Makefiles if they are used) and scripting projects which don't need one.

Code completion is available for C and C++. Symbols are kept in a Berkeley DB file for quick lookups without re-parsing. KDevelop also offers a developer framework which helps to write new parsers for other programming languages.

An integrated debugger allows graphically doing all debugging with breakpoints and backtraces. It even works with dynamically loaded plugins unlike command line GDB.

Quick Open allows quick navigation between files.

Currently, around 50 to 100 plugins exist for this IDE. Major ones include persistent project-wide code bookmarks, Code abbreviations which allow expanding text quickly, a Source formatter which reformats code to a style guide before saving, Regular expressions search, and project-wide search/replace which helps in refactoring code.

See also

External links

Notes and References

  1. Web site: KDevelop – News of 1999 . https://web.archive.org/web/20030621132836/http://www.kdevelop.org/index.html?filename=main1999.html . 2003-06-21 . . 1999-12-06 . 2012-12-27 .
  2. Web site: org.kde.kdevelop.appdata.xml. 15 March 2024 .
  3. Web site: COPYING · rKDEVELOP . https://web.archive.org/web/20200704222133/https://invent.kde.org/kdevelop/kdevelop/-/blob/master/COPYING . dead . 2020-07-04 . invent.kde.org .
  4. Web site: A cross-platform IDE for C, C++, Python, JavaScript and PHP . KDevelop . www.kdevelop.org . 2017-01-17.
  5. Web site: What's new in KDevelop 5.0? . 2016-08-23 . Personal Blog of Kevin Funk . 2017-01-17.
  6. Web site: ANNOUNCE: kdevelop-0.1.tar.gz. 1998-09-22. KDE. 2013-09-22.
  7. Web site: Kdevelop 1.0 released - Slashdot. tech.slashdot.org. 6 December 1999 . 2017-01-17.
  8. Web site: A new IDE for a new millennium . KDE . 2001-03-30 . 2013-09-22.
  9. Web site: KDevelop4 moved. 29 November 2009 . 29 November 2009.
  10. Web site: Finally KDevelop 4.0 final published. 1 May 2010. 2010-05-01.
  11. Web site: KDevelop 4.7.0 Released. 13 September 2014 .
  12. Web site: KDevelop 4.7.4 released. KDevelop. www.kdevelop.org. 13 December 2016 . 2017-01-17.
  13. Web site: KDevelop master now depends on KDE Frameworks 5!. 27 August 2014 .
  14. Web site: KDevelop 5.0.0 release. KDevelop. www.kdevelop.org. 23 August 2016 . 2017-01-17.
  15. Web site: KDevelop for Windows: Official 5.0.1 beta installer available now. KDevelop. www.kdevelop.org. 9 October 2016 . 2017-01-17.
  16. Web site: KDevelop 5.0.0 release KDevelop. www.kdevelop.org. 23 August 2016 . 2018-12-10.