Bug 30194 - auto-indentation in JDT editor appears to have problems
Summary: auto-indentation in JDT editor appears to have problems
Status: RESOLVED DUPLICATE of bug 28454
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 12:58 EST by David Pickens CLA
Modified: 2003-02-10 10:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Pickens CLA 2003-01-24 12:58:10 EST
Since 2.1 M4, auto-indentation in the JDT editor appears to have broken.

I desire hard tabs to be 8, but indentation to be 4. I had it working this
way prior to M4, but now auto-indentation is 8.

Perhaps this is a repeat of bug 28454, but it isn't clear. The preference 
settings for tabs and indentation are confusing.

I have the "Displayed tab width" preference set to 8 (from 
Java/Editor/Appearance preference page).

In the Code Formatter/Style preference, I have "Indentation represented by a 
tab" unchecked and "Number of spaces representing a tab" set to 4.

Therefore, I expect auto-indentation to be 4, while hard tabs are 8.
If I am misunderstanding the preference settings, could someone explain how I 
can get the desired behavior restored for M4?
Comment 1 Kai-Uwe Maetzel CLA 2003-02-10 10:10:30 EST

*** This bug has been marked as a duplicate of 28454 ***