Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Python path config value #38

Closed
danwos opened this issue Feb 11, 2022 · 0 comments
Closed

Python path config value #38

danwos opened this issue Feb 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@danwos
Copy link
Contributor

danwos commented Feb 11, 2022

For needls installation we need to know the python env quite early.

This is problematic in VS-Code, as it self references different python locations:

  • During startup: It's often the system-wide installed
  • Then during loading of the Python Extension, is may be the just found .venv.
  • After loading it may be a hard-coded / configured venv by the user.

So there is a high risk, that needls gets installed in the wrong venv is later not available.

Solution

Provide a setting, which asks for the correct Python path.
If not set, it shall be detected automatically and set as values.
If the value is set, then Open-Needs IDE is always using this value.

It shall support {$workspacefolder}.

@danwos danwos added the bug Something isn't working label Feb 11, 2022
@haiyangToAI haiyangToAI self-assigned this Feb 11, 2022
@danwos danwos closed this as completed in cb04c4e Feb 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants