What's wrong with my Atom Editor Snippet?
问题 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? 回答1: 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. 来源: https:/