【问题标题】:Autoclosing tags feature is not Responding自动关闭标签功能没有响应
【发布时间】:2021-08-27 12:13:39
【问题描述】:

当我尝试在 Visual Studio Code 的设置中激活自动关闭标签功能时,我不断收到此错误:

【问题讨论】:

    标签: visual-studio-code emmet


    【解决方案1】:

    您错误地使用了该设置。在 JSON 中,数组属性需要类似于(对于字符串元素):

    "emmet.excludeLanguages": ["markdown", "blah", "blah1"]

    试试:

    {
         "emmet.excludeLanguages": ["yourLanguageOne", "yourLanguageTwo"],
         "emmet.triggerExpansionOnTab": true,
         "files.associations": {
            "*.extensionOne": "html",
            "*.extensionTwo": "css"
        }
    }
    

    查看 Visual Studio Codes documentation 了解更多设置信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-10
      相关资源
      最近更新 更多