0

所以我有这个构建文件

{
    "cmd": ["coffee", "-c", "$file"],
    "selector": "source.coffee",
    "path": "C:\\Users\\Miles\\node_modules\\coffee-script\\bin",
    "working_dir": "$project_path"
}

它不断返回错误

[错误2] 系统找不到指定的文件

我已经找了几天,我能找到的只是基于 unix 的路径。

我知道这很可能是微不足道的,但它已经有一段时间了

4

1 回答 1

3

经过大量的修补后,这工作正常。

{
    "cmd": ["coffee.cmd", "-c", "$file"],
    "selector": "source.coffee",
    "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
    "path": "$HOME/bin:/usr/local/bin:$PATH",
    "working_dir": "$project_path"
}
于 2013-02-25T18:32:28.527 回答