我的 Atom 编辑器代码段有什么问题?
What's wrong with my Atom Editor Snippet?
我开始了解 Atom。我试着用以下格式制作一个片段:
'text.html.basic':
'Comment Class':
'prefix': '<.'
'body': '<!-- . -->'
但是当我输入 <.
然后输入 tab
键时,没有任何反应。为什么不呢?
Atom 目前仅支持片段前缀的字母数字字符,请参阅 https://github.com/atom/autocomplete-snippets/issues/56
上的未决问题
尝试使用 "comment" 之类的前缀,应该可以。不幸的是,我不知道更好的解决方法。
我开始了解 Atom。我试着用以下格式制作一个片段:
'text.html.basic':
'Comment Class':
'prefix': '<.'
'body': '<!-- . -->'
但是当我输入 <.
然后输入 tab
键时,没有任何反应。为什么不呢?
Atom 目前仅支持片段前缀的字母数字字符,请参阅 https://github.com/atom/autocomplete-snippets/issues/56
上的未决问题尝试使用 "comment" 之类的前缀,应该可以。不幸的是,我不知道更好的解决方法。