mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
PY-78035: Sort existing pythons for V2 "new interpreter" widget.
There is a list of `PythonSelectableInterpreter` which should be sorted and filtered. `PythonSelectableInterpreter`s are comparable now: we can sort them by type (using `uiCustomization` hash) and then by language. There is a `sortForExistingEnvironment` function that implements the core logic of this patch. The test is `SortForExistingEnvironmentTest`, but we also run `DetectedSelectableInterpreterSortTest` several times to make sure the order is not broken. Merge-request: IJ-MR-161055 Merged-by: Ilya Kazakevich <ilya.kazakevich@jetbrains.com> GitOrigin-RevId: 030e1b3fd171b2c41ca3473abde90607b95a9414
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f650f745fd
commit
4fa65266ab
@@ -148,5 +148,6 @@
|
||||
<orderEntry type="module" module-name="intellij.platform.externalSystem.impl" />
|
||||
<orderEntry type="module" module-name="intellij.platform.externalSystem" />
|
||||
<orderEntry type="library" name="http-client" level="project" />
|
||||
<orderEntry type="library" name="commons-lang3" level="project" />
|
||||
</component>
|
||||
</module>
|
||||
Reference in New Issue
Block a user