-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
workbench.action.closeActiveEditor command doesn't close a WebviewWidget #6955
Comments
@tomer-epstein does it work in VS Code? |
Yes. |
Are you referring to the |
Yes. it's an example for WebviewWidget. |
@tomer-epstein |
In VS Code there is a difference between editor and code editor. Editor is any widget opened in the editor area (main area in Theia). Code editor is Monaco-based widget. So yes, webview is an editor in VS Code sense and closeActiveEditor should close the webview as well.
|
PR was merged. |
Description
workbench.action.closeActiveEditor command doesn't close a WebviewWidget
Reproduction Steps
Open the 'Getting Started' (Help -> 'Getting Started')
execute workbench.action.closeActiveEditor command.
Diagnostics:
it seems that the reason is that WebviewWidget doesn't implement Navigatable interface.
The text was updated successfully, but these errors were encountered: