This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77373 - *Class View* should display function parameters' declaration as they appear in text
Summary: *Class View* should display function parameters' declaration as they appear i...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 07:37 UTC by Vladimir Kvashin
Modified: 2013-05-17 14:00 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2006-06-05 07:37:21 UTC
Class View should display function parameters' declaration as they appear in
text, not as model understands them.

Query* MatchQuery(const char_t* field);

in Clucene project (http://clucene.sourceforge.net) we have the following
declaration and implementation in
clucene-0.8.13/src/CLucene/queryParser/QueryParse.h and
clucene-0.8.13/src/CLucene/queryParser/QueryParser.cpp
files accordingly:


Query* MatchQuery(const char_t* field);
and
Query* QueryParser::MatchQuery(const char_t* field){

It is displayed in ClassView as:

MatchQuery(const char* field)
not as
MatchQuery(const char_t* field)

This is incorrect.
Comment 1 Vladimir Kvashin 2007-04-05 16:13:36 UTC
I'd like to note that from language point of view, class view is *absolutely*
correct in this case. It just expands a char_t macro.
Comment 2 Maria Tishkova 2007-04-05 16:16:18 UTC
I would like to note that it in VS I see in Class View function parameters "as
it is"
Comment 3 Vladimir Kvashin 2007-04-07 08:50:04 UTC
Yes, it would be fine to show parameters as they are in source code.

What I meant is that, in contrary to many other P2 issues, this isn't an error
as such. It's rather a feature that should be more convenient than it is.