开发者

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

开发者 https://www.devze.com 2023-03-02 19:48 出处:网络
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

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

精彩评论

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