【问题标题】:VSCode, User Snippets doesn't show $ when usedVSCode,用户片段在使用时不显示 $
【发布时间】:2020-11-12 18:02:30
【问题描述】:

我让这个用户快速插入调试命令,但完成后,它不显示“$”符号。

"Debug MySQL": {
   "prefix": "debug",
      "body": [
          "lib::$db->debug = true;"
        ],
    "description": "debug MySQL"
},

debug 使用时,我得到了这个:

lib::db->debug = true;

任何想法可能是什么问题?

【问题讨论】:

    标签: javascript php visual-studio-code vscode-settings


    【解决方案1】:

    你需要放其他美元来逃避第一个:lib::$$db->debug = true;

    【讨论】:

      猜你喜欢
      • 2018-03-31
      • 2019-01-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-01-24
      相关资源
      最近更新 更多