In IntelliJ IDEA, you can comment a line, the cursor is moved to the next line automatically. This is a very easy way to comment several lines. However, in VS Code, default behaviour is that the cursor stays on the same line.
To copy the behavior of IntelliJ, go with:
Install
macros
author by geddski in VS Code.Edit
settings.json
and add:
1 | "macros": { |
- Edit
keybindings.json
and add:
1 | [ |