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.

Bug 76245

Summary: Impossible to turn off autoindent with tabs on and tabsize=8
Product: editor Reporter: dml <dml>
Component: SettingsAssignee: Martin Roskanin <mroskanin>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description dml 2006-05-11 23:34:55 UTC
If i disable autoindent (which i find really annoying), i get spaces instead of
tabs if i type a tab (which i find even more annoying). There seems to be no
method to diable both features.

This really bugs me.

Thanks in advance for looking at it.
Comment 1 Miloslav Metelka 2006-06-09 13:22:35 UTC
How do you disable the indentation? By switching to advanced options and
selecting the editor settings->java editor->indentation engine you can set
'Simple indentation engine' and unselect the 'Expand tabs to spaces'.
Comment 2 dml 2006-07-04 16:43:14 UTC
If i choose:

Tools -> Options -> Advanced Options -> Editing -> Editor Settings -> Java
Editor -> Indentation Engine -> No Indentation

close, and reopen the same settings window, it has 'Java Indentation' again. So
the settings seem to be not recorded for Java (for other types it does).

This happened not always, maybe it depends on some other settings. I don't know
which.

I'm using 5.5beta now.
Comment 3 Jiri Prox 2006-07-10 08:44:27 UTC
The lost Indentation Engine setting is tracked by issue 70424
Comment 4 Miloslav Metelka 2006-07-18 17:44:03 UTC
I see, this is in fact the dup of issue 70424.

*** This issue has been marked as a duplicate of 70424 ***