c++ - VSCode 中的 Code Runner 在输出中运行,而不是在终端中运行 CMD

标签 c++ visual-studio-code vscode-code-runner

我刚刚重新安装了我的 VSCode出于某种原因,在下载 Code Runner 后扩展,它正在处理输出窗口中的所有命令,而不是终端中的 CMD...
我正在编译我的 C++代码,所以我想要那个 cdg++命令在我的 CMD 窗口中,而不是在输出中...

最佳答案

您可以根据其配置指定在集成终端中运行:

"code-runner.runInTerminal" : true
这默认为 false

关于c++ - VSCode 中的 Code Runner 在输出中运行,而不是在终端中运行 CMD,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63148583/

相关文章:

C++ boost库shared_memory_object undefined reference 'shm_open'

c++ - 二维数组分配期间 calloc 上的 "expression must have (pointer-to) function type"

python - 如何获取 Visual Studio Code 中的 Code Runner 扩展来使用所选的 Python 解释器?

c# - 获取错误 :/bin/sh scriptcs: command not found

c++ - 来自 ExpandEnvironmentStrings 的本地化值

c++ - 使用 putchar_unlocked 进行快速输出

Angular 翻译插件未启动

visual-studio-code - vscode 开 Jest 扩展不能正常工作

powershell - 编辑器面板中的visual-studio-code Powershell命令自动完成不起作用

go - 如何避免tempCodeRunnerFile.go出现在项目中