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 170768 - Option of "MyRef &ref" instead of "MyRef& ref" on autocompletion
Summary: Option of "MyRef &ref" instead of "MyRef& ref" on autocompletion
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@cnd
Depends on:
Reported: 2009-08-22 20:47 UTC by canidae
Modified: 2009-10-17 09:50 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description canidae 2009-08-22 20:47:57 UTC
When you autocomplete ie. a function with pointer/reference arguments it autocompletes with the pointer/reference
symbol(s) next to the type and not the variable. Since many prefer the old c-style where the pointer/reference symbol(s)
is/are next to the variable it would be nice if this could be made user-customizable.
If autoformat could do this then that would be quite nifty too :)
Comment 1 canidae 2009-10-17 09:50:34 UTC
Another one that should be possible for the user to customize:
"std::ostream &operator<<(std::ostream &os, const Point &p);" will be "fixed" to "std::ostream & operator<<(std::ostream
&os, const Point &p);" (note the space it added before "operator") when you format the code, would be nice if it was
possible to prevent it from doing that :)