Bug 427053

Summary: [reorg] Reordering methods in Outline view adds trailing white space on empty lines
Product: [Eclipse Project] JDT Reporter: Marc-AndrĂ© Laperle <malaperle>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, manju656
Version: 4.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: stalebug

Description Marc-André Laperle CLA 2014-01-30 16:57:36 EST
Using Eclipse 4.4-I20140123-1600

1. Open a Java file with multiple methods, like this one:

package testJava;

public class Test {
	void foo() {
		int a = 0;

		a++;
	}

	void bar() {
		int a = 0;

		a++;
	}
}


2. Set your project's save actions to Remove trailing white spaces on all lines
3. In the Outline view, drag the foo method below the bar method: trailing white spaces are added between int a=0; and a++;
Comment 1 Eclipse Genie CLA 2020-10-15 16:20:06 EDT
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.

If you have further information on the current state of the bug, please add it. 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.
Comment 2 Eclipse Genie CLA 2022-10-20 13:35:35 EDT
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.

If you have further information on the current state of the bug, please add it. 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.