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

Summary: ignore space in parentheses of function calls for empty parameters list
Product: cnd Reporter: Alexander Simon <alexvsimon>
Component: EditorAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

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!