Sublime Forum

Change Scss + Less multiline commenting out

#1

Hi All!

When using SCSS or LESS i select a bunch of text and toggle comment it adds in a bunch of double slashes like -

// .hello {background red; // .sublime_folks{color:green} //}

I am using the ‘SCSS’ package and the ‘LESS’ package to give correct syntax highlighting.
But I want it toggle comments of multi line text like -

/* .hello {background red; .sublime_folks{color:green} }*/

This is how it normally works for standard css.
Hope you can help!

0 Likes

#2

Use ctrl+shift+/:

{ "keys": "ctrl+/"], "command": "toggle_comment", "args": { "block": false } }, { "keys": "ctrl+shift+/"], "command": "toggle_comment", "args": { "block": true } },

0 Likes

#3

^thanks! realised this… facepalm!
toggle block comment ftw!

Thanks mate! :smiley:

0 Likes