一 remote ssh 

官方ssh:https://code.visualstudio.com/docs/remote/ssh

官方ssh 语言能力:https://code.visualstudio.com/docs/languages/overview

官方 ssh python解释器:https://marketplace.visualstudio.com/items?itemName=ms-python.python

二 remote wsl 

wsl设置解释器 参考链接:https://www.cnblogs.com/it-tsz/p/9312151.html  

确保安装python相关site插件之后     使用 :

ctrl+shift+p  调用 调用Python:Select Interpreter命令 选择使用解释器的  venv  bin/python3 解释器的路径

# win10 linux子系统

 Add-AppxPackage .\Ubuntu_2004.2020.424.0_x64.appx

mount  #挂在主机所有目录

三 contains还没测试

没什么的南的,总结:第一安装 remote 远程插件   第二 安装远端remote远程插件  第三 安装相关python 解释器 使用

ctrl+shift+p  调用 调用Python:Select Interpreter命令 选择使用解释器的  venv  bin/python3 解释器的路径,即可,

有了环境自然就有了  ctrl+鼠标左键。

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐