Bug 163418 - [typing] allow to not add indentation to empty lines
Summary: [typing] allow to not add indentation to empty lines
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 163419 271913 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-11-03 19:34 EST by Max Gilead CLA
Modified: 2019-09-06 16:16 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 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.