-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question [ How configure the plugin with venvs ] #11
Comments
I'm not sure how pylsp identifies that. Are there any resources you know of that explain how that would be done? |
I think the question is: how to make this plugin talk with a particular |
Yes, that is exactly my point. |
Lapce "talks" with the language server, rather than the plugin direclty. The plugin can specify arguments passed to the language server when it is started. Outside that, we'd have to look into the language server protocol and the subset that Lapce supports. |
One option might be to read the configuration (e.g., the executable in the venv) in the pyproject.toml. That's now the default place where tool config is supposed to go |
|
Thanks a ton. This is what I was looking for |
Do we think this is the proper way to do it and should be added to the README? Or do other language plugins handle this more intelligently? |
This may already be possible, I don't know. I've tried a couple of things with no success, so I'm assuming not, but it's possible I missed something obvious. If there's documentation for doing this, I couldn't find it. |
When developing in python, is normal that different projects have different env. We can use, venv, poetry, etc.
How we indicate to the plugin which venv we want to use?
The text was updated successfully, but these errors were encountered: