Code tooltips problem

General questions regarding the usage of CodeLite
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Code tooltips problem

Post by marfi »

Hi,
I've found one problem in (ctags?) code tips. Information for all code fragments in the following code line is displayed correctly,

Code: Select all

udProjectItem* pItem = (udProjectItem*) item->GetUserData();
but for next version a code editor doesn't show code tip for "item" and "GetUserData()" tokens:

Code: Select all

udProjectItem* pItem = (udProjectItem*)item->GetUserData();
The problem is caused by a space before "item" token. If the space exists, then code parsing works fine, but without the space it probably fails.

Regards
marfi
User avatar
eranif
CodeLite Plugin
Posts: 6372
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Code tooltips problem

Post by eranif »

marfi wrote:I've found one problem in (ctags?) code tips
ctags does not parse expressions - the real parser is built with yacc/flex

Anyways, thanks for reporting this (there is an already open bug for this at SF)

Eran
Make sure you have read the HOW TO POST thread
Post Reply