开发者

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 (r开发者_如何学Goepresented 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


AnyEdit tools sounds like what you might need.


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"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜