Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319166

Summary: "Window->Preferences->C/C++->Editor->Save Actions" are not working
Product: [Tools] CDT Reporter: Yevgeny Shifrin <yevshif>
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: RESOLVED NOT_ECLIPSE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: minor    
Priority: P3    
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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.