Community
Participate
Working Groups
Here's formatting problem for a complex constructor in combination with // comments (I shortened the strings to fit it into this textarea): public IPropertyDescriptor[] getPropertyDescriptors() { if (getClass().equals(ClassDiagram.class)) { ComboBoxPropertyDescriptor cbd = new ComboBoxPropertyDescriptor( ID_ROUTER, OdinMessages.getString("..."), //$NON-NLS-1$ new String[] { OdinMessages.getString("..."), //$NON-NLS-1$ OdinMessages.getString("...") //$NON-NLS-1$ }); cbd.setLabelProvider(new ConnectionRouterLabelProvider()); return new IPropertyDescriptor[] { cbd }; } return super.getPropertyDescriptors(); } The "new String[]" should have the same indentation level as the line "OdinMessages.getString".
Will reconsider post 2.0.
Resurrecting formatter issues in 2.1 stream.
Clearing resolution
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in the works. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan.
Resurrecting for 3.0
Reopen for 3.0 consideration.
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.