Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compute resource context keys based on global selection #4531

Merged
merged 1 commit into from
Mar 13, 2019
Merged

Conversation

akosyakov
Copy link
Member

@akosyakov akosyakov commented Mar 12, 2019

fix #4529, fix #4539 and clean up global selection when owning widgets are disposed

tested with https://github.com/akosyakov/vscode-menus

@akosyakov akosyakov requested a review from svenefftinge March 12, 2019 08:16
@akosyakov
Copy link
Member Author

@ouyangxizi Could you try?

this.initEditorContextKeys();

this.updateStatusBar();
this.editorManager.onCurrentEditorChanged(() => this.updateStatusBar());
}

/** @default since 0.5.0 - will be removed in farther releases */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deprecated

and clean up global selection when owning widgets are disposed

Signed-off-by: Anton Kosyakov <[email protected]>
@akosyakov akosyakov merged commit c12f14e into master Mar 13, 2019
@akosyakov akosyakov deleted the GH-4529 branch March 13, 2019 05:32
@ouyangxizi
Copy link

@ouyangxizi Could you try?

Test in newest Theia master, it works very well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants