Bug 163418

Summary: [typing] allow to not add indentation to empty lines
Product: [Eclipse Project] Platform Reporter: Max Gilead <max.gilead>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: hwaite, remy.suen
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Max Gilead CLA 2006-11-03 19:34:43 EST
Eclipse should not add indentation to empty lines when increasing code indentation. It unnecessarily makes patches bigger and harder to read.

For example, when pressing Tab on this code (| marks end of line):

foo();|
|
bar();|

Eclipse will produce:

    foo();|
    |
    bar();|

while cleaner code would be:

    foo();|
|
    bar();|
Comment 1 Max Gilead CLA 2006-11-03 19:49:13 EST
*** Bug 163419 has been marked as a duplicate of this bug. ***
Comment 2 Dani Megert CLA 2009-04-14 04:40:30 EDT
*** Bug 271913 has been marked as a duplicate of this bug. ***
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:16:19 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.