[英]VScode insiders intellisense
I'm using vscode insiders to develop python codes inside docker containers. 我正在使用vscode内部人员在docker容器中开发python代码。 In vscode, the intellisense seems to work, but it does not when I edit codes inside containers via vscode insiders.
在vscode中,intellisense似乎有效,但当我通过vscode内部人员编辑容器内的代码时,它不会起作用。 How can the intellisense for vscode insiders work?
vscode内部人员的intellisense如何工作?
On Ubuntu18.04, installed with vscode, vscode-insiders, docker, remote-containers. 在Ubuntu18.04上,安装了vscode,vscode-insiders,docker,remote-containers。
For example, torch. 例如,火炬。 does not show any suggestion for the following functions.
没有对以下功能提出任何建议。
I suspect intellisense for PyTorch isn't working locally either. 我怀疑PyTorch的intellisense也不在本地工作。 Please try changing
"python.jediEnabled"
to false
to use the language server instead of Jedi which should lead to better completions. 请尝试将
"python.jediEnabled"
更改为false
以使用语言服务器而不是Jedi,这将导致更好的完成。
Otherwise using VS Code's remote containers uses the same setup as locally, so it might be differences in paths in your container compared to your local machine. 否则,使用VS Code的远程容器使用与本地相同的设置,因此与本地计算机相比,容器中的路径可能不同。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.