Tab-indent in view with 4 Spaces!

Hello,

always when i use the Tab key in an html.erb file the indent is set to 4 spaces which is really annoying as i have to delete two lines.
How can i get the tab indent to work with only 2 Spaces?

Thanks for any help, Florian.

0

Hi Florian,

See File | Settings | Code Style | General | Tabs and Indents. Here you can setup indents for different languages.

0
Avatar
Permanently deleted user

Thank you Roman, that helped alot.

best regards from Barcelona.

0

best regards from Barcelona.

Wonderful city, I was there two years ago =)

Develop with pleasure!

0

请先登录再写评论。