Closed ladusee closed 7 months ago
I'm having the same problem with the Rust language.
Pressing Enter when suggestion/autocomplete is in focus causes completion to fail!
remove keybinding jumpToNextSnippetPlaceholder and it's worked. I have been trying for 2 weeks to find the problem; :| I'm a noop. right?
Related with https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/239 since v1.6.1
Thanks for your detailed reporting, I just fixed and released it as v1.7.1
. Please check it
This keybinding recently started to interfere with basic editor behavior.
Command:
jumpToNextSnippetPlaceholder
Keybinding:Enter
When:editorTextFocus && hasNextTabstop && inSnippetMode
Source:IntelliJ IDEA Keybindings
This gets triggered when accepting suggestion/autocomplete in some cases - instead of accepting selected suggestion cursor jumps outside of brackets. Caught it in
JSX/TSX
syntax when working with attributes/props.Removing this keybinding fixed the issue.
Steps to reproduce:
div
element injs/ts/jsx/tsx
filestyle
attribute. When editor suggestsstyle
- select itEnter
Expected result:
Actual result (cursor jumped outside of brackets):
This issue is not
JSX
-specific, happened in regularJS/TS
as well. Seems to be related toWhen
keybinding instructions and should be reproducible in other languages.