Usually I'd like to edit files with Spaces only.
But when I open files with Tabs, I'd like to see them (for example as arrows ->
). With such files I do my edits careful, so not to destroy the original authors coding style -- usually I insert tabs by hand when needed.
So, I want to see Tabs all the time, but using the General, Editors, Text Editors, Show Whitespace Characters option, I get distracted by all the whitespace-dots.
How can I reduce this distraction by Spaces, but at the same time see the Tabs?
->
for tabs or the dots for Spaces). This makes Tabs wuite visible, without harming my "normal" source visualization. This would be my favorite. I did that by adding the Tab to be a keyword in all languages, and then change the keyword background color to a bright yellow.Go to Window->Preferences->General->Editors->Text editors->Show whitespace->Configure visibility, then select checkbox for visible tabs (and trailing spaces). Newer versions of eclipse (from around version 3.5. 2): go to Window->Preferences->General->Editors->Text Editors, and select "Insert spaces for tabs".
5-In your Eclipse IDE, Go to: Window → Preferences → General → Editors → Text Editors → Indent Guide 6-Then enable indent guide checkbox. 7-Enjoy !
According to the Eclipse 3.7M3 New and noteworthy you can customize the Show Whitespace Characters to show only tabs but not spaces.
Unfortunately the stable version of Eclipse 3.7 is expected in 2011 summer but if that feature is a 'must' for you you can try that milestone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With