Sublime text 2 how to delete comments only

前端 未结 6 1873
既然无缘
既然无缘 2020-12-23 12:30

In my sass code, I have inline comments and I wish to remove these in sublime text. Is it possible to permanently delete all comment content alone?

@functio         


        
6条回答
  •  醉梦人生
    2020-12-23 13:34

    Well well, there is an easy way to do it in mac Sublime Text if you are sure there are no // in print statements.

    search for // and hit that cmd+ctrl+G and then to select the whole line which has hit cmd+shift+Arrow and delete it. Assuming you have used only single line comments

提交回复
热议问题