[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 104510] New: ctags part does not work well if comments are part of the tag line
From: kdevelop-bugs-admin () barney ! cs ! uni-potsdam ! de
Date: 2005-04-25 7:42:33
Message-ID: 20050425094232.104510.volker.kaiser () comsoft ! de
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=104510
Summary: ctags part does not work well if comments are part of
the tag line
Product: kdevelop
Version: 3.2
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: volker.kaiser comsoft de
Version: 3.2 (using KDE KDE 3.4.0)
Installed from: Compiled From Sources
Compiler: gcc-3.2.3
OS: Linux
if there are comments within a tag relevant code line the ctags part does not find \
the line.
example:
struct A
{
void testmethod(void); /* this tag will not be found by ctags part */
void secondtest(void); // cpp comment does not work either
};
this leads to the following 2 lines in the tags file
testmethod testheader.h /^ void testmethod(void); \/* this tag will not be found by \
ctags part *\/$/;" p struct:A secondtest testheader.h /^ void secondtest(void); \
\/\/ cpp comment does not work either $/;" p struct:A
here is the header of my tags file:
!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/
!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/
!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert users sourceforge net/
!_TAG_PROGRAM_NAME Exuberant Ctags //
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.5.4 //
I also tested this with the vi editor and it works there.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic