-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
editor.addCommand returns a command id string instead of a disposable #942
Comments
@alexandrudima I got the same question. |
You could simply switch to |
@alexdima What you prescribe won't work for code lens out of the box unless you created some other machinery. |
I don't found a method to reject |
The upcoming editor release will add |
monaco-editor version: 0.13.1
Browser: Chrome 67
OS: macOS
In this file,
StandaloneCodeEditor.addCommand
returns acommandId
instead of a disposable. Is there any specific reason for it? If yes, then how do I remove a manually added command with public api?The text was updated successfully, but these errors were encountered: