Replies: 3 comments
-
@KamiC6238 What is your use case? What are you trying to do when the user has selected something and hit the enter key? |
Beta Was this translation helpful? Give feedback.
-
hello @rcjsuen , i am writing a typing mode in monaco-editor like https://www.keybr.com/. In this mode, user can not typing a real charater in editor, and just change the cursor position. In that use case, i will give suggestions for users, when user hit the enter key, i will calculate the position and change the cursor to the new position from the selected completion item. but now i dont know how to get the completion item after hit the enter key. |
Beta Was this translation helpful? Give feedback.
-
So what they suggest does not matter? They will not edit the content? I do not understand why they would select something then. |
Beta Was this translation helpful? Give feedback.
-
Context
Description
monaco version: 0.24.0
i need selected completion item to do something, but now i dont know how to get the selected completion item.
Beta Was this translation helpful? Give feedback.
All reactions