Community
Participate
Working Groups
Build Identifier: In org.eclipse.php.ui and org.eclipse.dltk.ui plugins SelectionDispatchAction. selectionChanged(SelectionChangedEvent event) are responsible for enabling/disabling “Open type hierarchy”/”Open call hierarchy” based on what is currently selected in the editor. It would be good to execute those calls in non UI thread as it currently affects typing performance. Reproducible: Always
Created attachment 209672 [details] SelectionDispatchAction.dispatchSelectionChanged() in non UI thread SelectionDispatchAction.dispatchSelectionChanged(event.getSelection()) wrapped in non UI job.
Related DLTK bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=368950
Created attachment 209693 [details] Enabling Open Type/Call Hierarchy Action moved to non UI thread - patch Some classes that extend SelectionDispatchAction may contain methods that requires execution in UI thread, so attached patch changes only OpenTypeHierarchyAction and OpenCallHierarchyAction classes. Enabling action is moved to non UI job as it operates on AST and consumes some time.
fixed by Natalia great work!
Patch applied to HEAD by Jacek.
Verified. Closing Ilina Stefanova