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 205991 - ignore space in parentheses of function calls for empty parameters list
Summary: ignore space in parentheses of function calls for empty parameters list
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 12:05 UTC by Alexander Simon
Modified: 2013-09-24 14:52 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 Alexander Simon 2011-12-06 12:05:40 UTC
If your preferred style is spaces within parentheses, there doesn't appear to be a way to avoid a space in an empty list ( IDE generates f( ); rather than f();). There should be an option like the ignore empty functions provided for brace placement.

RFE was taken from https://forums.oracle.com/forums/thread.jspa?threadID=2316956&tstart=0
Comment 1 bublor 2013-09-24 14:52:46 UTC
I would also like to see this implemented.  I've seen it in other IDE's, as they give the option to ignore empty parenthesis when configuring whitespace.  A good example would be a code snippet like this:

std::copy( a.begin(), a.end(), b.begin() );

I know it seem whitespace happy to some, but with my eyesight( slight dislexia, legally blind ) it really helps to have these things seperated.

Thanks for the great product!