fix(remote): browse the remote host when a setting asks for a path

In a remote window, choosePath (Project Structure libraries, SDK homes,
interpreters and the other settings that pick a file or folder) opened the
desktop's own dialog, so it showed this machine's files while the path is
used on the remote host. It now opens an in-app chooser that lists the
host's folders through fs_read_dir: a click selects, a double click or Enter
opens a folder or chooses the file, the arrow goes to the parent folder, and
the path can be typed.
Цей коміт міститься в:
l0ng-ai committed 2026-11-17 14:47:44 +08:00
1 джерело 280760a5d4
коміт f172023e4e
6 files changed
+352 -7

No files matched your search

+23
Переглянути файл
@@ -60,3 +60,26 @@
.area::placeholder {
color: var(--fg-faint);
}
.pathRow {
display: flex;
align-items: center;
gap: var(--space-1);
}
.pathInput {
flex: 1;
min-width: 0;
}
.pathList {
height: 280px;
border: 1px solid var(--border);
border-radius: var(--radius-control, 4px);
}
.entryName {
overflow: hidden;
text-overflow: ellipsis;
}
.entry {
display: flex;
align-items: center;
gap: var(--space-1);
}