Python Analysis Extra Paths #7848
Replies: 4 comments 1 reply
-
Still need help on this if anyone has any ideas? |
Beta Was this translation helpful? Give feedback.
-
If I understand you correctly, you should be able to add this configuration to |
Beta Was this translation helpful? Give feedback.
-
Hello, have you solved this problem, I have the same problem |
Beta Was this translation helpful? Give feedback.
-
Hello, I found a way to resolve this issue: simply add this information to the Python LSP. I have only tried it with BasedPyright, but it works. "lsp": {
"basedpyright": {
"settings": {
"basedpyright.analysis": {
"extraPaths": [
// needed paths
]
},
"basedpyright.autoComplete": {
"extraPaths": [
// needed paths
]
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! Trying out Zed and really liking it so far. Quick question on Python config of I may...
I have a local folder which contains some additional stubs and docstrings for stdlib etc. and would like to bring those into the pyright set-up, just like I have with Neovim and Sublime Text.
This involves adding an additional path pointing to my local folder using 'python.analysis.extraPaths' (https://github.com/microsoft/pyright/blob/main/docs/settings.md)
Does anyone have an idea how to do this?
Many thanks,
Karim
Beta Was this translation helpful? Give feedback.
All reactions