【问题标题】:I've been trying to get sublim text 2 to build my html projet with chrome and it doesn't seem to work,我一直在尝试让 sublime text 2 用 chrome 构建我的 html 项目,但它似乎不起作用,
【发布时间】:2016-10-19 17:43:37
【问题描述】:
{
"cmd": ["open" "-a" "Google Chrome" "$file"]

}

这就是我正在使用的代码。

这是我得到的错误:

尝试解析构建系统时出错:意外字符,C:..\Chrome.sublime-build:2:17 中应有逗号或右括号

【问题讨论】:

    标签: html google-chrome sublimetext2


    【解决方案1】:

    需要加逗号

     "cmd": ["open", "-a", "Google Chrome", "$file"]
    

    编辑: 如果我没记错的话,有一个 View in Browser 包用于 sublime,所以也要检查一下

    【讨论】:

      猜你喜欢
      • 2020-06-28
      • 2016-05-31
      • 2016-05-11
      • 1970-01-01
      • 1970-01-01
      • 2021-10-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多