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

Bug 519509

Summary: Rename element has spurious selections
Product: [ECD] Orion Reporter: Michael Rennie <Michael_Rennie>
Component: JS ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P1    
Version: 14.0   
Target Milestone: 16.0   
Hardware: PC   
OS: Mac OS X   
See Also: https://github.com/eclipse/orion.client/pull/109
Whiteboard:

Description Michael Rennie CLA 2017-07-11 10:26:10 EDT
Steps:

1) clone in Web IDE https://github.com/snorthov/minesweeper-objects.git/ 
2) open main.js
3) select main() and run Rename Element
4) notice there will be some weird selections in the editor (as well as main being selected for the rename)

The problem is that we also have matches for main() in use in index.html (which is pre-loaded via the .tern-project file)
Comment 1 Eclipse Genie CLA 2017-07-11 10:30:15 EDT
GitHub Pull Request 109 created by [mrennie]
https://github.com/eclipse/orion.client/pull/109