Bug 454639 - Format switch statement: half indent
Summary: Format switch statement: half indent
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 4.4.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact: Manoj N Palat CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-09 14:31 EST by Cary Timar CLA
Modified: 2014-12-10 07:34 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cary Timar CLA 2014-12-09 14:31:45 EST
The Java source editor (and other source editors) should support "half-indented" case labels in switch statements.  I have been seeing these in coding standards for many years now (perhaps ten years) so it is time for Eclipse to catch up.

(For those who are not familiar with these, if the standard indent size is set to 4 spaces, the case labels are indented 2 spaces from the switch, and the case contents are indented 2 spaces from the case labels, which is one full indent from the switch.)