kate cppdevelop plugin

Developer Tools

Source (required if based on other people's work):

0
Score 72%
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:

11 years ago

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

LaFleche

10 years ago

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

Report

C

adroot

10 years ago

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

Report

jirityr

11 years ago

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.

Report

jirityr

11 years ago

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.

Report

jirityr

11 years ago

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.

Report

C

adroot

11 years ago

i fix it.
sorry what can't answer you earlier,

ps. nice avatar :)

Report

jirityr

11 years ago

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

Report

C

adroot

11 years ago

thanks, I'm fix and it :)

Report

dragonlord79

11 years ago

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

Report

C

adroot

11 years ago

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

Report

jirityr

11 years ago

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.

Report

C

adroot

11 years ago

thanks!

Report

jirityr

11 years ago

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.

Report

ntadmin

11 years ago

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

Report

C

adroot

11 years ago

you KDE < 3.3 or > 3.5 ?

Report

karpio

11 years ago


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

Report

C

adroot

11 years ago

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

Report

C

adroot

11 years ago

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

Report

11 years ago

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

product-maker 10 36

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.1.3
updated Jul 19 2007
added Jan 18 2007
downloads today
0
page views today 0
System Tags app software