Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319166 - "Window->Preferences->C/C++->Editor->Save Actions" are not working
Summary: "Window->Preferences->C/C++->Editor->Save Actions" are not working
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 minor with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 13:27 EDT by Yevgeny Shifrin CLA
Modified: 2010-07-13 01:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yevgeny Shifrin CLA 2010-07-07 13:27:35 EDT
Build Identifier: 20100617-1415

No matter what I am configuring in "Save Actions" window, on save action trailing white spaces are removed in all file. I tried to configure it to remove white spaces only on editing lines but it changes the whole file. This is really problematic when small change in a file changes all of it. 

Thanks,
Yevgeny

Reproducible: Always

Steps to Reproduce:
1.Create hellow world project
2.Configure "Save Actions" not to remove trailing white spaces.
3.Add some spaces in the end of file. After save actions there are removed.
Comment 1 Yevgeny Shifrin CLA 2010-07-12 13:11:16 EDT
Hi,

I figured out what caused this issue. I had "AnyEdit" plug-in installed and it had a configuration which removes all trailing white spaces. I disabled it and it saved this issue. From my point of view the issue is solved. Just a question, for C++ editor configuration under C/C++ should be stronger, am I right?

Thanks,
Yevgeny
Comment 2 Anton Leherbauer CLA 2010-07-13 01:50:06 EDT
We cannot control what other plug-ins do.