CompletionItem cursor position #3669
Replies: 3 comments
-
@y912765390 I don't think I understand your question. What is auxiliary input in this context? Can you provide a screenshot or some more details? |
Beta Was this translation helpful? Give feedback.
-
monaco.languages.registerCompletionItemProvider('javascript', {
}); monaco.editor.create(document.getElementById('container'), { //////////////// When I input "my", I will prompt "myif" and press enter to continue to input "Shou". At this time, it should prompt "shoudtips" |
Beta Was this translation helpful? Give feedback.
-
@y912765390 Maybe #1911 (comment) will help you. That sounds like your issue with snippets? |
Beta Was this translation helpful? Give feedback.
-
If I want to set the cursor position, I need to set it“insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet”
But in this case, the auxiliary input is not triggered unless you press ESC.
I want to input auxiliary. After entering, set the cursor position and normal input can provide input auxiliary. What should I do
Beta Was this translation helpful? Give feedback.
All reactions