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

Bug 485292

Summary: [quickfix] 'rename in scope' should also apply to function parameters
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 11.0   
Target Milestone: 11.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-01-06 14:51:58 EST
consider the following snippet:

/* eslint-env browser*/
function f(location) {
  var myloc = location;
}

the 'location' param will be flagged as shadowing, but there is no fix available.
Comment 1 Michael Rennie CLA 2016-01-12 14:27:56 EST
Fixed in:

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f4aa3964740ad69c191ad02fe5a75cdb4307f17f

the commit also has a change to move the fix code (the delegate call to the rename command) into the fix computer, so now anything using the fix computer can also have access to the no-shadow-* fixes.

I also removed linting warnings.