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

Summary: *Class View* should display function parameters' declaration as they appear in text
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: NavigationAssignee: Vladimir Kvashin <vkvashin>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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.