You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is updating the context when being asked for actions, which might very likely cause a call to getEditorAction in return. I have initially added that code but that was before grid and before having a well-defined world in which the title was scoped the an editor. @bpasero I assume things a better today that there is something the titleControl can implement so that it is called whenever its editor changed, right?
Great, we should then also try to keep the menu alive instead of recreating it all the time. I will will then fire events to signal that the UI needs updating.
馃悰 Context key change event is triggered again
You can see an infinite loop when running from sources by doing the following change
Change the return to
https://github.com/Microsoft/vscode/blob/1081caf17a7862bf6cef97f2d99b77b19b4d6734/src/vs/workbench/services/preferences/common/preferencesEditorInput.ts#L115
Put a console log before following line
https://github.com/Microsoft/vscode/blob/1081caf17a7862bf6cef97f2d99b77b19b4d6734/src/vs/workbench/browser/parts/editor/titleControl.ts#L212
The text was updated successfully, but these errors were encountered: