Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 459832

Summary: [quickfix] Add 'Add break statement' quickfix for switch case fallthrough annotation
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: Michael_Rennie
Version: 8.0   
Target Milestone: 9.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2015-02-12 16:13:26 EST
switch (x) {
case 'a':
  a();
case 'b':
  b();
  break;
}

We provide a quickfix in this case already to comment the fallthrough case as intentional, but we don't provide a quickfix to insert a break statement.