Project
IntelliJ IDEA
Priority
Normal
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Maxim Shafirov
Subsystem
Editor. Editing Text
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Alexander Chernikov
    5 years ago (08 Sep 2006 19:11)
  • Updated by   root
    2 years ago (17 Jan 2010 20:33)
  • Jira: IDEADEV-9254
    (history, comments)
 
IDEA-33792 "Strip trailing spaces: Modified lines" option: trailing spaces are stripped if user press Enter after the line
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Set option Editor | Strip trailing spaces to "Modified lines" value. Get the code with a line with trailing space:

public class A {

    private int untouchable1; // 1 space after: 

    private int untouchable2; // 1 space after: 

}


Go to the very end of the line with untouchable1. Press Enter. Save - the trailing space aftet the line is erased (line with untouchable2 was not changed - that's Ok). But I think from user's perspective the line was not changed. Spaces should probably not stripped in this case.
Comments (0)
 
History
 
Linked Issues (?)
 
Issue has no comments