Eclipse: view a document using custom spacing, save using the file's spacing
- by Steven Sproat
I have a silly use case for eclipse:
At work, they use 2 spaces for a tab character. Indentation looks really squashed and I'm finding it obstructs readability.
Now, I can't set Eclipse to use 4 spaces for a tab as it'll edit any files I change, and obviously don't want to violate the coding standards.
So, can I have a custom view onto my document, with saving maintaining the original spacing?
Cheers