
kate cppdevelop plugin
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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
13 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
13 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
13 years ago
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
adroot
13 years ago
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
14 years ago
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
14 years ago
Report
jirityr
14 years ago
Btw. Kate gave me a warning, that you should install your ui.rc like plugin_katecppdevelop.rc.
Report
adroot
14 years ago
sorry what can't answer you earlier,
ps. nice avatar :)
Report
jirityr
14 years ago
Report
adroot
14 years ago
Report
dragonlord79
14 years ago
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
adroot
14 years ago
Report
jirityr
14 years ago
http://bugs.gentoo.org/show_bug.cgi?id=162761
Btw. thanks for this great plugin! It works very good for my Perl scripts.
Report
adroot
14 years ago
Report
jirityr
14 years ago
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
14 years ago
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
adroot
14 years ago
Report
karpio
14 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
adroot
14 years ago
QRegExp rxMacro( "^#\\s*define\\s([^\\s\\r\\n]+)" );
Report
adroot
14 years ago
QRegExp rxMacro( "^#\\s*define\\s+([^\\s\\r\\n]+)" );
Report