比如想在html写 jquery 直接添加jquery地址,打开 ‘首选项->Package Setting->Emmet->Settings - User’,

css也可以如法炮制,代码如下

{
    "syntaxProfiles": {
        // Enable XHTML dialect for HTML syntax
        "html": "xhtml"
    },
    "snippets": {
        "html": {
            "abbreviations": {
                "jquery": "<script src='http://localhost/static/js/jquery.js'></script>"
            }
        },
        "css": {
            "filters": "html",
            "snippets": {
                "csdn":"taodesign.cnblogs.com"
            }
        }
    }
}

 

相关文章:

  • 2022-01-13
  • 2021-06-03
  • 2021-06-20
  • 2021-07-05
  • 2022-02-12
  • 2022-12-23
  • 2022-01-20
猜你喜欢
  • 2022-03-06
  • 2021-12-10
  • 2021-10-11
  • 2021-10-20
  • 2022-12-23
  • 2021-12-16
相关资源
相似解决方案