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 - Formatting option: omit spaces after commas in generic type parameters
Summary: Formatting option: omit spaces after commas in generic type parameters
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 18:35 UTC by Jesse Glick
Modified: 2007-05-24 20:27 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 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.