дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
fix(new-project): flag a taken folder and remember the location (#5024)
New Project accepted the name of a folder that already exists and has files, and only reported "already exists and is not empty" in the progress view after Create. It now checks as the name or location changes: the name field and its hint turn red and Create is disabled. Until the user types a name, it follows the first free `untitled`, `untitled1`, … in the location. The location always started at the home folder (unless Default Project Directory was set). It now starts where the last project was created; the Default Project Directory setting still comes first. The check is the one `scaffold_create` already did, moved into `ide_scaffold::target_taken` and exposed with `free_name` as `scaffold_target_taken` / `scaffold_free_name`.
Цей коміт міститься в:
1 джерело
0798582173
коміт
8eb332aba7
11 files changed
+229
-10
No files matched your search
@@ -3016,5 +3016,6 @@
|
||||
"Location:": "Location:",
|
||||
"ID:": "ID:",
|
||||
"Homepage:": "Homepage:",
|
||||
"Mail:": "Mail:"
|
||||
"Mail:": "Mail:",
|
||||
"A folder with this name already exists and is not empty": "A folder with this name already exists and is not empty"
|
||||
}
|
||||
@@ -3719,6 +3719,7 @@
|
||||
"Choose a scope": "选择范围",
|
||||
"Enter a project name": "请输入项目名称",
|
||||
"The name contains characters a folder name cannot have": "名称包含文件夹名称中不能使用的字符",
|
||||
"A folder with this name already exists and is not empty": "已存在同名文件夹且不为空",
|
||||
"Project Location": "项目位置",
|
||||
"New Project": "新建项目",
|
||||
"New Project…": "新建项目…",
|
||||
|
||||
Reference in new issue
Заблокувати користувача