Normally i use
kate editor to develop in any language, i tried many ones before like
vim,
jeditor or indeed some IDE's like
kdevelop or
eclipse but i'm still choosing
kate for all (altough
vim is always my first option). It's simple, has syntax highlight for nearly all languages, window split, embedded console, easy shortcuts for indent, comment and so and lot of more cool features, some plugins, etc.
Some months ago i started to develop under
CLAM framework (because
this year gsoc) which is C++ code, but i realized the problem that the source has as convention .hxx and .cxx files instead of the more classic .h and .cpp, then the kate editor fails to
switch between header and definition with the shortcut (F12) i lacked very much this kind of feature for weeks, there was no configuration available, nor nothing in google searchs. But yesterday i asked in #kate freenode channel and then in the kwrite-devel mailing list (kate, katePart, kwrite related) and they told me that this kind of feature was hardcoded in one plugin, so i had the idea to download the sources and recompile it with my own fix.
i downloaded kdeaddons-3.5.6 source (same version than my current kde) and configure it well, but when i tried to compile the openheader plugin i was getting errors, then i had to run qt3 moc bin manually, because define 'export QTDIR=/usr/share/qt3' was not enough… 'make' command was still calling '/usr/share/qt4/bin/moc' not matter what you do.
These are the complete steps i had performed to have it working:
/usr/share/qt3/bin/moc ./plugin_kateopenheader.h -o plugin_kateopenheader.moc
make
sudo libtool --mode=install install -c kateopenheaderplugin.la /usr/lib/kde3/kateopenheaderplugin.la
kbuildsycoca
And first, of course the tweak in the sources, just an add in plugin_kateopenheader.h:91
QStringList headers( QStringList() << "h" << "H" << "hh" << "hpp" << "hxx" );
instead of
QStringList headers( QStringList() << "h" << "H" << "hh" << "hpp" );
that was all, very easy, don't? now i'm coding with
clam a lot more comfortable :-D
i hope they include it in the official release (they already told me that they will)
for this kind of things is that i like so much the open-source! was so simple and now so useful!