How to use // (2 slashes) as snippet prefix?


Here is example of my snippet:
‘CSS Comment’:
‘prefix’: ‘comment’
‘body’: ‘/* [{1:Comment text}]\n------------------------------------------------------------ */\n{2}’

So, after typing // in *.css files it dose not working.
How to fix?


It doesn’t work because you don’t have your snippet set up for //. The prefix is what you type, so if you type “comment” and then press tab, you’ll get your body inserted.