Visual studio code 如何找到';任务运行程序模板';在VisualStudio代码中?
很抱歉,如果我遗漏了显而易见的内容,但在Visual Studio代码任务的帮助页面中: 选择“任务:配置任务运行程序”命令,您将看到任务运行程序模板的列表。选择“其他”以创建运行外部命令的任务 我没有看到“其他”,我只是在tasks.json中看到以下内容:Visual studio code 如何找到';任务运行程序模板';在VisualStudio代码中?,visual-studio-code,Visual Studio Code,很抱歉,如果我遗漏了显而易见的内容,但在Visual Studio代码任务的帮助页面中: 选择“任务:配置任务运行程序”命令,您将看到任务运行程序模板的列表。选择“其他”以创建运行外部命令的任务 我没有看到“其他”,我只是在tasks.json中看到以下内容: { // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "c:/Windows/sysnative/bash.exe",
"isShellCommand": true,
"args": ["-c 'cd /mnt/c/SVNProj/Leda/trunk/software/Source/LedaAP_win_linux; make'"],
"showOutput": "always"
}
如何查看任务模板?我认为vscode的行为不好,但只有在没有tasks.json文件的情况下,我才能在单击“配置任务运行程序”后获得显示的选项。因此,如果您已经有tasks.json文件,请重命名它并重试。然后将显示模板