var commandId = editor.addCommand(0, function (arguments) { // not work console.log(arguments) }, ''); command: { id: commandId, title: "First Line", arguments: ["hello"], }
https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-codelens-provider-example
how to pass arguments to the command?
2.1m questions
2.1m answers
60 comments
56.8k users