Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 484717

Summary: Insert space missing configuration
Product: [Eclipse Project] JDT Reporter: Arnaldo Piccinelli <arnaldop>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: mateusz.matela
Version: 4.5.1   
Target Milestone: 4.6 M3   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Arnaldo Piccinelli CLA 2015-12-18 18:21:14 EST
Given the line:

@JoinTable(name = "user_authorities", joinColumns = @JoinColumn(name = "user_id") , inverseJoinColumns = @JoinColumn(name = "authority_id") )

The space between the closing parenthesis and the comma in ") ,inverseJoinColumns" cannot be removed via the Formatter configuration.

To test I created a new Formatter configuration, and I disabled "Insert space" for every option.

When I reformatted the code, that comma still remained.

A setting should be added to configure that comma.
Comment 1 Mateusz Matela CLA 2015-12-20 05:36:10 EST
Configuration for this is in Dclarations->Annotations, but it was ignored in some cases.

*** This bug has been marked as a duplicate of bug 471203 ***