Skip to content

Toggles block comments around the current cursor position or current selection, without needing to select the entire line.

License

Notifications You must be signed in to change notification settings

alexmunteanu/vscode-toggle-block-comments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggle Block Comments

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.

Donate

Toggle Block Comments

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.

Donate

About

Toggles block comments around the current cursor position or current selection, without needing to select the entire line.

Resources

License

Stars

Watchers

Forks

Packages

No packages published