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 104756

Summary: Formatting option: omit spaces after commas in generic type parameters
Product: java Reporter: Jesse Glick <jglick>
Component: SourceAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2007-05-24 18:35:05 UTC
I often have code such as

Map<String,String> m = new HashMap

which I complete, getting

Map<String,String> m = new HashMap<String, String>();
                                          ^

I would like the marked space to be omitted (to try to keep type declarations
compact). But there does not seem to be any formatting option for this. Turning
off "Comma After Space", which I guess would also affect method parameters where
I do want a space, does not help.