Community
Participate
Working Groups
I have something like this in my code: ImageDescriptor descriptor = PlatformUI.getWorkbench() .getSharedImages().getImageDescriptor( ISharedImages.IMG_TOOL_REDO); If I do a correct indentation on the above statement this is what I get: ImageDescriptor descriptor = PlatformUI.getWorkbench() .getSharedImages().getImageDescriptor( ISharedImages.IMG_TOOL_REDO); I tried to do a correct indentation for other statements which span more than one line and the same bug occurs. Build id: 200405290105
Here's another example of this discrepency between "source->correct indentation" and "source->format". format: public class Configuration extends java.lang.Object implements Serializable, Comparable { correct indentation: public class Configuration extends java.lang.Object implements Serializable, Comparable {
*** Bug 250134 has been marked as a duplicate of this bug. ***
*** Bug 283533 has been marked as a duplicate of this bug. ***
Same problem when line break is at binary operator: public class TestCase { TestCase thisIsALongMethoName() { return null; } void bar() { thisIsALongMethoName().thisIsALongMethoName().thisIsALongMethoName() .thisIsALongMethoName(); } void bar2() { boolean b = thisIsALongMethoName().thisIsALongMethoName() == null && thisIsALongMethoName().thisIsALongMethoName() != null; } } See also bug 65463 (conditional expression).
> See also bug 65463 (conditional expression). ... and bug 296943 (string concatenation) and bug 75573 (string argument).
*** Bug 331353 has been marked as a duplicate of this bug. ***
> void bar2() { > boolean b = thisIsALongMethoName().thisIsALongMethoName() == null > && thisIsALongMethoName().thisIsALongMethoName() != null; > } This is fixed in 3.7 M6.
Has this being pending? I'm using Eclipse 4.2.1, and stressed a little by chained method indentation behavior that reported as the above.
(In reply to comment #8) > Has this being pending? > I'm using Eclipse 4.2.1, and stressed a little by chained method indentation > behavior that reported as the above. There's currently no one working in this.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.