A Visual Studio Code and VSCodium extension that enables you to comment out sections of your CSS even if they contain comments.
Basically, it adds the ability to have nested comments in CSS to VScode (and VSCodium).
- Select an area of CSS to comment out.
- Press
Ctrl + /
(macOS:Cmd + /
), or selectComment Out CSS
from the command menu.
The command will toggle between commenting out and uncommenting your selection.
- Can only toggle the status of one commented-out block at a time.
- Can not comment out a selection that contains only part of a regular CSS comment.
- You must select the area to be commented (simply having the cursor within a block is not enough).
Small Technology Foundation is a tiny, independent not-for-profit.
We exist in part thanks to patronage by people like you. If you share our vision and want to support our work, please become a patron or donate to us today and help us continue to exist.
© 2020 Aral Balkan, Small Technology Foundation.