cimnine
cimnine

Reputation: 4067

Eclipse Spaces & Tabs

I like to display 4 spaces as tab in eclipse, with an actual width on the screen of 2 spaces.

When I save the file, I'd like to have 4 spaces (represented as «.») for a tab:

1st.level  
....2nd.level  
........3rd.level  

In eclipse, I'd like to see this, where a tabstop (represented as «->>») should take the width of two spaces:

1st.level  
->2nd.level  
->->3rd.level  

Is such a behavior possible? Does someone know any addons for that?

Thank you in advance, ~Chris

Upvotes: 1

Views: 3298

Answers (2)

Blunderdonwunder
Blunderdonwunder

Reputation: 29

Open "Preferences" -> "General" -> "Editors" -> "Text Editors"

Set "Displayed tab width" to the number of spaces you would like it to insert. Tick the Box that says "Insert spaces for tabs"

Upvotes: 2

Bozho
Bozho

Reputation: 597016

AnyEdit tools sounds like what you might need.

Upvotes: 4

Related Questions