Using TextWrangler for Drupal coding: changing tab to two spaces
Tags
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.
