[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: [Bug 78255] kdevelop parser gets confused by comments in cpp sources
From: John Birch <jbb () kdevelop ! org>
Date: 2004-03-23 7:42:30
Message-ID: 20040323074230.18579.qmail () ktown ! kde ! org
[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=78255
------- Additional Comments From jbb kdevelop org 2004-03-23 08:42 -------
Well
classInst.
methodName();
is valid syntax.
So in your case
QString tmp;
tmp.
tmp.<ctrl><space>
I would expect the code completion to be looking for tmp.tmp.
which it would never find as there's no tmp var on a QString. Hence no code \
completion can be offered with or without a comment in between.
However - you are right - this is a bug. The following
QHBoxLayout *top_layout = new QHBoxLayout(this);
top_layout->
// lala ....
widget()-><ctrl><space>
doesn't work whereas
top_layout->
widget()-><ctrl><space>
will work.
Not quite the same you were reporting though :-)
_______________________________________________
Kdevelop-devel mailing list
Kdevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic