Describe the need of your request
There is ongoing issue in PyCharm with missing ProjectRootManager venv name, which affects scratch files in Pycharm (basically python built-ins are not recognized, full details with possible solutions under https://youtrack.jetbrains.com/issue/PY-89831 ).
From user POV, when user selects proper venv to use, propagate the information into misc.xml under ProjectRootManager part.
Proposed solution
Populate misc.xml component with proper venv name:
<component name="ProjectRootManager" version="2" project-jdk-name="<NAME OF VENV>" project-jdk-type="Python SDK" />
I'm not sure what is the algo for venv's naming, but it is consistent with displayed name in Project pane (in square brackets) in GUI.
Alternatives you've considered
No response
Additional context
No response
Describe the need of your request
There is ongoing issue in PyCharm with missing ProjectRootManager venv name, which affects scratch files in Pycharm (basically python built-ins are not recognized, full details with possible solutions under https://youtrack.jetbrains.com/issue/PY-89831 ).
From user POV, when user selects proper venv to use, propagate the information into misc.xml under ProjectRootManager part.
Proposed solution
Populate misc.xml component with proper venv name:
I'm not sure what is the algo for venv's naming, but it is consistent with displayed name in Project pane (in square brackets) in GUI.
Alternatives you've considered
No response
Additional context
No response