Page 1 of 1

Code tooltips problem

Posted: Thu Jan 01, 2009 10:42 pm
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

Re: Code tooltips problem

Posted: Fri Jan 02, 2009 2:19 am
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