| Summary: | Preferences/Java/Code Style/Formatter/White Space/Declarations | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Jorge Campos <campos.jorge> | ||||
| Component: | Core | Assignee: | Mateusz Matela <mateusz.matela> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | mateusz.matela | ||||
| Version: | 4.5 | ||||||
| Target Milestone: | 4.5.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 256395 [details]
Custom formatter configurations
I've exported my custom-Formatter so you can test it.
*** This bug has been marked as a duplicate of bug 472205 *** |
When creating a New code style to my project I've noticed that the code style does not have an option of add an white space after extends class declaration that with a Typed parameter between the typed parameter and the implements keyword: If I have the following line: class Test extends Blah implements X { It works fine But if I write: class Test extends Blah<T> implements X<T> { The formatter will change it to class Test extends Blah<T>implements X<T> { And there is no option to add an empty space after the type parameter of an extended class and before the implements keyword. Note that to the formatter works I've set it on Java/Editor/Save Actions and marked the option "Format source code" with "Format All lines" option selected.