дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
feat(interpreters): add an existing Python virtual environment as an interpreter (#2076)
Refs #1907 Add Python Interpreter → Existing environment: Browse picks the environment folder, which is resolved right away (pyvenv.cfg, bin/python or Scripts\python.exe) and added to the interpreter list as "Python X.Y (<env name>)", then remembered. Picking the folder rather than the executable keeps the environment's identity, since the native file picker resolves the venv's python symlink to the base interpreter. Works for `python -m venv` and uv environments; a broken environment shows an error instead of being added. Probing runs off the command thread. Co-authored-by: Inf1mum <[email protected]>
Цей коміт міститься в:
1 джерело
9673ccc687
коміт
32a778d28d
13 files changed
+430
-25
No files matched your search
@@ -201,6 +201,9 @@
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.existingPathRow {
|
||||
flex: none;
|
||||
}
|
||||
.pathInput {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
||||
Reference in new issue
Заблокувати користувача