BACK TO BLOG

Fast CSS Commenting with this Notepad++ Macro

Whenever I'm editing CSS and need to comment out sections, I always find myself fumbling over the / and * keys, making commenting out a time-taking an...

Whenever I'm editing CSS and need to comment out sections, I always find myself fumbling over the / and * keys, making commenting out a time-taking and frustrating procedure.

To make life easier, I created a simple macro which turns [ctrl + 8] and [ctrl + shift + 8] into opening and closing comments. This dramatically reduces time and frustration in CSS. See the animation below for a quick example of how to do it:

Like this? Please contact me with any questions! Or leave a comment below.