This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If 'expand tabs to spaces' is off, some automatically-generated code will still use spaces instead of tabs.
Build number please, and details to reproduce (what automatically-generated code?).
It is the expected behaviour. When Expand Tabs To Spaces is true, every Tab met in the document during formatting is expanded to a sequence of spaces. It doesn't mean that spaces are collapsed to tabs when False. If you need this functionality, file a RFE or reopen this bug as an enhancement.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Integrated into 'main-golden', will be available in build *201204181547* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/f253d84a703f User: Jesse Glick <jglick@netbeans.org> Log: Trying to diagnose random failure in NB-Core-Build #8167.