开发者

Does TextMate have an easy way to indent 2 spaces for a HAML file?

I look around for the preferences in TextMate and there seems to be no开发者_StackOverflow社区 method to set the indent to 2 spaces when we highlight some code and choose

Text -> Shift Right

Right now it is indenting 4 spaces but is there a way to make it 2?


It's on the bottom bar off the application towards the middle. It'll say something like 'Soft Tabs: 4' if you click it you can change it to do 2 spaces for tabs.


Also you can edit multiple lines by holding Option and dragging your mouse along the spot in the lines. When you type, the text will be on all the lines you selected at that spot.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜