I look around for the preferences in TextMate and there seems to be no 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?
Property Value The character string to use when indenting. This can be set to any string value. However, to ensure valid XML, you should specify only valid white space characters, such as space characters, tabs, carriage returns, or line feeds. The default is two spaces.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With