开发者

How do i enable tabwidth of 2 in eclipse for erb?

How can i enable tabwidth and indent width of 2开发者_C百科 in erb files in Eclipse ?


If you're using the Aptana Studio 3/RadRails plug-in (formerly Ruby Development Tools), then the setting should be under Window > Preferences > Aptana > Editors > Ruby:

How do i enable tabwidth of 2 in eclipse for erb?

If you're using the default Eclipse text editor, then you'll need to change the "Displayed tab width" setting under Window > Preferences > General > Editors > Text Editors:

How do i enable tabwidth of 2 in eclipse for erb?

I suppose it's also possible that you've mapped the .erb file extension to a completely different editor in Eclipse, in which case you'll need to change the tab width for that editor. Specific editor preferences supercede the general text editor preferences.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜