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.
Product Version: NetBeans IDE 6.1 RC2 (Build 200804170002) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb) Number of spaces per indent is set to 2 if user changes this setting. The new valued is take in an account after IDE restart. 0) start ide with fresh userdir 1) change Number of spaces per indent to 6 2) reformat code -> indentation level is 2, not 6 as specified on options dialog 3) restart IDE -> indentation works correctly
What language were you editing?
java
Reproducible in a dev build.
This would be good candidate for patch1
http://hg.netbeans.org/main/rev/462446adbbbe
verified in trunk
Integrated into 'main-golden', available in NB_Trunk_Production #157 build Changeset: http://hg.netbeans.org/main/rev/462446adbbbe User: Vita Stejskal <vstejskal@netbeans.org> Log: #133094 (fixed): problems with spaces-per-tab setting
The fix has been ported into the release61_fixes branch: http://hg.netbeans.org/release61_fixes/rev/d475a3904f8a