KDevelop
Ecole ENVOL 2010 Septembre 2010
F. Langrognet
F. Langrognet () KDevelop ENVOL 2010 1 / 22 PLAN
1 Introduction
2 Principales fonctionnalités
3 KDevelop 4
4 Alternatives à KDevelop - Conclusion
F. Langrognet () KDevelop ENVOL 2010 2 / 22 PLAN
1 Introduction
2 Principales fonctionnalités
3 KDevelop 4
4 Alternatives à KDevelop - Conclusion
F. Langrognet () KDevelop ENVOL 2010 3 / 22 Historique
Historique
1998 : Mise en place du projet KDevelop ◮ Objectif : bâtir un IDE pour KDE facile à utiliser ◮ Langage : uniquement C/C++
2001 : KDevelop 2.0 2004 : KDevelop 3.0 (complètement réécrit) ◮ Langages supportés : C++, Java, Python, PHP, . . . ◮ Plugins 1er mai 2010 : KDevelop 4.0.0 Complètement réécrit - encore ! Beaucoup de nouveautés et fonctionnalités améliorées Version 3.9.95 (ubuntu 9.10) : disponible uniquement pour le C++
F. Langrognet () KDevelop ENVOL 2010 4 / 22 Ecosystème Ecosystème naturel Développement en C++ sous Linux/KDE
Mais aussi ... 15 langages supportés Version windows (cygwin) et Mac OS
F. Langrognet () KDevelop ENVOL 2010 5 / 22 PLAN
1 Introduction
2 Principales fonctionnalités
3 KDevelop 4
4 Alternatives à KDevelop - Conclusion
F. Langrognet () KDevelop ENVOL 2010 6 / 22 Aperçu des fonctionnalités
Langages / Fonctionnalités
F. Langrognet () KDevelop ENVOL 2010 7 / 22 Fonctionnalités (1)
Présentation des fonctionnalités de KDevelop 3.5.3 (et ... 4.0)
15 langages Construction de projet Ada, C, C++, Objective-C, SQL, autotools Fortran, Haskell, Java, PHP, Pascal, qmake Perl, Python, Ruby, Bash cmake
ant (java)
F. Langrognet () KDevelop ENVOL 2010 8 / 22 Fonctionnalités (2) Edition (texte/classes)
Coloration syntaxique Aide à la création de classe Indentation automatique Visualisation de classes : Complétion automatique ◮ Classe mère, classes dérivées ◮ Membres privés, publics, protégés Aide à l’ouverture/fermeture de ◮ parenthèses, accolades Liste des utilisations des méthodes/fonctions Utilisations de variables (KDevelop4)
F. Langrognet () KDevelop ENVOL 2010 9 / 22 Fonctionnalités (3)
Editeur d’IHM SGV cvs svn QT Designer perforce clearCase git (KDevelop4) mercurial (KDevelop4)
F. Langrognet () KDevelop ENVOL 2010 10 / 22 Fonctionnalités (4)
Debugger Génération automatique de Points d’arrêts conditionnels documentation Liste d’appel
Etat des variables Doxygen pour C++
F. Langrognet () KDevelop ENVOL 2010 11 / 22 Fonctionnalités (5)
Kits de développement Développement de plugins KDE QT (QT Designer, QT Linguist) ◮ GTK Kate ◮ KFile wxWidgets ◮ Konqueror ◮ superwaba Noatun ◮ ... GBA KDevelop
F. Langrognet () KDevelop ENVOL 2010 12 / 22 PLAN
1 Introduction
2 Principales fonctionnalités
3 KDevelop 4
4 Alternatives à KDevelop - Conclusion
F. Langrognet () KDevelop ENVOL 2010 13 / 22 KDevelop4
Quelques améliorations (parmi d’autres) Nouveau langage : C#
Nouveaux SGV (décentralisés) : ◮ git ◮ mercurial ◮ bazaar
Tests ◮ CppUnit, QTest
Edition (coloration, navigation dans les classes, . . . )
F. Langrognet () KDevelop ENVOL 2010 14 / 22 KDevelop4 - Edition (1) Coloration syntaxique
F. Langrognet () KDevelop ENVOL 2010 15 / 22 KDevelop4 - Edition (2) Complétion automatique
F. Langrognet () KDevelop ENVOL 2010 16 / 22 KDevelop4 - Edition (3) Information contextuelle
F. Langrognet () KDevelop ENVOL 2010 17 / 22 KDevelop4 - Edition (4) Edition de classes, navigation
F. Langrognet () KDevelop ENVOL 2010 18 / 22 PLAN
1 Introduction
2 Principales fonctionnalités
3 KDevelop 4
4 Alternatives à KDevelop - Conclusion
F. Langrognet () KDevelop ENVOL 2010 19 / 22 Et si l’on partait des besoins ?
Un IDE pour C++
Critères de choix : Gratuit, Payant Linux, Windows Fonctionnalités : complétion de code, gestionnaire de version, debugger, . . .
F. Langrognet () KDevelop ENVOL 2010 20 / 22 Conclusion
KDevelop
IDE très complet Nombreux outils pour le C++ valgrind, KCacheGrind, Doxygen, . . . Utilisation sous Windows, Création facile de projets divers MacOS très marginale QT, WxWidgets, . . . Cross compilation ? Edition de texte, navigation classes, fichiers de grande qualité (KDevelop4) Création de package? Debugger performant Projet actif et pérenne
F. Langrognet () KDevelop ENVOL 2010 21 / 22 KDevelop
FIN
Merci de votre attention
Florent Langrognet
F. Langrognet () KDevelop ENVOL 2010 22 / 22