Skip to content

Commit

Permalink
Merge pull request #338 from kasecato/#281/ignore_insertLineAfter
Browse files Browse the repository at this point in the history
Fixed #281 disabled insertLineAfter when notebook
  • Loading branch information
kasecato authored Mar 23, 2024
2 parents 1debfa1 + e55fd13 commit bdfd3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
"key": "shift+[Enter]",
"mac": "shift+[Enter]",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly",
"when": "editorTextFocus && !editorReadonly && !notebookEditorFocused",
"intellij": "Start new line"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@
"key": "shift+[Enter]",
"mac": "shift+[Enter]",
"command": "editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly",
"when": "editorTextFocus && !editorReadonly && !notebookEditorFocused",
"intellij": "Start new line"
},
{
Expand Down

0 comments on commit bdfd3e3

Please sign in to comment.