feat(vcs): redesign the Clone Repository dialog and support shallow clones (#866)

Clone Repository gets IntelliJ's layout: a source list on the left, a version-control selector, URL history, a directory picker, and a shallow-clone option (history truncated to N commits, git clone --depth N). Entries for hosting platforms without backend support were removed.

Co-authored-by: whyareyouserious <[email protected]>
Цей коміт міститься в:
whyareyouserious authored and GitHub committed 2026-11-03 23:21:53 +08:00
1 джерело f5e12238bb
коміт 09402e3e95
9 files changed
+424 -84

No files matched your search

+10 -1
Переглянути файл
@@ -410,9 +410,11 @@
"Clear language server workspaces (Java import data and indexes)": "清除语言服务器工作区(Java 导入数据和索引)",
"Clipboard": "剪贴板",
"Clone": "克隆",
"Clone depth": "克隆深度",
"Clone Repository": "克隆仓库",
"Clone Repository…": "克隆仓库…",
"Clone progress": "克隆进度",
"Clone source": "克隆来源",
"Cloned, but the project could not be opened": "已克隆,但无法打开项目",
"Cloning requires the desktop app": "克隆需要桌面应用",
"Close": "关闭",
@@ -470,6 +472,7 @@
"Commits": "提交",
"Commits are applied from top to bottom.": "提交将从上到下依次应用。",
"Commits to rebase": "要变基的提交",
"commits": "个提交",
"Commit…": "提交…",
"Compact mode": "紧凑模式",
"Companion object": "伴生对象",
@@ -746,6 +749,7 @@
"Encoding of the output of processes started from Run configurations.": "从运行配置启动的进程的输出编码。",
"Enhanced for loop": "增强型 for 循环",
"Ensure every saved file ends with a line break": "确保每个已保存的文件都以换行符结尾",
"Enter a positive number of commits": "请输入正整数提交数",
"Enter a tag, branch or commit hash:": "输入标签、分支或提交哈希:",
"Enter the name of new tag:": "输入新标签的名称:",
"Enum": "枚举",
@@ -912,7 +916,6 @@
"Generate Request in HTTP Client": "在 HTTP 客户端中生成请求",
"Generate Requests for Controller": "为控制器生成请求",
"Generate…": "生成…",
"Get from Version Control": "从版本控制获取",
"Get from Version Control…": "从版本控制获取…",
"Gevent compatible": "兼容 Gevent",
"Git Branches": "Git 分支",
@@ -1294,6 +1297,7 @@
"No Maven projects": "没有 Maven 项目",
"No profile for '{name}'": "没有 '{name}' 的分析数据",
"No Python found": "未找到 Python",
"No recent repository URLs": "没有最近使用的仓库 URL",
"No recent searches": "无最近搜索",
"No TODO items found": "未找到 TODO 项",
"No TODO items in this file": "此文件中没有 TODO 项",
@@ -1626,6 +1630,7 @@
"Recent files": "最近的文件",
"Recent locations": "最近的位置",
"Recent projects": "最近的项目",
"Recent repository URLs": "最近使用的仓库 URL",
"Recent Searches": "最近搜索",
"Recently Viewed Files": "最近查看的文件",
"Record": "记录",
@@ -1739,6 +1744,7 @@
"Replacements": "替换项",
"Reports errors and warnings from language servers.": "报告来自语言服务器的错误和警告。",
"Repository": "仓库",
"Repository URL": "仓库 URL",
"Request": "请求",
"Require": "必需",
"Rerun": "重新运行",
@@ -1971,6 +1977,7 @@
"Shelf": "搁置",
"Shell integration": "Shell 集成",
"Shell path": "Shell 路径",
"Shallow clone with a history truncated to": "浅克隆,历史记录截断为",
"Shelve Changes": "搁置更改",
"Shelve Changes…": "搁置更改…",
"Shelved changes": "已搁置的更改",
@@ -2379,6 +2386,8 @@
"Variables:": "变量:",
"Version": "版本",
"Version Control": "版本控制",
"Version control": "版本控制",
"Version control:": "版本控制:",
"Version control is not configured": "未配置版本控制",
"Version used by vtsls / typescript-language-server (typescript.tsdk, tsserver.path).": "vtsls / typescript-language-server 使用的版本(typescript.tsdk、tsserver.path)。",
"Vertical": "竖线",