Bug 427053 - [reorg] Reordering methods in Outline view adds trailing white space on empty lines
Summary: [reorg] Reordering methods in Outline view adds trailing white space on empty...
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 16:57 EST by Marc-André Laperle CLA
Modified: 2022-10-20 13:35 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.