Skip to content

Commit

Permalink
Merge pull request #333 from kasecato/#239/add_nextTemplateVariable
Browse files Browse the repository at this point in the history
Add #239 that Support in Using Enter to Apply Code Suggestion
  • Loading branch information
kasecato authored Mar 3, 2024
2 parents 7645937 + 81022ea commit b87dd45
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down
7 changes: 7 additions & 0 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -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]",
Expand Down

0 comments on commit b87dd45

Please sign in to comment.