Toggles block comments around the current cursor position or current selection.
The entire lines will be selected automatically.
If you find it useful and want to support me, you can do it here.
Supported Languages
Java
JavaScript
Typescript
TypeScript React
PHP
Blade
C
CSharp
HTML
CSS
SCSS
Less
inline JavaScript
Go
Dart
JSONC
Swift
SQL
Rust
Vue
Svelte
Usage
- Block comment: make a rough text selection (entire lines will be selected automatically)
- Block uncomment: click inside a block comment
- Then do one of the following:
- Press:
- On Windows:
Ctrl + Alt + Shift + C
- On Mac:
Cmd + Alt + Shift + C
- Right-click and choose
Toggle Block Comments .
Installation
- From VS Code
- Open Extensions and type
toggle-block-comments .
- Click
Install and reload window.
- From GitHub
- Download the repository and unzip the package.
- Copy
vscode-toggle-block-comments-master to /Users/YOURUSER/.vscode/extensions folder.
- Reload VS Code.
Donate
Help future updates.
| |