22 字
1 分钟
VSCode一键运行Rust
{ "key": "f5", "command": "workbench.action.terminal.sendSequence", "args": { "text": "cargo run\u000D" }, "when": "inRustProject"}添加到 Keybinding.json 中
References:
同时修改 CMake 拓展的快捷键防止冲突
{ "key": "f5", "command": "cmake.launchTarget", "when": "resourceLangId == cpp || resourceLangId == c"} VSCode一键运行Rust
https://nekoside.com/posts/vscode一键运行rust/ 相关文章 智能推荐
