当前位置 : 主页 > 编程语言 > c++ >

Using C/C++ and WSL in VS Code

来源:互联网 收集:自由互联 发布时间:2021-06-23
remote-wsl和coderunner参考:https://www.zhihu.com/question/333233461/answer/769838167 设置参考:https://code.visualstudio.com/docs/editor/variables-reference,重点launch.json中 pipeProgram " : " bash.exe "" /usr " : " C:\\Users

remote-wsl 和code runner 参考:https://www.zhihu.com/question/333233461/answer/769838167

设置参考:https://code.visualstudio.com/docs/editor/variables-reference,重点launch.json中 

pipeProgram": "bash.exe"
"/usr": "C:\\Users\\<my windows user name>\\AppData\\Local\\Packages\\CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc\\LocalState\\rootfs\\usr\\"

 

vs code变量参考:https://code.visualstudio.com/docs/editor/variables-reference,重点是${fileDirname}和${fileBasenameNoExtension}

网友评论