-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pylance not enabling when using Remote Development #11
Comments
Same here! |
As a workaround, you should be able to edit the remote machine's settings and add:
This is moderately related to #16, as we are currently only supporting the extension's prompt to change the setting in this preview. |
Related to ssh remove dev environments; this same thing happens inside of devcontainers and in wsl! |
Interesting, we tested this within WSL and it appeared to operate correctly. This setting is declared in VS Code in such a way that it should be getting propagated to the remote host. I see that the original report was an insiders build of VS Code, is that what you are using @pferreir @erinxocon or just the regular stable build? |
@jakebailey I'm using the stable build on macOS. The remote server is Linux. |
Ah, oops, I should have just mentioned @erinxocon, since they talk about WSL. I believe devcontainers and SSH operate through similar means (but WSL is different and one I know we tested). |
@erinxocon I am using an insiders build. Setting Pylance manually makes the prompt go away and it does initialize in wsl and dev environments alike. Also probably related to #16, I'm not getting autocomplete for the pylance config options. I see that Pylance uses most of the python config options already available! Grand! |
@jakebailey When setting that I get an issue from the |
@Destaq Your json is correct and should work despite this expected schema validation error. #16 (comment) |
Thanks, setting Pylance manually does work, with the 'value is not accepted' warning popping up, which I assume will be fixed soon. |
The prompt issue should be fixed in 2020.8.0. If you are having remote issues, please file another issue. |
This worked for me as well. |
Environment data
Version: 1.47.0-insider (user setup)
Commit: b16b467d3e03e1a1ae05b5836e4e5a5af504e86d
Date: 2020-07-01T05:32:07.483Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041
Running through Remote Development via SSH
Expected behaviour
Actual behaviour
Logs
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: