-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

Kate CTags Plugin

   0.2  

KDE Text Editor

Score 85%
Kate CTags Plugin
zoom


Link:  http://
Downloads:  2443
Submitted:  Oct 25 2006
Updated:  Feb 9 2007

Description:

This is a port of KDevelop 3.3.5's CTags plugin.

Other changes:
* When a document is opened/switched with kate, the plugin will attempt to locate a 'tags' file. It will look in the folder containing the document, or in the folders ancestors. The level of this search is controlled via the config page.
* The 'ctags' view now shows the location of the tags file, and allows for the file to be loaded.




Changelog:

0.2
---
1. Add "--extra=+q" to default ctags args.
2. When opening a file, use absFilePath - to ensure
duplicates are not opened.
3. If file start with '/', then dont prepend tags file path.




LicenseGPL
Source
Send to a friend
Subscribe
Other  Content  from CraigD
Report inappropriate content



goto page:  1  2 

-
.

 Nice

 
 by garycramblitt on: Oct 25 2006
 
Score 50%

Nicely done!

I would have defaulted the --c++-types option to

--c++-types=+cdefgmnpstuvx

but that's minor. Thanks.


Reply to this

-
.

 Re: Nice

 
 by CraigD on: Oct 26 2006
 
Score 50%

Well I would if I knew what the parameters meant...


Reply to this

-
.

 compile bug

 
 by Tomasu82 on: Oct 26 2006
 
Score 50%

/bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o katectagsplugin.la -rpath /usr/kde/3.5/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib -L/usr/lib -Wl,--as-needed -Wl,--enable-new-dtags ctags2_part.lo readtags.lo ctags2_widget.lo tags.lo ctagskinds.lo ctags2_widgetbase.lo -lkateinterfaces
.libs/ctags2_part.o: In function `PluginKateCTagsInterface::getFileLineFromPattern(KURL const&, QString const&)':
ctags2_part.cpp:(.text+0x49bb): undefined reference to `Kate::application()'
ctags2_part.cpp:(.text+0x4ad5): undefined reference to `Kate::application()'
collect2: ld returned 1 exit status
make[2]: *** [katectagsplugin.la] Error 1

KDE 3.5.5.


Reply to this

-
.

 Re: compile bug

 
 by accolon on: Oct 26 2006
 
Score 50%

The 'undefined references' are caused by missing KDE_EXPORT macros in the Kate application interfaces. Fixed for KDE 3.5.6. You can also apply the patch [1] in kdebase/kate/interfaces and recompile Kate.

[1] http://www.gmdsoft.de/haumann/kde/kate-interface-exports.diff


Kate Developer
Reply to this

-
.

 Thanks

 
 by sars on: Oct 31 2006
 
Score 50%

This really made my day thanks!

Regards,
Kåre


Reply to this

-
.

 Kubuntu Deb

 
 by sars on: Nov 6 2006
 
Score 50%

Hi!

I created a Kubuntu deb for the interested :)

http://www.kolumbus.fi/kare.sars/kate-ctags-plugin_0.1-0ubuntu1_i386.deb

/Kåre


Reply to this

-

 problem compiling

 
 by StyM on: Dec 6 2006
 
Score 50%

/usr/local/bin/bash ../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o katectagsplugin.la -rpath /usr/local/lib/kde3 -module -avoid-version -module -no-undefined -R /usr/local/lib -R /usr/local/lib -R /usr/X11R6/lib -R /usr/X11R6/lib -L/usr/local/lib -L/usr/X11R6/lib ctags2_part.lo readtags.lo ctags2_widget.lo tags.lo ctagskinds.lo ctags2_widgetbase.lo -lkateinterfaces
libtool: link: cannot find the library `'


how to solve this?


Reply to this

-
.

 stack return

 
 by adroot on: Jan 18 2007
 
Score 50%

i add stack for it work as in VIM
file kate-ctags-plugin-0.1/ctags/ctags2_part.cpp
> /*!
> * @class CTagsStack
> * imlemented back go by ctags
> */
> void CTagsStack::pushStep(KURL const & url, int strNum) {
> StackNode *st = new StackNode();
> st->url = url;
> st->numStr = strNum;
> stack.push(st);
> }
>
> int CTagsStack::popStep(KURL *url) {
> if(stack.isEmpty()) return -1;
> StackNode st = *stack.pop();
> *url = st.url;
> return st.numStr;
> }
196a215,216
> new KAction(i18n("return on 1 step back"), 0, 0, this, SLOT(slotStepBack()),
> actionCollection(), "ctags_return_step");
218a239
> m_stack.clearAllStep();
243,244c264,271
< KURL url;
<
---
> KURL url, _url;
> Kate::View *kv = m_view->m_win->viewManager()->activeView();
> if(kv) {
> Kate::Document *kdoc = kv->getDoc();
> _url = kdoc->url();
> int strNum = kv->cursorLine();
> m_stack.pushStep(_url, strNum);
> }
386a414,421
> void PluginKateCTagsInterface::slotStepBack( )
> {
> KURL url;
> int strNum = 0;
> if((strNum = m_stack.popStep(&url))!= -1 ) {
> openDocument(url, strNum);
> }
> }

diff kate-ctags-plugin-0.1/ctags/ctags2_part.h kate-ctags-plugin-0.1.1/ctags/ctags2_part.h
44a45
> #include
57a59,78
> typedef struct StackNode
> {
> KURL url;
> int numStr;
>
> } StackNode;
>
> typedef QPtrStack _CTagsStack;
>
> class CTagsStack
> {
> protected:
> _CTagsStack stack;
> public:
> CTagsStack() { stack.setAutoDelete( TRUE ); }
> void pushStep(KURL const & url, int strNum);
> int popStep(KURL *url);
> void clearAllStep() { stack.clear(); }
> };
>
102c123
<
---
> void slotStepBack();
109c130
<
---
> CTagsStack m_stack;
and

diff -r kate-ctags-plugin-0.1/ctags/ui.rc kate-ctags-plugin-0.1.1/ctags/ui.rc
5a6
>

and set in action ctags_return_step ctrl+T


Reply to this

goto page:  1  2 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team