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}
总结以上是内存溢出为你收集整理的Using C/C++ and WSL in VS Code全部内容,希望文章能够帮你解决Using C/C++ and WSL in VS Code所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)