Reputation: 3025
I'm getting to know Atom. I tried to make a snippet with the following format:
'text.html.basic':
'Comment Class':
'prefix': '<.'
'body': '<!-- .$1 -->'
But when I type <.
then the tab
key, nothing happens. Why not?
Upvotes: 1
Views: 95
Reputation: 430
Atom currently only supports alphanumeric characters for snippet prefixes, see the open issue at https://github.com/atom/autocomplete-snippets/issues/56
Try using a prefix such as "comment" and it should work. I unfortunately don't know a better workaround.
Upvotes: 1