Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 488980 - Find refs: Renaming a function name does not refresh the current editor.
Summary: Find refs: Renaming a function name does not refresh the current editor.
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 11.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 12.0   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 488582
Blocks:
  Show dependency tree
 
Reported: 2016-03-03 15:39 EST by libing wang CLA
Modified: 2016-04-15 10:52 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description libing wang CLA 2016-03-03 15:39:54 EST
Steps:
1. Open a js file with a function called func1, for example.
2. Put caret on the function and use CTRL+SHIFT+Y to bring up the find refs panel.
3. Use the "replace all" feature to replace func1 to func2.
4. The func1 is still displayed in the editor you opened in step 1.
5. You have to click on the editor again then the editor is synced with func2 now.
Comment 1 libing wang CLA 2016-03-03 16:03:08 EST
We should fix bug 488582 first then the editor can listen to the new event to refresh.
Comment 2 libing wang CLA 2016-04-15 10:52:53 EDT
This is fixed with the first cut commit from bug 488582, where the inputManager is listening to the modified event and update the current editor.