我已經爲C++文件創建了自定義生成系統。下面是我的構建系統:在Sublime Text中自動生成不適用於C++
{
"cmd": ["g++", "-Wall", "-time", "$file", "-o", "$file_base_name","&&", "start", "cmd","/c","${file_base_name}","^&","cmd","/c","pause"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"working_dir": "${project_path:${folder}}",
"selector": "source.cpp",
"shell": true,
}
事情是,它只在我手動選擇此構建系統時才起作用。如果我指定自動構建系統,系統的C++構建系統正在工作,而不是我的。如何改變這種行爲?
謝謝!我一直在試圖弄清楚如何解決這個問題,它的效果很好。 +1 – Abluescarab