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

Bug 511488

Summary: Missing semi quick fix claims to fix both extra and missing semicolons but doesn't
Product: [ECD] Orion Reporter: Curtis Windatt <curtis.windatt.public>
Component: JS ToolsAssignee: Curtis Windatt <curtis.windatt.public>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 13.0   
Target Milestone: 14.0   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Curtis Windatt CLA 2017-02-01 13:27:39 EST
1) In a JS file have an extra semicolon and a missing semicolon
var a
var b;;
2) Hover over the extra semicolon -> Fix says to "Remove extra semicolon"
3) Hover over the missing semicolon -> Fix says "Add missing ';' or Remove Extra ';'"
4) Run the missing semicolon quick fix with quick fix all enabled
Result
Only the one line is fixed.

The two separate fixes should have similar looking but correct names.