| Summary: | Cannot obtain proper indentation in case statement | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Randy Hudson <hudsonr> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of 74505 *** not a dup - the problem here is that the indentation inside a 'case' is two units, but the user actually wants to start another 'case' and therefore just one unit |
given: switch (value) { case 0: return; break; <<CARET>> } If you press TAB at the CARET, 2 TABS are insered. Then, if you BACKSPACE, both tabs are removed. It is too hard to get to the proper indentation (1 TAB).