Skip to content

Commit

Permalink
Fixed #233 that Commenting to move to next line as in Idea
Browse files Browse the repository at this point in the history
  • Loading branch information
kasecato committed Oct 8, 2023
1 parent 98ed25b commit 226aef9
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 226aef9

Please sign in to comment.