kate cppdevelop plugin

Developers Apps

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Available as/for:
Description:
Alternative of the Plugin Kate katecppsymbolviewer for Kate, supports C ++, C, Perl,JavaScript(new) autogeneration doxy document for element definition if the documentation exists that shows in the form of the help it is not required to pass to a line with definition of an element and search element match name
Last changelog:

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

LaFleche

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

adroot

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

jirityr

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.

jirityr

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.

jirityr

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.

adroot

i fix it. sorry what can't answer you earlier, ps. nice avatar :)

jirityr

You have uploaded wrong package man! ;) You should be more careful if you publishing something over the Internet ;o)

adroot

thanks, I'm fix and it :)

dragonlord79

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

adroot

Sorry, I bad speek English and I have betraid not correct value to a word "replacement", i correct this as "alternative"

jirityr

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.

adroot

thanks!

jirityr

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.

ntadmin

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

adroot

you KDE < 3.3 or > 3.5 ?

karpio

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

adroot

replace 152 str on QRegExp rxMacro( "^#\\s*define\\s([^\\s\\r\\n]+)" );

adroot

good this QRegExp rxMacro( "^#\\s*define\\s+([^\\s\\r\\n]+)" );

Pling
0 Affiliates
Details
license
version 0.1.3
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

More Developers Apps from adroot:

kate-ctags-plugin-patch
adroot
last update date: 18 years ago

Score 5.0

Other Developers Apps:

Oo-mox
actionless
last update date: 8 years ago

Score 6.5

KEXI
jstaniek
last update date: 7 years ago

Score 6.5

BlackAdder
appy
last update date: 20 years ago

Score 5.0

Wing IDE Professional
sdeibel
last update date: 15 years ago

Score 5.0

Quanta Gold
appy
last update date: 20 years ago

Score 5.0

Codie
elgunvo
last update date: 15 years ago

Score 5.0



System Tags