Using TextWrangler for Drupal coding: changing tab to two spaces
Drupal coding standards call for two spaces per tab. Any text editor with a bunch of programming options must be able to set the default tab spacing, right?
In TextWrangler's case, yes, but if you searched here before even trying its user interface, you'll be glad you did. It's not anywhere a sane person, or even a rabid rhesus monkey, would think to look.
It's here:
TextWrangler Preferences › Editor Defaults
OK, so far so good. Now, the tab setting is inside the last option on this form, "Default font: "
You have to click set, and the number of spaces for a tab is at the bottom.
Enjoy coding to Drupal standards more easily.
The Agaric Design Collective hopes you found this page because you were searching for "textwrangler set tab default" and not out of extreme boredom, and that it was helpful to you.
Comments
Thank you
Thank you so much! I've been looking for this off and on in Textwrangler for ... years!
Thank you again
Hi,
This is just super info, I guess TextWrangler should publish this in help
Thanks
Thank you!
I've wanted to use textwrangler instead of some other editors, but 4-space tabs was a dealbreaker for me (I use python and I like all indents to be 2 spaces). Now I can use it, thank you!
Post new comment