forcedotcom/idecore — pull request #39 by KeithClarke (2014-07-28 11:58:13+00:00)
Title: Respect spacesForTabs preference for auto-indent

We've used the Force.com IDE for several years with the General/Editors/Text Editors/Insert spaces for tabs preference checked. But the ApexAutoIndentStrategy contains a hard coded tab character and so Apex files end up with a mixture of spaces and tabs.

This change respects the preferences settings so that either a tab or the appropriate number of spaces are used.