Skip to content

Instantly share code, notes, and snippets.

@Gee19
Created March 18, 2021 02:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gee19/1da4bfbe08710574dfcd13ff4e3cd3e6 to your computer and use it in GitHub Desktop.
Save Gee19/1da4bfbe08710574dfcd13ff4e3cd3e6 to your computer and use it in GitHub Desktop.
pylance coc.nvim
{
"pylance": {
"enable": true,
"filetypes": ["python"],
"command": "node",
"args": ["/home/user/.vscode-oss/extensions/ms-python.vscode-pylance-2020.7.3/server/server.bundle.js", "--stdio"],
"initializationOptions": {},
"settings": {
"python.analysis.typeCheckingMode": "basic",
"python.analysis.diagnosticMode": "openFilesOnly",
"python.analysis.stubPath": "./typings",
"python.analysis.autoSearchPaths": true,
"python.analysis.extraPaths": [],
"python.analysis.diagnosticSeverityOverrides": {},
"python.analysis.useLibraryCodeForTypes": true
}
}
@neur1n
Copy link

neur1n commented Oct 21, 2021

Hi, is this still working with Pylance version 2021.10.1? I cannot make it works. Any help is much appreciated.

@Gee19
Copy link
Author

Gee19 commented Oct 26, 2021

Sorry, I don't think this ever worked.. I would stick with pyright. See https://github.com/fannheyward/coc-pyright & https://github.com/Gee19/dotfiles/blob/master/pyrightconfig.json

@neur1n
Copy link

neur1n commented Oct 26, 2021

Thanks for responding. I found that Pylance could not be use standalone after version 2020.10.3 later on that day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment