1

J'aimerais savoir s'il y a un moyen de mettre dans l'ordre que l'on veut (plug-in ou built-in) les fichiers du sélecteur de document qu'on a par défaut dans la colonne de gauche de Kate ?

C'est bien le seul truc que je lui reproche, parce qu'il met par ordre alphabétique, et on se retrouve avec un brassage de source, headers, données etc... sick Idéalement, je voudrais créer des "dossiers virtuels" comme le fait TIGCC (src, hdr, bin, etc...)

Si quelqu'un a un truc, je suis preneur. smile

2

Pour KDE 4? Ou KDE 3?

Pour KDE 4, peut-être un de ces plugins-là?
http://www.kde-apps.org/content/show.php/kateListFiles+plugin?content=80657
http://www.kde-apps.org/content/show.php/kate+treeview+plugin?content=80940

Pour KDE 3, peut-être un de ces plugins-là?
http://www.kde-apps.org/content/show.php/Kate+Project+Manager+Plugin+(KPMP)?content=42653
http://www.kde-apps.org/content/show.php/(Kate)+FileTree+plugin?content=60026

Avec un peu de codage, on pourrait aussi porter les plugins d'une version à une autre. Voire écrire un plugin qui fait exactement ce que tu veux.

Mais une question: pourquoi n'utilises-tu pas KTIGCC tout simplement? Tu te mets au C sur PC? smile Ou à l'ASM x86? grin
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

3

Merci, je connaissais pas cette page !! Non, j'utilise KTIGCC actuellement, après être revenu de Kate juste pour cette raison (sur un gros projet, plus ça va plus c'est la über-merde sick. Kate a aussi des features que KTIGCC n'a pas (plug-in d'autocompletion par exemple, pour mes labels ou variables avec des nom alakon c'est pas mal.

4

As-tu déjà essayé de taper sur Ctrl+Espace dans KTIGCC? roll
KTIGCC a l'autocomplétion intégrée!
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

5

Même pour l'assembleur ? Non, j'ai jamais essayé.

6

Hmmm, en fait ce n'est implémenté que pour le C actuellement (aussi dans TIGCC IDE), pas étonnant que tu ne connais pas alors. gni

(Et je sens que j'ai le prochain feature request de ta part maintenant. grin)
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

7

Môa ? Mais j'ai encore rien dit ! cheeky

8

J'essaye de compiler Katefiletree, d'un de tes liens pour KDE 3.5.x.
Le ./configure se passe bien, mais j'ai un problème avec make :
[root@mars katefiletree]# make
Makefile:857: warning: overriding commands for target `clean-bcheck'
Makefile:820: warning: ignoring old commands for target `clean-bcheck'
Makefile:862: warning: overriding commands for target `bcheck-am'
Makefile:825: warning: ignoring old commands for target `bcheck-am'
cd . && make -f admin/Makefile.common configure.in ;
make[1]: Entering directory `/home/Martial/Desktop/katefiletree'
*** Creating configure.files
make[1]: Leaving directory `/home/Martial/Desktop/katefiletree'
cd . && /bin/sh /home/Martial/Desktop/katefiletree/admin/missing --run aclocal-1.9
/home/Martial/Desktop/katefiletree/admin/missing: line 52: aclocal-1.9: command not found
WARNING: `aclocal-1.9' is missing on your system.  You should only need it if
         you modified `acinclude.m4' or `configure.in'.  You might want
         to install the `Automake' and `Perl' packages.  Grab them from
         any GNU archive site.
 cd . && /bin/sh /home/Martial/Desktop/katefiletree/admin/missing --run automake-1.9 --gnu
/home/Martial/Desktop/katefiletree/admin/missing: line 52: automake-1.9: command not found
WARNING: `automake-1.9' is missing on your system.  You should only need it if
         you modified `Makefile.am', `acinclude.m4' or `configure.in'.
         You might want to install the `Automake' and `Perl' packages.
         Grab them from any GNU archive site.
 cd . && perl admin/am_edit
cd . && perl admin/am_edit Makefile.in
cd . && rm -f configure
cd . && make -f admin/Makefile.common configure
make[1]: Entering directory `/home/Martial/Desktop/katefiletree'
configure.in:43: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:48: error: possibly undefined macro: AM_CONFIG_HEADER
configure.in:51: error: possibly undefined macro: AC_CHECK_COMPILERS
configure.in:52: error: possibly undefined macro: AC_ENABLE_SHARED
configure.in:53: error: possibly undefined macro: AC_ENABLE_STATIC
configure.in:58: error: possibly undefined macro: AM_KDE_WITH_NLS
configure.in:61: error: possibly undefined macro: AC_PATH_KDE
configure.in:70: error: possibly undefined macro: AC_CHECK_KDEMAXPATHLEN
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/home/Martial/Desktop/katefiletree'
make: *** [configure] Error 2

J'ai automake (1.10) et aclocal. J'ai le paquet Perl installé.

Je peux poster le Makefile si besoin est. Une idée ? ...

9

Essaie de lancer autoreconf. Le logiciel essaie de trouver automake 1.9 et il n'est pas content parce que tu n'as que la 1.10. Bah oui, ça fonctionne par versions exactes, pas >=, ce truc. sick Donc il convient de relancer tous les autotools, ce que fait autoreconf.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

10

Bon, j'ai donc fait un autoreconf, et j'ai changé le numéro de version codé en dur dans le Makefile. Ca a l'air de mieux se passer à ce niveau, mais maintenant j'ai ça :
[root@mars katefiletree]# make
make  all-recursive
make[1]: Entering directory `/home/Martial/Desktop/katefiletree'
Making all in doc
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/doc'
make[3]: Entering directory `/home/Martial/Desktop/katefiletree/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Martial/Desktop/katefiletree/doc'
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/doc'
Making all in po
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/po'
Making all in src
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/src'
/bin/sh ../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT mytree.lo -MD -MP -MF .deps/mytree.Tpo -c -o mytree.lo mytree.cpp
mytree.cpp:429:22: error: mytree.moc: No such file or directory
mytree.cpp:429:22: warning: no newline at end of file
mytree.cpp: In constructor 'MyTree::MyTree(QWidget*, const char*)':
mytree.cpp:94: warning: format not a string literal and no format arguments
mytree.cpp: At global scope:
mytree.cpp:102: warning: unused parameter 'item'
mytree.cpp:108: warning: unused parameter 'item'
mytree.cpp: In member function 'void MyTree::requestContextMenu(KListView*, QListViewItem*, const QPoint&)':
mytree.cpp:175: warning: format not a string literal and no format arguments
mytree.cpp: At global scope:
mytree.cpp:169: warning: unused parameter 'l'
mytree.cpp: In member function 'void MyTree::removeBookmark()':
mytree.cpp:199: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::addBookmark()':
mytree.cpp:210: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::gotoBookmark()':
mytree.cpp:219: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::requestSync()':
mytree.cpp:239: warning: format not a string literal and no format arguments
mytree.cpp:251: warning: format not a string literal and no format arguments
mytree.cpp:254: warning: format not a string literal and no format arguments
mytree.cpp:257: warning: format not a string literal and no format arguments
mytree.cpp:272: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::startTranversing(KFileTreeBranch*)':
mytree.cpp:295: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::openNextDir(KFileTreeViewItem*)':
mytree.cpp:324: warning: format not a string literal and no format arguments
mytree.cpp:328: warning: format not a string literal and no format arguments
mytree.cpp:331: warning: format not a string literal and no format arguments
mytree.cpp:333: warning: format not a string literal and no format arguments
mytree.cpp:334: warning: format not a string literal and no format arguments
mytree.cpp:342: warning: format not a string literal and no format arguments
mytree.cpp:351: warning: format not a string literal and no format arguments
mytree.cpp:362: warning: format not a string literal and no format arguments
mytree.cpp:365: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::makeVisible(KFileTreeViewItem*)':
mytree.cpp:382: warning: format not a string literal and no format arguments
mytree.cpp: In member function 'void MyTree::initBookmarkMenu(QPopupMenu*)':
mytree.cpp:414: warning: unused variable 'i'
make[2]: *** [mytree.lo] Error 1
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Martial/Desktop/katefiletree'
make: *** [all] Error 2
[root@mars katefiletree]#

[nosmile]
J'ai installé le paquet devel de kdebase, parce que Kate provient de là si je ne m'abuse. Rien n'y fait, ça devait pas être ça ..

11

Pour info, je viens de vérifier le config.log, tout semble normal, et il y a ça vers la fin : configure: exit 0

(et merci pour ta piste au fait)

12

Il ne lance pas moc comme il devrait.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

13

>>> mytree.cpp:429:22: error: mytree.moc: No such file or directory

Effectivement, il n'y a pas de mytree.moc, alors que la dernière ligne de mytree.cpp est un #include "mytree.moc". Que faire ? Ce fichier doit être créé lors de l'exécution de make ? Dans le makefile, j'ai ça :
MOC = /usr/lib/qt-3.3/bin/moc
Ce fichier existe bien en effet.

Il est utilisé dans les sources :
acinclude.m4: KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
acinclude.m4: AC_SUBST(MOC).
Je connais rien à ce langage, je ne sais pas quoi vérifier exactement. Qu'est-ce qu'une extension .m4 ?

14

Bah, essaie de l'appeler manuellement:
moc -o mytree.moc mytree.h
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

15

Ok, c'est fait et ça a marché. Mais ça continue :
[root@mars katefiletree]# make
make  all-recursive
make[1]: Entering directory `/home/Martial/Desktop/katefiletree'
Making all in doc
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/doc'
make[3]: Entering directory `/home/Martial/Desktop/katefiletree/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/Martial/Desktop/katefiletree/doc'
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/doc'
Making all in po
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/po'
Making all in src
make[2]: Entering directory `/home/Martial/Desktop/katefiletree/src'
/bin/sh ../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT mytree.lo -MD -MP -MF .deps/mytree.Tpo -c -o mytree.lo mytree.cpp
mv -f .deps/mytree.Tpo .deps/mytree.Plo
/bin/sh ../libtool --silent --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/kde -I/usr/lib/qt-3.3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT plugin_katefiletree.lo -MD -MP -MF .deps/plugin_katefiletree.Tpo -c -o plugin_katefiletree.lo plugin_katefiletree.cpp
plugin_katefiletree.cpp:159:35: error: plugin_katefiletree.moc: No such file or directory
make[2]: *** [plugin_katefiletree.lo] Error 1
make[2]: Leaving directory `/home/Martial/Desktop/katefiletree/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Martial/Desktop/katefiletree'
make: *** [all] Error 2

Tant pis, je vais tenter avec l'autre plug-in sad

16

qsmldtkjazitjgnazejgrna j'ai des erreurs de décompression pourles deux archives (KDE 3.x) en utilisant ark, quelle est la ligne magique en ligne de commande ? (l'option -qsdfjklhqsdf, je m'en souviens plus par coeur...)

17

Folco (./15) :
Mais ça continue

Autre fichier .moc manquant, faut faire la même procédure.
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

18

Folco (./16) :
qsmldtkjazitjgnazejgrna j'ai des erreurs de décompression pourles deux archives (KDE 3.x) en utilisant ark, quelle est la ligne magique en ligne de commande ? (l'option -qsdfjklhqsdf, je m'en souviens plus par coeur...)

tar xf
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

19

merci grin