When I hit TAB for indentation of code, I like it to get a real TAB. Meaning that when I select that, I only have one large thing selected. Now NetBeans is inserting just 5x spacebar when I hit TAB. Can I change that? Where?
views:
467answers:
5Go to Tools-> Options-> Editor-> Formatting and uncheck Expand tabs to spaces. You can check all the items in the Language combo and make sure they all use the general setting.
You can also change it in a per-project fashion. Right click on the project icon, select Properties and review the Formatting category.
It works ok in 6.5, I use 6.7 at home, this bug is for 6.7 only, NetBeans has degraded!
In Tools-> Options-> Editor-> Formatting Expand tabs to spaces should be unchecked and Number of Spaces per Indent should be equal with Tab Size. Also check when you change Language from All languages to other there Override Global Options should be unchecked, too.
It seems to work if you select the same value for "Number of Spaces per Indent" and "Tab Size", after unchecking the "Expand Tabs to Spaces" Option, in Tools -> Options -> Editor -> Formatting, for example:
[ ] Expand Tabs to Spaces Number of Spaces per Indent: [ 4] Tab Size: [ 4] ....
Try 3 if+TAB inside each other. 3rd has collapsed. Is it supposed to be so?