Shortcut keys to comment on HTML code in Atom

Viewed 43

I want to use shortcut keys to comment on some HTML codes in Atom. But when I use 'ctrl'+'/', I got {# html_code_block #} instead of <!-- html_code_block ->.
What are the shortcut keys to comment on HTML code in Atom or how to use them?

2 Answers

'ctrl'+'/' should work , what version are you using ? (I checked in v 1.6)

The conflict is caused by an installed package called "django-templates". The solution is to change 'commentStart' value to <!-- and 'commentEnd' value to --> in file .atom\packages\django-templates\settings\django-templates.CSON.

Related