Atom editor Atom支持CSS片段吗

Atom editor Atom支持CSS片段吗,atom-editor,Atom Editor,我可以在Atom编辑器中添加JavaScript片段,但无法添加CSS片段。有没有办法在Atom中添加CSS片段 #js this works fine ".source.js": "getElementById": "prefix": "geid" "body": "documnet.getElementById($1)" #css this does not work ".source.css": "blue background": "pr

我可以在Atom编辑器中添加JavaScript片段,但无法添加CSS片段。有没有办法在Atom中添加CSS片段

#js this works fine
".source.js":  
  "getElementById":  
    "prefix": "geid"  
    "body": "documnet.getElementById($1)"  

#css this does not work
".source.css":
  "blue background":
    "prefix": "bgblue"
    "body": " background-color: blue "

我只是按照你贴的那样试了一下,它对我很有效


确保您的Atom已完全更新,并确保您试图使用该片段的文档使用了适当的语言/语法。

是的,我的更新非常落后,刚刚更新的Atom工作得非常出色,谢谢!