KDevelop

From Wikipedia, the free encyclopedia
Jump to: navigation, search
KDevelop
Breezeicons-apps-48-kdevelop.svg
KDevelop5.png
Developer(s) KDE
Initial release December 6, 1999; 17 years ago (1999-12-06)[1]
Stable release 4.7.4 (December 13, 2016; 36 days ago (2016-12-13)) [±]
Repository phabricator.kde.org/diffusion/KDEVELOP/
Development status Active
Written in C, C++
Operating system Unix-like including macOS, Windows
Platform KDE Platform
Available in Multilingual[2]
Type Integrated development environment
License GPLv2[3]
Website www.kdevelop.org

KDevelop is a free software integrated development environment (IDE) for Unix-like computer operating systems and Microsoft 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, Javascript/QML and PHP, with plugins supporting 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[edit]

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. 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.[5]

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[edit]

KDevelop uses an embedded text editor component through the KPart 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++, Perl, 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[edit]

Further reading[edit]

References[edit]

  1. ^ "KDevelop – News of 1999". KDE. 1999-12-06. Archived from the original on 2003-06-21. Retrieved 2012-12-27. 
  2. ^ "extragear-kdevelop". KDE Localization. Retrieved 2013-09-22. 
  3. ^ "COPYING · rKDEVELOP". phabricator.kde.org. 
  4. ^ "A cross-platform IDE for C, C++, Python, JavaScript and PHP | KDevelop". www.kdevelop.org. Retrieved 2017-01-17. 
  5. ^ a b "What's new in KDevelop 5.0?". Personal Blog of Kevin Funk. 2016-08-23. Retrieved 2017-01-17. 
  6. ^ "ANNOUNCE: kdevelop-0.1.tar.gz". KDE. 1998-09-22. Retrieved 2013-09-22. 
  7. ^ "Kdevelop 1.0 released - Slashdot". tech.slashdot.org. Retrieved 2017-01-17. 
  8. ^ "A new IDE for a new millennium". KDE. 2001-03-30. Retrieved 2013-09-22. 
  9. ^ "KDevelop4 moved". Retrieved 29 November 2009. 
  10. ^ "Finally KDevelop 4.0 final published". 1 May 2010. Retrieved 2010-05-01. 
  11. ^ "KDevelop 4.7.0 Released". 
  12. ^ "KDevelop 4.7.4 released | KDevelop". www.kdevelop.org. Retrieved 2017-01-17. 
  13. ^ "KDevelop master now depends on KDE Frameworks 5!". 
  14. ^ "KDevelop 5.0.0 release | KDevelop". www.kdevelop.org. Retrieved 2017-01-17. 
  15. ^ "KDevelop for Windows: Official 5.0.1 beta installer available now | KDevelop". www.kdevelop.org. Retrieved 2017-01-17. 

External links[edit]