Home Download Buy Blog Forum Support

Any way to always indent using tabs?

Any way to always indent using tabs?

Postby indiver on Tue Mar 08, 2011 6:10 am

Hi

I'm trying to set up the editor so that indentation always uses tabs.

When have a line indented, and then I press enter at the end, I get 1 tab (equal to the width of 4 characters), and then I get 4 spaces. An subsequent tabs on that line use spaces.

I've looked through the options available, but not sure if there is anything that'll help.

Thanks.

Indy
indiver
 
Posts: 30
Joined: Fri Mar 04, 2011 5:40 am
Location: Auckland, New Zealand

Re: Any way to always indent using tabs?

Postby jps on Tue Mar 08, 2011 6:16 am

If the View/Indentation/Indent Using Spaces menu item is unchecked, then tab will always insert a tab character.

If the indentation settings aren't doing what you want, then you may want to turn off the detect_indentation setting: http://www.sublimetext.com/docs/2/indentation.html
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Any way to always indent using tabs?

Postby indiver on Tue Mar 08, 2011 5:36 pm

Thanks. That seems to work.
indiver
 
Posts: 30
Joined: Fri Mar 04, 2011 5:40 am
Location: Auckland, New Zealand


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 28 guests