
kate cppdevelop plugin
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description:version 0.1.3
1 add simple support javascript
1 fix RegExp for parse #define
2 fix search in Fn Perl PM
3 rename classes fix libtool files for FreeBSD support
Ratings & Comments
18 Comments
Hi, I'd like to adapt your source but i'm a bit lost. Could you explain where in your plugin you restritc parsing on to cpp files? I mean if a take a .cpp and rename it to .arg then the symbol list is empty. Where is it done? thx
You have two ways 1 select highlighting as C++ 2 in method CppView::slotDocChanged exists QString hlModeName = kv->hlModeName(hlMode); where hlModeName - is Kate highlighting for source
I have a problem with configuration of this plugin: checking for perl... /usr/bin/perl checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt checking for moc... /usr/qt/3/bin/moc checking for uic... /usr/qt/3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... configure: error: in the prefix, you've chosen, are no KDE headers installed. This will fail. So, check this please and use another prefix! I called configure with this parameters: '--with-x' '--enable-mitshm' '--with-xinerama' '--with-qt-dir=/usr/qt/3' '--enable-mt' '--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking' '--disable-debug' '--without-debug' '--with-arts' '--with-extra-includes=/include' '--with-extra-libs=/lib' Do you know what could be wrong? Something has been changed in configure script? The previous version worked well.
I'm sure, something has been changed in ./configure script! If I take ./configure script from older version (http://www.kde-apps.org/content/files/51805-katecppdevelop.tgz), then the configuration process works well. Could you please have a look on that? Thanks.
I have solved that problem. It was my fault. Btw. Kate gave me a warning, that you should install your ui.rc like plugin_katecppdevelop.rc.
i fix it. sorry what can't answer you earlier, ps. nice avatar :)
You have uploaded wrong package man! ;) You should be more careful if you publishing something over the Internet ;o)
thanks, I'm fix and it :)
Hi, I'm the developer of cppsymbolviewer. I'm wondering why you wrote a "replacement", as no one ever said that my project is dead. As you surely know the KDE SVN repository is a mess since almost one year, due to the huge porting to QT4, so I'm just waiting for them to make something stable to improve and extend the functionalities of my plugin. Writing from scratch is usually good when something DOESN'T exists. Anyway, good luck. Massimo
Sorry, I bad speek English and I have betraid not correct value to a word "replacement", i correct this as "alternative"
I have made ebuild for Gentoo. You can find it here: http://bugs.gentoo.org/show_bug.cgi?id=162761 Btw. thanks for this great plugin! It works very good for my Perl scripts.
thanks!
Could you please rename the package to this name: kate-cppdevelop-plugin-0.1.1.tar.gz or katecppdevelopplugin-0.1.1.tar.gz This name better corresponding with the project name and its version. Your package name katecppdevelopplugin-0.1.tar.gz doesn't corresponding with it very well.
In file included from plugin_katecppdevelop.cpp:20: class.cppview.h:68:7: warning: no newline at end of file plugin_katecppdevelop.cpp: In member function `void CppDevelopView::_draw()': plugin_katecppdevelop.cpp:58: error: `Left' is not a member of type ` Kate::ToolViewManager' plugin_katecppdevelop.cpp:58: error: `createToolView' undeclared (first use this function) plugin_katecppdevelop.cpp:58: error: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [plugin_katecppdevelop.lo] Ошибка 1 make[2]: Leaving directory `/home/sysadmin/tmp/cppdevelop/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/home/sysadmin/tmp/cppdevelop' make: *** [all] Ошибка 2
you KDE < 3.3 or > 3.5 ?
usr/include/kde/ktexteditor/cursorinterface.h:34: warning: 'class KTextEditor::Cursor' has virtual functions but non-virtual destructor class.absparser.h:52: warning: 'class AbsParser' has virtual functions but non-virtual destructor class.absparser.h:68: warning: 'class CppParser' has virtual functions but non-virtual destructor class.absparser.h:80: warning: 'class PerlParser' has virtual functions but non-virtual destructor class.absparser.h:88: warning: unused parameter 'name' class.absparser.h:88: warning: unused parameter 'type' class.absparser.cpp: In member function 'virtual void CppParser::parse(Kate::Document*)': class.absparser.cpp:152: error: unknown escape sequence '\}' class.absparser.cpp:156: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:160: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:283: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:283: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:324: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:324: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:361: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:361: warning: comparison between signed and unsigned integer expressions class.absparser.cpp:142: warning: unused variable 'qoute' class.absparser.cpp:143: warning: unused variable 'blockF' class.absparser.cpp: In member function 'virtual void PerlParser::parse(Kate::Document*)': class.absparser.cpp:495: warning: unused variable 'j' make[2]: *** [class.absparser.lo] Error 1 make[2]: se sale del directorio `/opt/src/cppdevelop/src' make[1]: *** [all-recursive] Error 1 make[1]: se sale del directorio `/opt/src/cppdevelop' make: *** [all] Error 2
replace 152 str on QRegExp rxMacro( "^#\\s*define\\s([^\\s\\r\\n]+)" );
good this QRegExp rxMacro( "^#\\s*define\\s+([^\\s\\r\\n]+)" );