Closed heshimang closed 1 year ago
I use monaco-editor as sql editor, i want to add sql syntax prompt, I find official document has anguages.registerCompletionItemProvider function, so i how to get monaco-editor instance?
anguages.registerCompletionItemProvider
monaco-editor
You can use the editorWillMount event to get monaco instance.
editorWillMount
I use monaco-editor as sql editor, i want to add sql syntax prompt, I find official document has
anguages.registerCompletionItemProvider
function, so i how to getmonaco-editor
instance?