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

Bug 492913

Summary: "Duplicate object key" quick fix should also rename a named function
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 12.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-05-03 13:11:09 EDT
Consider the following snippet:

var obj = {
  one: function(){},
  one: function one() {}
};

if you activate the quickfix on the second 'one' it should also rename the function name part (the 'one' after the function keyword).
Comment 1 Olivier Thomann CLA 2016-05-05 20:27:37 EDT
Delivered.