This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 203661 - Make 'Remove Trailing Spaces' configurable by file type
Summary: Make 'Remove Trailing Spaces' configurable by file type
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P1 normal with 1 vote (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks: 208953
  Show dependency tree
 
Reported: 2011-10-13 14:52 UTC by tomzi
Modified: 2013-01-24 16:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2011-10-13 14:52:32 UTC
Usually eg. in  java, jsp, xml files 'Remove Trailing spaces' makes perfect sense.

However eg. in .properties files I wouldn't want NB to remove trailing spaces, since I'd need those sometimes in my internationalization or other things. Currently it does not seem to be possible to have 'Remove Trailing Spaces' enabled for some files, but not for the others.

Product Version = NetBeans IDE 7.1 Beta (Build 201109252201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Comment 1 Milutin Kristofic 2012-04-04 15:47:45 UTC
This should be implemented to next release.
Comment 2 Milutin Kristofic 2012-04-04 15:49:07 UTC
This should be implemented to next release (after 7.2, miss 7.2 features). -> P1
Comment 3 Milutin Kristofic 2013-01-24 16:15:46 UTC
This was fixed in 7.3. Now, there is no global trailing space option, but this option can be set in on save actions.