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.
Summary: | First level of tabs always expands to spaces | ||
---|---|---|---|
Product: | java | Reporter: | ekolis <ekolis> |
Component: | Editor | Assignee: | Miloslav Metelka <mmetelka> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | dbalek |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ekolis
2007-06-27 19:37:09 UTC
There are actually three settings that need to be considered: -Expand tab to space -Tab Size (Tools/Options/Advanced Options/Editing/Editor Settings/Java Editor/Tab Size) (defaults to 8) -Number of Spaces per Indent (defaults to 4) If the Tab is pressed once, it adds only 4 spaces, second time it adds another 4 space, and as 4+4 == 8 == Tab Size it replaces the spaces with Tab (provided Expand tab to Spaces is off). If you will set Tab Size to 4 or Number of Spaces per Indent to 8, the first Tab with actually insert the Tab character. So, this is currently as designed, the question is whether we shouldn't make it simpler. Will resolve later. NetBeans.org Migration: changing resolution from LATER to WONTFIX |