Skip to content

Commit

Permalink
Merge pull request #312 from kasecato/#233/commentNextLine
Browse files Browse the repository at this point in the history
Fixed #233 that Commenting to move to next line as in Idea
  • Loading branch information
kasecato authored Oct 8, 2023
2 parents 98ed25b + 226aef9 commit 035b585
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,26 @@
{
"key": "ctrl+[Slash]",
"mac": "cmd+[Slash]",
"command": "editor.action.commentLine",
"command": "runCommands",
"args": {
"commands": [
"editor.action.commentLine",
"cursorDown"
]
},
"when": "editorTextFocus && !editorReadonly",
"intellij": "Comment/uncomment with line comment"
},
{
"key": "ctrl+[NumpadDivide]",
"mac": "cmd+[NumpadDivide]",
"command": "editor.action.commentLine",
"command": "runCommands",
"args": {
"commands": [
"editor.action.commentLine",
"cursorDown"
]
},
"when": "editorTextFocus && !editorReadonly",
"intellij": "Comment/uncomment with line comment"
},
Expand Down
16 changes: 14 additions & 2 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,26 @@
{
"key": "ctrl+[Slash]",
"mac": "cmd+[Slash]",
"command": "editor.action.commentLine",
"command": "runCommands",
"args": {
"commands": [
"editor.action.commentLine",
"cursorDown"
]
},
"when": "editorTextFocus && !editorReadonly",
"intellij": "Comment/uncomment with line comment"
},
{
"key": "ctrl+[NumpadDivide]",
"mac": "cmd+[NumpadDivide]",
"command": "editor.action.commentLine",
"command": "runCommands",
"args": {
"commands": [
"editor.action.commentLine",
"cursorDown"
]
},
"when": "editorTextFocus && !editorReadonly",
"intellij": "Comment/uncomment with line comment"
},
Expand Down

0 comments on commit 035b585

Please sign in to comment.