diff --git a/package.json b/package.json index 528cd82..2c68077 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,13 @@ "when": "suggestWidgetVisible && textInputFocus", "intellij": "Choose Lookup Item Replace" }, + { + "key": "enter", + "mac": "enter", + "command": "jumpToNextSnippetPlaceholder", + "when": "editorTextFocus && hasNextTabstop && inSnippetMode", + "intellij": "Next Template Variable or Finish In-Place Refactoring" + }, { "key": "ctrl+shift+[Enter]", "mac": "cmd+shift+[Enter]", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index c1f977a..20cbefc 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -127,6 +127,13 @@ "when": "suggestWidgetVisible && textInputFocus", "intellij": "Choose Lookup Item Replace" }, + { + "key": "enter", + "mac": "enter", + "command": "jumpToNextSnippetPlaceholder", + "when": "editorTextFocus && hasNextTabstop && inSnippetMode", + "intellij": "Next Template Variable or Finish In-Place Refactoring" + }, { "key": "ctrl+shift+[Enter]", "mac": "cmd+shift+[Enter]",