-1

I am using Ubuntu via VM-Player, and Eclipse to program in C.

Whenever I save the current code with "Ctrl+S" the cursor in the program is immediately moved to the left endpoint, unnecessarily deleting spacing (like a tab in a line after an if statement). It does not occur when there is code in that line, only on empty lines.

Can I change this behavior of Eclipse? I would prefer for "Ctrl+S" to save the current code and not affect whitespace.

NoseKnowsAll
  • 4,593
  • 2
  • 23
  • 44
Davis8988
  • 298
  • 4
  • 16

1 Answers1

0

Thank you all managed at last to do that from preferences:
Preferences --> C/C++ --> Editor --> Save Actions --> uncheck Remove trailling whitespace.

Davis8988
  • 298
  • 4
  • 16