Using CC++ and WSL in VS Code

Using CC++ and WSL in VS Code,第1张

概述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"

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所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1211958.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-04
下一篇 2022-06-04

发表评论

登录后才能评论

评论列表(0条)

保存