Replies: 1 comment 1 reply
-
This is a setting whose default differs between the pyright extension and the pylance extension. A subset of pylance users indicated that they didn't like the auto-import feature, so the pylance team decided to disable it by default. This decision was controversial. In pyright, it's enabled by default. I'm not sure where you're seeing "the default settings.json" set to false. Is it possible that you have both pylance and pyright installed at the same time? You should stick with one or the other, not both. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The VS Code Pyright extension adds several settings to VS Code:
Coming from:
pyright/packages/vscode-pyright/package.json
Lines 118 to 127 in 4c49f51
But checking the default settings.json it shows:
Is there something awry here? The extension says the default is
true
whilst the default config saysfalse
.Beta Was this translation helpful? Give feedback.
All reactions