Difference between revisions of "KDevelop"

From ArchWiki
Jump to: navigation, search
(Arch Testing)
m (Style fixes.)
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[Category:Development (English)]]
+
[[Category:Development]]
==Introduction==
+
''"[http://kdevelop.org/ KDevelop] is a free, open source IDE (Integrated Development Environment) for MS Windows, Mac OS X, Linux, Solaris and FreeBSD. It is a feature-full, plugin extensible IDE for C/C++ and other programming languages. It is based on KDevPlatform, and the [[KDE]] and [[Qt]] libraries and is under development since 1998."''
  
KDevelop 4 is still in beta, but this guide will help get it running.
+
== Installation ==
  
==Installation==
+
[[pacman|Install]] {{Pkg|kdevelop}} from the [[official repositories]].
There are a lot of ways to install KDevelop4 in Arch Linux these are just some of them.
+
  
===Arch Testing===
+
== Building additional plugins ==
Arch Testing has a build of KDevelop4, but to get the newest features install it from an SVN build. You can use the repositories below for nightly builds.
+
  
x86_64
+
=== First: install dependency ===
[sjakub]
+
Server=http://sjakub.net/arch/repo/x86_64
+
  
i686
+
The KDevelop Parser Generator in the official repositories ({{Pkg|kdevelop-pg-qt}}) is required to build additional plugins. Plugins will not compile if this package is not installed beforehand.
[sjakub]
+
Server=http://sjakub.net/arch/repo/i686/
+
  
These repositories provides both kdevelop-svn and kdevplatform packages, but not the kdevelop-pg package that is required to build additional plugins.
+
=== PHP ===
  
Also, you may use this repository, though they are x86_64 only. I try to keep them no more than a few days old.
+
The PHP plugin ({{Pkg|kdevelop-php}}) from the official repositories provides autocompletion and other PHP-specific features.
 
+
[digitalpioneer]
+
#Recent SVN builds of KDev4 AUR packages
+
#x86_64 only
+
Server = http://dl.getdropbox.com/u/453116/repo
+
 
+
===KDEMod Playground===
+
The KDEMod Playground repository also provides KDevelop4 if you are a user of this DE you may want to try this package instead.
+
 
+
x86_64
+
[kdemod-playground]
+
Server = http://chakra-project.org/repo/playground/x86_64/
+
 
+
i686
+
[kdemod-playground]
+
Server = http://chakra-project.org/repo/playground/i686/
+
 
+
==Building Additional Plugins==
+
 
+
===First: Install Dependency===
+
 
+
AUR has the [http://aur.archlinux.org/packages.php?ID=26625 kdevelop-pg-qt-svn package] that is required to build additional plugins. Plugins will not compile if this package is not installed beforehand.
+
 
+
===PHP===
+
 
+
The PHP plugin provides autocompletion and other PHP-specific features.
+
 
+
Checkout the PHP plugin from SVN
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/php
+
 
+
Change into the new directory (php) and run CMake, taking care to specify the installation directory.
+
 
+
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
+
 
+
Now make and install the package. The 'make install' command must be run as root.
+
make && make install
+
  
 
Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.
 
Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.
  
 +
=== Other plugins ===
  
===Other Plugins===
+
Other plugins are available from [[AUR]]: [https://aur.archlinux.org/packages/?O=0&C=0&SeB=nd&K=kdevelop-&outdated=&SB=n&SO=a&PP=50&do_Search=Go kdevelop-extra-plugins]
  
Other plugins should compile the same way as the ones above. When doing the svn checkout simply change the last directory name to the plugin directory from [http://websvn.kde.org/trunk/playground/devtools/kdevelop4-extra-plugins/ KDE's websvn browser].
+
== List of available plugins ==
 
+
For example, to install the Python plugin you can use the instructions for PHP, but change the svn checkout line from
+
 
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/php
+
 
+
To
+
 
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop4-extra-plugins/python
+
 
+
If you have successfully installed one of these additional plugins please add a relevant section to this wiki page with the exact instructions.
+
 
+
 
+
==List of Available Plugins==
+
  
 
As of June 18 2009, the following plugins are available from KDE's svn repository.
 
As of June 18 2009, the following plugins are available from KDE's svn repository.
Line 101: Line 47:
 
* xdebug
 
* xdebug
  
Note: As of June 17 2009, do not install the php-docs plugin because it causes the php plugin to stop working.
+
{{Warning|As of June 17 2009, do not install the php-docs plugin because it causes the php plugin to stop working.}}
 
+
==Another repo==
+
Another repo with daily svn kdevelop & plugins
+
 
+
[dstr-repo]
+
Server = http://dimon.homeftp.org/repo/x86_64/
+
 
+
[dstr-repo]
+
Server = http://dimon.homeftp.org/repo/i686
+
 
+
http://dimon.homeftp.org/flyspray for bugreports
+

Revision as of 23:32, 27 November 2013

"KDevelop is a free, open source IDE (Integrated Development Environment) for MS Windows, Mac OS X, Linux, Solaris and FreeBSD. It is a feature-full, plugin extensible IDE for C/C++ and other programming languages. It is based on KDevPlatform, and the KDE and Qt libraries and is under development since 1998."

Installation

Install kdevelop from the official repositories.

Building additional plugins

First: install dependency

The KDevelop Parser Generator in the official repositories (kdevelop-pg-qt) is required to build additional plugins. Plugins will not compile if this package is not installed beforehand.

PHP

The PHP plugin (kdevelop-php) from the official repositories provides autocompletion and other PHP-specific features.

Restart KDevelop 4 and you should now have improved PHP support, including autocomplete for both the PHP functions as well as for your project's functions and classes.

Other plugins

Other plugins are available from AUR: kdevelop-extra-plugins

List of available plugins

As of June 18 2009, the following plugins are available from KDE's svn repository.

  • automake
  • bazaar
  • check
  • controlflowgraph
  • cppunit
  • csharp
  • ctest
  • duchainviewer
  • java
  • metrics
  • oldgdb
  • php
  • php-docs
  • python
  • qmake
  • qtdesigner
  • ruby
  • sloc
  • teamwork
  • xdebug
Warning: As of June 17 2009, do not install the php-docs plugin because it causes the php plugin to stop working.