pylance-release
pylance-release copied to clipboard
Virtual workspaces seem to have limited setting set (like the browser version)
- Open
/pylance-release using Open Remote Repository
- Navigate to the diagnostics.py file
Expected result: A bunch of errors.
Actual result: Only syntax errors show up. It looks like all the other errors are set to limited mode.
It also seems that auto import doesn't work with limited settings?
The codeactions.py file doesn't show any code actions for things like this:
os
And this doesn't show the auto import completions:
Same with add extra paths:
Move symbols doesn't work either.
Request workspace/executeCommand failed with message: Cannot read properties of undefined (reading 'startsWith')
Also inlay hints feature is not working.
Anything that needs to apply an edit also fails. You get this error message:
2024-02-29 13:07:25.442 [info] [Error - 1:07:25 PM] Request workspace/executeCommand failed.
2024-02-29 13:07:25.442 [info] Message: Request workspace/executeCommand failed with message: applyEditSync failed with error 0
Code: -32603
Move file doesn't seem to work either
Internally it seems it doesn't pick up the environment. I keep seeing this:
2024-07-24 14:22:31.583 [info] [Info - 2:22:31 PM] (26556) Executing interpreter: 'python'
2024-07-24 14:22:31.583 [info] [Info - 2:22:31 PM] (26556) Skipping 'C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\python311.zip' because it is