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

Bug 493100

Summary: Search location should be set regardless of being in the .tern-project file editor
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: 10.0   
Target Milestone: 12.0   
Hardware: All   
OS: All   
Whiteboard:

Description Michael Rennie CLA 2016-05-05 15:14:34 EDT
Steps:
1. open a .tern-project file
2. reload the page
3. leave the editor, go to a JS file
4. while debugging, I found that the search scope was the entire workspace - this is because the call to set the proper search scope was being done in the wrong spot of the onProjectChanged callback.