The LSP server always analyzes code using its own virtual environment (~/.pythonlsp/.venv) instead of the project's virtual environment. As a result, completion only works for third-party libraries installed in the LSP virtual environment. Standard library modules work correctly. Reproduced on NetBeans 29 after recompiling the plugin.
The LSP server always analyzes code using its own virtual environment (~/.pythonlsp/.venv) instead of the project's virtual environment. As a result, completion only works for third-party libraries installed in the LSP virtual environment. Standard library modules work correctly. Reproduced on NetBeans 29 after recompiling the plugin.