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.
Basically it used for the same think - indention. It's really weird when you open file which uses tabs for indention. Could you set the default value for "Tab size" to 4?
So what do you think? Is that a reasonable request?
Yes, I they should be the same and yes 4 sounds like a reasonable value. I actually changed that already as part of #142146, but hasn't pushed it yet.
http://hg.netbeans.org/main/rev/c5275d01150c
Integrated into 'main-golden', available in build *200808201401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/c5275d01150c User: Vita Stejskal <vstejskal@netbeans.org> Log: #144067 (fixed): default tab-size changed to 4
Is there a reason why it's back to 8 in 6.7 beta?
It was because of issue 153609. For me personally the main reason was that Sun's JDK sources rely on tabSize == 8 but I agree with other reasons in that issue too. Please change it to 4 manually in your config if you need it.
it seems to me that 8 tab size want to have people from C++ world, in Java world no one really cares about terminals and Sun's JDK formatting :) most Java projects and IDEs have 4 ch. tab size, but it's not a problem to change it. BTW: Are there any NB statistics about using tab size in Java lang. without "Expand tabs to spaces" turned on?
I'm not aware about any statistics and googling did not reveal it as well. IMHO many projects simply don't use '\t' for indentation at all just spaces.