Is there any way to bookmark a line in Monaco-editor, similar to VSCode bookmarks? It seems there is no such built-in feature. If so, how can I show a marker in front of a line? Something like a breakpoint will also be acceptable. Answer I found a solution below for anyone who later needs this functionality. CSS: Javascript:
Tag: monaco-editor
How do I format JSON code in Monaco Editor with API?
I am working with monaco editor aka the VS Code engine in a web project. I am using it to allow users to edit some JSON that has a JSON Schema set, to help give some auto-completion. When they save their changes and wish to re-edit their work, the JSON that I load back into the editor is converted to
How to hide the “Command Palette” item from the list of actions in Monaco Editor
I have been looking everywhere, Monaco docs, github, SO but there seems to be no examples as to how to hide and disable the “command palette” command from the context menu: Any advice? Answer Oh well, I had no choice but to hack my way into the DOM in order to remove the “Command Palette”. It’s very far from ideal