diff --git a/.agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md b/.agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md index e66ed8ebd5..027cfe243d 100644 --- a/.agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md +++ b/.agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md @@ -4,50 +4,82 @@ ## 先说结论 -运行配置可以列出启动前步骤(#1616,对应 IntelliJ IDEA 的 “Before launch: Run Another Configuration”): +运行配置可以列出启动前步骤(#1616,对应 IntelliJ IDEA 的 “Before launch”)。步骤有两种: -- 配置文件里写 `beforeLaunch: [{configuration: }]`,最多 16 项。每一项只能引用内置进程运行(`process.shell`、`process.powershell`、`process.batch`、`process.executable`),不能引用自己。 -- 一层(项目文件或 `local.yaml`)写了 `beforeLaunch` 就整体替换下层的列表;`local.yaml` 写空列表可以关掉项目文件里的步骤。 -- 宿主启动前调用 Core 的 `runConfig.beforeLaunch`。Core 展开嵌套步骤(被引用的配置自己的步骤先运行),展开后最多 32 步;引用不存在、不能作为步骤、在本机不可用、成环、过长时返回 `rejected` 和原因码。 -- 只要展开过程中用到了项目文件写的列表,Core 就返回确认指纹:对列表和这些步骤启动的命令定义求 sha256。宿主第一次运行前弹框列出步骤和命令,用户点“运行步骤”后把指纹存进应用自己的存储 `run-before-launch-approvals.json`(按项目根目录,每个项目最多 64 个)。命令或列表一改,指纹就变,会再问一次。 -- 步骤按顺序在被启动配置的 Run 控制台里运行,每一步前写一行暗色标题。某一步退出码不是 0,就写出步骤名和退出码,不启动配置。停止配置会结束正在运行的步骤。 -- 内置运行编辑器(Core 描述的表单,字段类型 `beforeLaunch`,候选列表由 Core 给出)和构建提供者运行编辑器都可以添加、上移、下移、移除步骤。构建提供者编辑器只有列表改动时才发送 `beforeLaunch`,不会把解析后的列表抄进本地层。 -- 两种编辑器都在“运行/调试配置”窗口右侧(#2100)。步骤列表的改动和其他字段一样算作未保存的修改:内置运行表单经 `runConfigFormEdited` 标脏,构建提供者编辑器把列表纳入 `fingerprint`;“应用”“确定”“运行”会一并保存。 -- 本平台不能运行的配置(例如 macOS、Linux 上的 `process.batch`)照常列出、可以编辑,但 Core 不把它列为步骤候选;项目文件里引用它的列表在这些平台上被拒绝,原因码 `unavailable`(Lithe-core-rust#87)。 +- **运行另一个配置**:引用一个内置进程运行(`process.shell`、`process.powershell`、`process.batch`、`process.executable`),保存为 `{configuration: }`。 +- **插件任务**:插件在构建系统下声明的 `beforeLaunchTasks`(API-29),例如“运行 Go 命令”,保存为 `{task: {pluginID, buildSystemID, type, values}}`。 + +宿主不内置任何具体任务,也不按插件名字写分支:“执行前”列表工具栏的“+”弹出“添加新任务”(同 IDEA),第一项“运行另一个配置”打开可运行配置的列表,后面逐项列出已启用插件声明的任务种类,名称、说明、图标和字段都来自插件清单和插件翻译。日常开发里,要加一种新的启动前任务,就去插件清单里声明,不要改宿主。 + +展开、校验、确认指纹和任务的命令计划都由 Core 完成;宿主只负责画列表、打开任务表单、按顺序启动进程,并把输出写进被启动配置的 Run 控制台。 ## 问题 -用户要在启动服务前先跑生成代码、编译前端、拉起依赖等命令。原来只能手动先点一个配置、等它结束再点另一个;也没有地方表达“这个配置依赖那几个命令”。IDEA 用户习惯在运行配置里配置启动前任务。 +用户要在启动服务前先跑生成代码、编译前端、执行 `go generate` 之类的命令。原来只能手动先点一个配置、等它结束再点另一个;也没有地方表达“这个配置依赖哪些准备工作”。IDEA 用户习惯在运行配置里点“+”添加启动前任务,任务种类由各个插件提供。 -同时,项目文件是仓库内容,打开别人的仓库后点运行就执行仓库指定的任意命令,等于让仓库在用户机器上执行代码而不经确认。 +同时,项目文件是仓库内容。打开别人的仓库后点运行就执行仓库指定的命令,等于让仓库不经确认就在用户机器上执行代码。 ## 决策 -- 步骤只引用已经存在的内置进程运行,不在 `beforeLaunch` 里内联命令。这样每个步骤都能单独编辑、单独运行,展开、校验和命令定义都由 Core 统一处理,宿主只负责按顺序启动进程。 -- 校验、展开和指纹都放在 Core:三端行为一致,宿主不需要知道层级合并规则。保存时 Core 也用同一套规则检查(`check_edit`),成环在保存时报 `conflict`。 -- 确认记录放在应用存储而不是项目里,仓库不能替用户批准自己的步骤。指纹包含命令定义,所以仓库更新步骤命令后会重新询问。用户自己 `local.yaml` 里的列表不询问。 +**列表规则(Core)** + +- 一个配置最多 16 项,展开嵌套步骤后最多 32 步。一层(项目文件或 `local.yaml`)写了 `beforeLaunch` 就整体替换下层的列表;`local.yaml` 写空列表可以关掉项目文件里的步骤。 +- 宿主启动前调用 `runConfig.beforeLaunch`。Core 展开嵌套步骤(被引用的配置自己的步骤先运行)。引用不存在、不能作为步骤、在本机不可用(例如 macOS 上的 `process.batch`,Lithe-core-rust#87)、成环、过长、任务没有已启用插件声明(`taskNotDeclared`)、任务的值不再合法(`invalidTaskValues`)时,返回 `rejected` 和原因码,宿主把原因写进通知和控制台,不启动配置。 +- 保存时 Core 用同一套规则检查(`check_edit`),成环在保存时报 `conflict`。 + +**确认(防止仓库替用户执行命令)** + +- 只要展开过程中用到了项目文件写的列表,Core 就返回确认指纹:对列表和这些步骤启动的内容求 sha256。宿主第一次运行前弹框列出每一步的名称和摘要,用户点“运行步骤”后把指纹存进应用自己的存储 `run-before-launch-approvals.json`(按项目根目录,每个项目最多 64 个)。列表、命令或任务的值一改,指纹就变,会再问一次。 +- 用户自己 `local.yaml` 里的列表不询问。确认记录放在应用存储而不是项目里,仓库不能替用户批准自己的步骤。 + +**插件任务(API-29)** + +- 任务和运行配置类型一样由插件在 `buildSystems[]` 下声明:ID、名称、说明、图标、字段和参数模板,没有 `execution`、没有 `${userArguments}`,清单要求 `requires.beforeLaunchTasks`。宿主通过 `RunEditorForm` 请求携带的插件清单拿到 `beforeLaunch` 字段的 `tasks`(已经按界面语言翻译),并在后台线程读好任务图标再发布。 +- 选中任务后,宿主用任务自己的字段打开一个表单弹窗(复用运行配置表单的字段控件)。点“确定”时宿主调用 `runConfig.checkBeforeLaunchTask`:值不对就把 Core 给的原因码显示在对应字段下,弹窗不关;值对了,Core 返回要保存的步骤(含名称和摘要),宿主把它放进列表并标记为未保存的修改。已有的任务步骤可以用铅笔按钮重新编辑。 +- 运行时宿主调用 `build.beforeLaunchTaskPlan`,由 Core 用保存的值和配置的工作目录生成命令计划,再用该插件构建系统已检测到的实例对应的构建工具启动。项目里没有检测到这个构建系统时,任务不能运行,控制台写出“所选目标已不在构建模型中,请刷新构建系统。”(`desktop.build.targetMissing`)。 + +**执行** + +- 步骤按顺序在被启动配置的 Run 控制台里运行,每一步前写一行暗色标题。某一步退出码不是 0,就写出步骤名和退出码,不启动配置。 - 步骤的进程用准备阶段的上下文启动(`op.bind`),停止配置时上下文取消,进程随之结束;每一步受 `runPreparationTimeout` 限制。 - 步骤失败的提示在窗口线程上直接写进控制台(`writeBuildOutputNow`),然后结束操作。用 `streamBuildOutput` 会异步投递,到达时操作已经结束,提示会被丢弃。 +**编辑界面** + +- 内置运行编辑器(字段类型 `beforeLaunch`,候选配置和任务种类都由 Core 给出)和构建提供者运行编辑器都在“运行/调试配置”窗口右侧(#2100),共用同一段界面,都可以添加、编辑、上移、下移、移除步骤。 +- 界面照 IDEA 的“执行前”还原,放在编辑器最底下、横跨整个表单,不和其他字段一样分左右两栏:标题行是折叠箭头、标题、ⓘ 和延伸到行尾的分隔线,点箭头或标题折叠或展开;下面是带边框的列表,顶部工具栏依次是 + − ✎ ↑ ↓,工具栏下有分隔线;每行是图标和名称(运行配置步骤显示“运行“名称””,任务步骤显示任务名和摘要),选中行整行高亮,列表显示 4 行,超出后滚动。2026-11-18 用户指出旧版(字段式“启动前”+“添加任务”文字按钮+编号列表)不还原,按 IDEA 重做;本次只还原列表,IDEA 下方的“显示此页面”“激活工具窗口”“使工具窗口获得焦点”三个复选框在 #2173 单独做(需要 Core 运行配置模型加字段)。 +- “+”始终可用(列表满 16 项时除外)。“添加新任务”弹窗标题居中加粗;“运行另一个配置”打开“选择要执行的配置”,列出列表里还没有的配置,一个都没有时显示原因,而不是把“+”禁用。空列表在中间显示“启动前没有要运行的任务”。 +- − ✎ ↑ ↓ 要先选中一行,否则禁用;回车、双击等同 ✎,Delete(macOS 上还有 Backspace)等同 −。✎ 对插件任务打开任务表单,对运行配置步骤打开“选择要执行的配置”,选中的配置替换这一步;插件已卸载或停用的任务不能编辑,只能移除。删除后选中下一行,移动时选中跟着移动。 +- 列表改动和其他字段一样算作未保存的修改:内置运行表单经 `runConfigFormEdited` 标脏,构建提供者编辑器把列表纳入 `fingerprint`,并且只有列表改动时才发送 `beforeLaunch`,不会把解析后的列表抄进本地层。“应用”“确定”“运行”会一并保存。 + +正确做法:插件要提供“运行 Go 命令”,就在清单的构建系统下声明一个 `beforeLaunchTasks` 项和它的字段、参数模板。 + +不要这样做:在宿主里判断插件 ID 或构建系统 ID,给 Go 项目单独加一个菜单项;或者在 `beforeLaunch` 里内联一段命令字符串。 + ## 考虑过的备选方案 -- 支持 IDEA 的全部启动前任务类型(Build、Run Maven Goal、Launch Web Browser 等)。先做“运行另一个配置”,其他类型由插件的 `runOptions` 扩展点以后补充(#2100 中尚未实现的部分)。 -- 步骤并行运行。依赖顺序是用户最常见的需求,并行会让失败原因和输出交错,先保持顺序执行。 -- 每次运行都询问项目文件里的步骤。会打断正常工作流,用户很快就会习惯性点确认;按指纹记住一次,命令改变时再问,兼顾安全和效率。 +- **宿主内置 IDEA 的任务类型**(Build、Run Maven Goal、Launch Web Browser 等)。否决:这些都依赖具体工具,内置进宿主就要按工具写分支,违反“插件专属逻辑不进宿主”。改为插件声明任务,宿主只提供通用菜单和表单。 +- **用插件的 `runOptions` 扩展点追加启动前行为**(#2100 曾预留)。否决:`runOptions` 是给配置本身加选项,表达不了“启动前单独运行一个进程、单独出错、单独确认”,也没有自己的字段表单。API-29 的任务有独立的声明、校验和命令计划。 +- **在 `beforeLaunch` 里内联命令**。否决:内联命令无法单独编辑和单独运行,也绕过了 Core 对命令定义的统一处理和指纹计算。 +- **步骤并行运行**。依赖顺序是用户最常见的需求,并行会让失败原因和输出交错,先保持顺序执行。 +- **每次运行都询问项目文件里的步骤**。会打断正常工作流,用户很快就会习惯性点确认;按指纹记住一次、内容改变时再问,兼顾安全和效率。 ## 后果 -- 用户可以在一个配置里串起准备命令,一键运行。 -- 打开不信任的仓库时,第一次运行会看到将要执行的命令列表。 -- 以后新增步骤类型时,要在 Core 的 `before_launch.rs` 加类型并纳入指纹,在宿主 `runBeforeLaunchStep` 加执行方式;确认框必须能展示新类型会做什么。 +- 用户可以在一个配置里串起准备命令和插件任务,一键运行。 +- 打开不信任的仓库时,第一次运行会看到将要执行的步骤列表。 +- 插件被禁用或卸载后,引用它任务的步骤仍然在列表里显示并保留,但运行时被拒绝(`taskNotDeclared`),用户能看到原因并自行移除。 +- 以后新增步骤类型时,要在 Core 的 `before_launch.rs` 加类型并纳入指纹,在宿主 `runBeforeLaunchStep` 加执行方式;确认框必须能展示新类型会做什么。只是新增一种任务时,不需要改 Core 或宿主,在插件清单里声明即可。 ## 验证 -- Core:`cargo test -p lithe-core before_launch`(`core/src/tests/before_launch_steps.rs` 覆盖展开、确认指纹、拒绝原因、编辑校验和本地层清空)。 -- 宿主:`./scripts/desktop/desktop-go.sh test ./internal/workbench/ -run 'BeforeLaunch|TestRunConfigFormKeepsTheStepList|TestRunConfigDialogSavesAnAddedStep|TestRunConfigEditorSavesTheLocalLayer' -count=1`,用真实 Core 和系统 shell/cmd 运行步骤,覆盖顺序、确认与记忆、改动后重新确认、取消、失败退出码和停止,以及在“运行/调试配置”窗口里添加的步骤算作修改并由“应用”保存。 +- Core:`cargo test -p lithe-core before_launch`(`core/src/tests/before_launch_steps.rs` 覆盖展开、确认指纹、拒绝原因、编辑校验和本地层清空;`core/src/tests/before_launch_tasks.rs` 覆盖任务种类列出、值校验、保存和命令计划)。 +- 宿主:`./scripts/desktop/desktop-go.sh test ./internal/workbench/ -run 'BeforeLaunch|TestRunConfigFormKeepsTheStepList|TestRunConfigDialogSavesAnAddedStep|TestRunConfigEditorSavesTheLocalLayer' -count=1`,用真实 Core 和系统 shell/cmd 运行步骤,覆盖顺序、确认与记忆、改动后重新确认、取消、失败退出码和停止,以及在“运行/调试配置”窗口里添加的步骤算作修改并由“应用”保存。`TestRunConfigBeforeLaunchToolbarEditsTheList` 覆盖工具栏:未选中时 − ✎ ↑ ↓ 禁用、上移带着选中、✎ 选另一个配置替换这一步、删除后选中下一行、删空后显示空列表提示、标题折叠和展开。其中 `TestPluginDeclaredBeforeLaunchTaskIsAddedAndRunsFirst` 用测试插件覆盖插件任务的整条路径:菜单按中文名列出任务、任务表单显示插件翻译、空的必填值留在表单里、确定后加入列表、确认后任务先于配置运行、保存进插件的运行文档。 +- 截图:`LITHE_VISUAL_OUTPUT_DIR=<目录> ./scripts/desktop/desktop-go.sh test -tags 'vivahead lithevisual' ./internal/workbench/ -run 'TestVisualBeforeLaunchSteps|TestVisualPluginDeclaredRuns' -count=1`,其中 `declared-run-before-launch-menu-*.png` 和 `declared-run-task-form-*.png` 是“添加新任务”菜单和任务表单,`before-launch-editor-*.png` 和 `before-launch-choose-*.png` 是“执行前”列表和“选择要执行的配置”。 ## 适用范围 +- `desktop/internal/workbench/runconfig_steps.go` - `desktop/internal/workbench/runconfig_before_launch.go` - `desktop/internal/workbench/runconfig.go` - `desktop/internal/workbench/runconfig_process.go` @@ -57,4 +89,4 @@ - `desktop/internal/workbench/runconfig_view.go` - `desktop/internal/workbench/runconfig_dialog.go` - `desktop/internal/core/run_before_launch.go` -- Core:`rust/crates/execution/src/configuration/before_launch.rs` +- Core:`rust/crates/execution/src/configuration/before_launch.rs`、`rust/crates/execution/src/configuration/declared.rs` diff --git a/desktop/internal/core/build.go b/desktop/internal/core/build.go index 8ba0bcc23d..5cad67cd0a 100644 --- a/desktop/internal/core/build.go +++ b/desktop/internal/core/build.go @@ -484,6 +484,40 @@ func (c *Client) PlanRunConfiguration(ctx context.Context, manifest json.RawMess return *result.Plan, nil } +// BeforeLaunchTaskPlanRequest asks for the command of a plugin task step, with +// Task and WorkingDirectory as `runConfig.beforeLaunch` returned the step. Core +// runs it with the instance whose root holds the working directory. +type BeforeLaunchTaskPlanRequest struct { + Task RunTaskReference `json:"task"` + WorkingDirectory string `json:"workingDirectory"` + Instances []RunTypeInstance `json:"instances"` + PluginDirectory string `json:"pluginDirectory,omitempty"` + WorkspaceStateDirectory string `json:"workspaceStateDirectory,omitempty"` +} + +// PlanBeforeLaunchTask plans a task step of a Before Launch list +// (`build.beforeLaunchTaskPlan`): the command plan of the chosen instance, whose +// Root names it, run to completion at the step's working directory. +func (c *Client) PlanBeforeLaunchTask(ctx context.Context, manifest json.RawMessage, buildSystemID, workspaceRoot string, request BeforeLaunchTaskPlanRequest) (BuildPlan, error) { + const command = "build.beforeLaunchTaskPlan" + var result buildOutcome + if err := c.Execute(ctx, command, struct { + Manifest json.RawMessage `json:"manifest"` + BuildSystemID string `json:"buildSystemID"` + WorkspaceRoot string `json:"workspaceRoot"` + Request BeforeLaunchTaskPlanRequest `json:"request"` + }{manifest, buildSystemID, workspaceRoot, request}, &result); err != nil { + return BuildPlan{}, err + } + if err := result.failure(command); err != nil { + return BuildPlan{}, err + } + if result.Plan == nil { + return BuildPlan{}, newParseError(command, "before-launch task plan returned no plan", "") + } + return *result.Plan, nil +} + // DecodeBuildModel turns static/command output or a provider result into the // normalized model. func (c *Client) DecodeBuildModel(ctx context.Context, manifest json.RawMessage, buildSystemID string, request BuildDecodeModelRequest) (BuildModel, error) { diff --git a/desktop/internal/core/run_before_launch.go b/desktop/internal/core/run_before_launch.go index 6c652e381d..35224c67b5 100644 --- a/desktop/internal/core/run_before_launch.go +++ b/desktop/internal/core/run_before_launch.go @@ -1,6 +1,11 @@ package core -import "context" +import ( + "bytes" + "context" + "encoding/json" + "errors" +) // RunBeforeLaunch is what `runConfig.beforeLaunch` answers: Status "ok" with the // steps to run in order and, when a project file names them, the Confirmation to @@ -12,12 +17,15 @@ type RunBeforeLaunch struct { Refusal *RunBeforeLaunchRefusal `json:"refusal"` } -// RunBeforeLaunchItem is one run to start before the configuration: its ID, its -// name and a line naming what it starts, shown in the confirmation. +// RunBeforeLaunchItem is one step to start before the configuration: a run (its +// ConfigurationID) or a plugin Task with the WorkingDirectory it runs in, with the +// step's name and a line naming what it starts, shown in the confirmation. type RunBeforeLaunchItem struct { - ConfigurationID string `json:"configurationId"` - Name string `json:"name"` - Summary string `json:"summary"` + ConfigurationID string `json:"configurationId,omitempty"` + Task *RunTaskReference `json:"task,omitempty"` + WorkingDirectory string `json:"workingDirectory,omitempty"` + Name string `json:"name"` + Summary string `json:"summary"` } // RunBeforeLaunchConfirmation identifies a list of steps a project file names; the @@ -27,18 +35,130 @@ type RunBeforeLaunchConfirmation struct { } // RunBeforeLaunchRefusal is why the steps cannot run: Code is notFound, -// notAllowed, unavailable, cycle or tooLong, about step ConfigurationID. +// notAllowed, unavailable, cycle, tooLong, taskNotDeclared or invalidTaskValues, +// about step ConfigurationID, or for a task the configuration whose list names it +// with the Task set. type RunBeforeLaunchRefusal struct { - Code string `json:"code"` - ConfigurationID string `json:"configurationId"` + Code string `json:"code"` + ConfigurationID string `json:"configurationId"` + Task *RunTypeKey `json:"task,omitempty"` } -// RunBeforeLaunch expands the built-in process runs configurationID starts first. -func (c *Client) RunBeforeLaunch(ctx context.Context, root, configurationID string) (RunBeforeLaunch, error) { +// RunTaskReference is a plugin task step as a configuration saves it: the kind a +// plugin declares and the values of its fields by declared field ID, kept raw so +// the host sends them back unchanged. +type RunTaskReference struct { + RunTypeKey + Values json.RawMessage `json:"values,omitempty"` +} + +// RunTaskStep is a task step of a `beforeLaunch` editor value: the saved Task, its +// Name and Summary, and the form Values of its fields by `field:`. Missing says +// no installed plugin declares it; the editor shows and keeps it, without values. +type RunTaskStep struct { + Task RunTaskReference `json:"task"` + Name string `json:"name"` + Summary string `json:"summary"` + Values map[string]json.RawMessage `json:"values,omitempty"` + Missing bool `json:"missing,omitempty"` +} + +// RunBeforeLaunchEntry is one item of a `beforeLaunch` editor value: the ID of a +// configuration to run, or a plugin Task. Its JSON is the ID string or the task +// object, as Core sends and takes them. +type RunBeforeLaunchEntry struct { + ConfigurationID string + Task *RunTaskStep +} + +// MarshalJSON writes the configuration ID, or the task object. +func (e RunBeforeLaunchEntry) MarshalJSON() ([]byte, error) { + if e.Task != nil { + return json.Marshal(e.Task) + } + return json.Marshal(e.ConfigurationID) +} + +// UnmarshalJSON reads a configuration ID string or a task object. +func (e *RunBeforeLaunchEntry) UnmarshalJSON(data []byte) error { + data = bytes.TrimSpace(data) + switch { + case len(data) > 0 && data[0] == '"': + *e = RunBeforeLaunchEntry{} + return json.Unmarshal(data, &e.ConfigurationID) + case len(data) > 0 && data[0] == '{': + var task RunTaskStep + if err := json.Unmarshal(data, &task); err != nil { + return err + } + *e = RunBeforeLaunchEntry{Task: &task} + return nil + } + return errors.New("a beforeLaunch item is a configuration ID or a task") +} + +// RunTaskKind is a kind of task step installed plugins declare, as a `beforeLaunch` +// editor field offers it: its RunType, translated DisplayName, Description and +// Icon, and the Fields and default Values of its own form, keyed `field:`. +type RunTaskKind struct { + RunType RunTypeKey `json:"runType"` + DisplayName string `json:"displayName"` + Description string `json:"description,omitempty"` + Icon *RunTypeIcon `json:"icon,omitempty"` + Fields []RunEditorField `json:"fields"` + Values map[string]json.RawMessage `json:"values"` +} + +// RunBeforeLaunch expands the built-in process runs and plugin tasks +// configurationID starts first. Plugins are the enabled plugins that declare +// tasks; without them every task step is refused as taskNotDeclared. +func (c *Client) RunBeforeLaunch(ctx context.Context, root, configurationID string, plugins *RunTypePlugins) (RunBeforeLaunch, error) { var result RunBeforeLaunch err := c.Execute(ctx, "runConfig.beforeLaunch", struct { - Root string `json:"root"` - ConfigurationID string `json:"configurationId"` - }{root, configurationID}, &result) + Root string `json:"root"` + ConfigurationID string `json:"configurationId"` + RunTypePlugins *RunTypePlugins `json:"runTypePlugins,omitempty"` + }{root, configurationID, plugins}, &result) + return result, err +} + +// RunTaskCheck is what `runConfig.checkBeforeLaunchTask` answers: Status "ok" with +// the Step to put in the editor value, or "invalid" with field Errors. +type RunTaskCheck struct { + Status string `json:"status"` + Step *RunTaskStep `json:"step"` + Errors []RunFieldError `json:"errors"` +} + +// CheckBeforeLaunchTask checks the form values of a task step being added or +// edited. Nothing is written; the step is saved with the configuration. +func (c *Client) CheckBeforeLaunchTask(ctx context.Context, root string, runType RunTypeKey, values map[string]json.RawMessage, plugins *RunTypePlugins) (RunTaskCheck, error) { + var result RunTaskCheck + err := c.Execute(ctx, "runConfig.checkBeforeLaunchTask", struct { + Root string `json:"root"` + RunType RunTypeKey `json:"runType"` + Values map[string]json.RawMessage `json:"values,omitempty"` + RunTypePlugins *RunTypePlugins `json:"runTypePlugins,omitempty"` + }{root, runType, values, plugins}, &result) + return result, err +} + +// RunBeforeLaunchField is the `beforeLaunch` editor field of a saved configuration: +// the runs a step may name, the task kinds plugins declare and the effective list. +type RunBeforeLaunchField struct { + Candidates []RunConfigurationName `json:"candidates"` + Tasks []RunTaskKind `json:"tasks"` + Value []RunBeforeLaunchEntry `json:"value"` +} + +// BeforeLaunchField reads the `beforeLaunch` field of the saved configurationID for +// an editor that does not use `runConfig.editorForm`, such as that of a build run. +func (c *Client) BeforeLaunchField(ctx context.Context, root, configurationID string, plugins *RunTypePlugins) (RunBeforeLaunchField, error) { + var result RunBeforeLaunchField + err := c.Execute(ctx, "runConfig.beforeLaunchField", struct { + Root string `json:"root"` + ConfigurationID string `json:"configurationId"` + RunTypePlugins *RunTypePlugins `json:"runTypePlugins,omitempty"` + }{root, configurationID, plugins}, &result) return result, err } diff --git a/desktop/internal/core/run_config.go b/desktop/internal/core/run_config.go index c259c1dd6c..5b4e49d765 100644 --- a/desktop/internal/core/run_config.go +++ b/desktop/internal/core/run_config.go @@ -51,17 +51,19 @@ type RunConfiguration struct { // Availability is set when the saved configuration cannot run, such as when // the plugin it needs is not installed. The host shows it and never starts it. Availability *RunAvailability `json:"availability,omitempty"` - // BeforeLaunch names the built-in process runs started, in order, before this one. + // BeforeLaunch names the built-in process runs and plugin tasks started, in order, + // before this one. BeforeLaunch []RunBeforeLaunchStep `json:"beforeLaunch,omitempty"` // AllowMultipleInstances lets a new run start beside one still running instead of // stopping it first. AllowMultipleInstances bool `json:"allowMultipleInstances,omitempty"` } -// RunBeforeLaunchStep is one step of a configuration's beforeLaunch: the built-in -// process run to start first. +// RunBeforeLaunchStep is one saved step of a configuration's beforeLaunch: the +// built-in process run to start first, or a plugin Task. type RunBeforeLaunchStep struct { - Configuration string `json:"configuration"` + Configuration string `json:"configuration,omitempty"` + Task *RunTaskReference `json:"task,omitempty"` } // RunPluginDependency is the plugin a configuration needs: its ID, and what the @@ -298,9 +300,12 @@ type RunOptionsEdit struct { Environment map[string]string `json:"environment"` // ProviderRunOptions replaces the build provider choices of the selected layer when set. ProviderRunOptions json.RawMessage `json:"providerRunOptions,omitempty"` - // BeforeLaunch replaces the steps of the selected layer when set; an empty list - // removes them (and in the local layer hides the project's). - BeforeLaunch *[]string `json:"beforeLaunch,omitempty"` + // BeforeLaunch replaces the steps of the selected layer when set, in the shape of + // the editor field's value; an empty list removes them (and in the local layer + // hides the project's). + BeforeLaunch *[]RunBeforeLaunchEntry `json:"beforeLaunch,omitempty"` + // RunTypePlugins are the enabled plugins, so Core can check the task steps. + RunTypePlugins *RunTypePlugins `json:"runTypePlugins,omitempty"` // Plugins is the enabled plugin list of ResolveRunConfigurations, so a plugin // document Core writes records the installed plugin. Plugins []RunInstalledPlugin `json:"plugins,omitempty"` diff --git a/desktop/internal/core/run_process.go b/desktop/internal/core/run_process.go index 3eb3be78e0..de23dca6c2 100644 --- a/desktop/internal/core/run_process.go +++ b/desktop/internal/core/run_process.go @@ -113,8 +113,10 @@ type RunEditorField struct { Description string `json:"description,omitempty"` Placeholder string `json:"placeholder,omitempty"` OptionLabels map[string]string `json:"optionLabels,omitempty"` - // Candidates are the configurations a beforeLaunch field may name. + // Candidates are the configurations a beforeLaunch field may name, and Tasks the + // kinds of plugin task it may add. Candidates []RunConfigurationName `json:"candidates,omitempty"` + Tasks []RunTaskKind `json:"tasks,omitempty"` } // RunConfigurationName is a run configuration's ID and name. diff --git a/desktop/internal/fileicons/NOTICE b/desktop/internal/fileicons/NOTICE index 2bc6c14f1d..5e6297be1a 100644 --- a/desktop/internal/fileicons/NOTICE +++ b/desktop/internal/fileicons/NOTICE @@ -14,6 +14,9 @@ client's NOTICE.txt records the source paths and revisions of the restored icons platform/icons/src/fileTypes/custom.svg; lock is expui/general/locked; readme is expui/status/info; nodejs is plugins/kotlin/base/resources/resources/org/jetbrains/kotlin/idea/icons/expui/wizard/nodejs. + go.svg is the exception: expui/fileTypes/ has no Go icon, and the restored file is byte for + byte platform/icons/src/language/go_dark.svg (revision + b3667546dadaf462cc8812e6de88be6d3e76558b). - folder.svg and excludeRoot.svg: platform/icons/src/expui/nodes/ (revision e8d21e84ee23f99ae7237fbb4530ff2e7c3b47c5). - svg/tree/treechevronDown.svg and treechevronRight.svg (and their _dark variants): the previous diff --git a/desktop/internal/i18n/shared.generated.go b/desktop/internal/i18n/shared.generated.go index f8e9157560..fff4b94c04 100644 --- a/desktop/internal/i18n/shared.generated.go +++ b/desktop/internal/i18n/shared.generated.go @@ -3,2069 +3,2083 @@ package i18n var sharedCatalogs = map[string]map[string]string{ "en-US": { - "ai.add": "Add", - "debugger.console": "Console", - "debugger.disableBreakpoint": "Disable breakpoint", - "debugger.disassembly.copyAddress": "Copy Address", - "debugger.disassembly.copyInstruction": "Copy Instruction", - "debugger.disassembly.readMemoryAtAddress": "Read Memory at Address", - "debugger.disassembly.removeBreakpoint": "Remove Instruction Breakpoint", - "debugger.disassembly.setBreakpoint": "Set Instruction Breakpoint", - "debugger.disassembly.showDisassembly": "Show Disassembly", - "debugger.enableBreakpoint": "Enable breakpoint", - "debugger.removeBreakpoint": "Remove breakpoint", - "debugger.stackEmpty": "Start a session to see frames.", - "debugger.threadsAndVariables": "Threads & Variables", - "desktop.ai.inlineEdit.editCurrentLine": "Editing the current line", - "desktop.ai.inlineEdit.editSelection": "Editing the selection", - "desktop.aiCommit.cancel": "Cancel generation", - "desktop.aiCommit.failed": "Failed to generate a commit message: {reason}", - "desktop.aiCommit.generate": "Generate commit message", - "desktop.aiCommit.generating": "Generating…", - "desktop.aiCommit.httpStatus": "The AI provider answered with HTTP {status}.", - "desktop.aiCommit.keep": "Keep mine", - "desktop.aiCommit.noProvider": "No AI provider with a credential was found in the Codex or Claude configuration.", - "desktop.aiCommit.replace": "Replace", - "desktop.aiCommit.replaceBody": "The generated message will replace the text already typed.", - "desktop.aiCommit.replaceTitle": "Replace the commit message?", - "desktop.aiCommit.responseTooLarge": "The AI provider response is larger than 2 MiB.", - "desktop.aiCommit.stale": "The staged changes changed while the message was generated. Generate it again.", - "desktop.aiCommit.timeout": "The AI provider did not answer within 45 seconds.", - "desktop.app.devBadge": "Dev", - "desktop.app.previewVersion": "{version} Preview", - "desktop.branch.alreadyOn": "Already on '{name}'", - "desktop.branch.branchName": "Branch name", - "desktop.branch.checkedOut": "Checked out '{name}'", - "desktop.branch.checkoutAfter": "Checkout branch after creation", - "desktop.branch.checkoutFailed": "Failed to check out: {reason}", - "desktop.branch.checkoutFailedIn": "Failed to check out '{name}' in {repository}: {reason}", - "desktop.branch.checkoutRevision": "Checkout Tag or Revision…", - "desktop.branch.commonCheckedOut": "Checked out '{name}' in every repository", - "desktop.branch.commonCreated": "Created branch '{name}' in every repository", - "desktop.branch.commonLocal": "Common Local Branches", - "desktop.branch.commonRemote": "Common Remote Branches", - "desktop.branch.conflictHint": "Smart Checkout stashes your changes, switches branch, then restores them. Force Checkout switches and discards them.", - "desktop.branch.conflictPrompt": "Your changes to these files conflict with '{name}':", - "desktop.branch.conflictTitle": "Local changes would be overwritten", - "desktop.branch.createFailed": "Failed to create branch: {reason}", - "desktop.branch.createFailedIn": "Failed to create branch '{name}' in {repository}: {reason}", - "desktop.branch.createFrom": "Create from '{name}'.", - "desktop.branch.createFromInAll": "Create from '{name}' in every repository.", - "desktop.branch.created": "Created branch '{name}'", - "desktop.branch.current": "Current branch", - "desktop.branch.deleteFailed": "Failed to delete branch: {reason}", - "desktop.branch.deletePrompt": "Delete the local branch '{name}'? It is deleted even if it is not merged, and commits only on it will no longer be on any branch.", - "desktop.branch.deleteTitle": "Delete branch?", - "desktop.branch.deleted": "Deleted branch '{name}' (was {target})", - "desktop.branch.detached": "Checked out '{revision}' in detached HEAD state", - "desktop.branch.detachedNote": "The repository will be opened in detached HEAD state.", - "desktop.branch.forceCheckout": "Force Checkout", - "desktop.branch.keepButton": "Don't Roll Back", - "desktop.branch.loadFailed": "Failed to load branches: {reason}", - "desktop.branch.loading": "Loading branches…", - "desktop.branch.localIn": "Local Branches in {repository}", - "desktop.branch.newBranchFrom": "New Branch from '{name}'…", - "desktop.branch.recent": "Recent", - "desktop.branch.recentIn": "Recent Branches in {repository}", - "desktop.branch.remoteIn": "Remote Branches in {repository}", - "desktop.branch.rename": "Rename…", - "desktop.branch.renameButton": "Rename", - "desktop.branch.renameFailed": "Failed to rename branch: {reason}", - "desktop.branch.renameFrom": "Rename '{name}'.", - "desktop.branch.renameTitle": "Rename Branch", - "desktop.branch.renamed": "Renamed the branch to '{name}'", - "desktop.branch.repositoryPanel": "{repository} on {branch}", - "desktop.branch.repositorySeparator": ", ", - "desktop.branch.revision": "Tag or revision", - "desktop.branch.revisionPrompt": "Enter a tag name, branch name, commit hash, or other Git revision.", - "desktop.branch.revisionTitle": "Checkout Tag or Revision", - "desktop.branch.rollbackButton": "Roll Back", - "desktop.branch.rollbackFailed": "Rollback failed in {repository}: {reason}", - "desktop.branch.rollbackImpossible": "{repositories} were on no branch before, so they cannot be rolled back.", - "desktop.branch.rollbackPrompt": "It already succeeded in {repositories}. Roll back to return every repository to the branch it was on.", - "desktop.branch.rollbackTitle": "Completed in Some Repositories Only", - "desktop.branch.rolledBack": "Rolled back {repositories}", - "desktop.branch.rowMenu": "{name} actions", - "desktop.branch.search": "Search for branches and actions", - "desktop.branch.smartCheckout": "Smart Checkout", - "desktop.branch.tagsIn": "Tags in {repository}", - "desktop.build.ambiguousConnectionDebugAdapter": "Several enabled debug adapters of type “{type}” can attach to this run ({adapters}). Disable all but one in Settings > Plugins.", - "desktop.build.argumentsRequired": "This task asks for arguments, which this window cannot collect yet.", - "desktop.build.cancelled": "Build cancelled", - "desktop.build.chooseTask": "Choose a build task first.", - "desktop.build.chooseTaskScope": "Choose a project or target this task runs on first.", - "desktop.build.commandUnsupported": "This build system answered with a command plan; provider-backed tasks are required here.", - "desktop.build.connectionDebugAdapterGone": "The debug adapter “{name}” was disabled or updated before the run was ready, so the run was stopped. Debug it again.", - "desktop.build.debugPortTimeout": "The run did not wait for a debugger within {seconds} seconds, so it was stopped. See the Run window for its output.", - "desktop.build.debugSessionRunning": "A debug session is already running. Stop it before debugging another run.", - "desktop.build.debugTarget": "Debug", - "desktop.build.dependenciesHelp": "The build tool reads the dependency tree only when this is first opened, which can take a while as the tool runs. The tree is then kept until the build systems are detected again or Reload is chosen on the build system or on Dependencies.", - "desktop.build.detection": "Detection", - "desktop.build.emptyOutput": "Run a build task to see output.", - "desktop.build.executableMissing": "No usable build executable was found for this build system.", - "desktop.build.exited": "Build exited with code {code}.", - "desktop.build.filter": "Filter build systems, tasks and targets", - "desktop.build.group.build": "Build", - "desktop.build.group.documentation": "Documentation", - "desktop.build.group.lifecycle": "Lifecycle", - "desktop.build.group.other": "Other", - "desktop.build.group.run": "Run", - "desktop.build.group.test": "Test", - "desktop.build.group.verification": "Verification", - "desktop.build.ignoredPaths": "Ignored Paths", - "desktop.build.ignoredPathsDefault": "Using the default list; changes are saved on this machine only.", - "desktop.build.ignoredPathsHelp": "One rule per line, written as in .gitignore and relative to the project root; rules match folders only. Later rules win, and a rule starting with ! brings a folder back into detection, even one Git ignores. By default every folder whose name starts with a dot, such as .claude/worktrees, is skipped; dependency caches and build outputs are always skipped. At most 256 rules.", - "desktop.build.ignoredPathsLocal": "Using the list saved on this machine.", - "desktop.build.ignoredPathsTeam": "Using the list in the team file {file}; changes are saved on this machine only.", - "desktop.build.invalidIgnoredPath": "Line {line} is not a usable ignore rule. Rules follow .gitignore syntax, have no leading or trailing spaces, do not start with # or consist of a lone !, are at most 1024 bytes long, and number at most 256.", - "desktop.build.invalidIgnoredPaths": "These ignore rules cannot be used together. Check how they are written.", - "desktop.build.loadingModel": "Loading build model…", - "desktop.build.modelFailed": "The build model could not be loaded: {error}", - "desktop.build.modelStopped": "Build model loading stopped", - "desktop.build.noBuildSystems": "No provider-backed build system was detected.", - "desktop.build.noConnectionDebugAdapter": "No enabled plugin can debug this run: it needs a debug adapter of type “{type}” that attaches to a running program. Install or enable one in Settings > Plugins.", - "desktop.build.noDebugAdapter": "The build provider's own plugin declares no debug adapter that can start a prepared program.", - "desktop.build.noMatches": "No matching build items", - "desktop.build.noOptions": "This build system declares no options.", - "desktop.build.noTasks": "No build tasks", - "desktop.build.optionChoiceDefault": "default", - "desktop.build.optionChoiceDefaultLabel": "{title} (default)", - "desktop.build.options": "Options", - "desktop.build.optionsTitle": "Build Options", - "desktop.build.output": "Build output", - "desktop.build.pluginsUnavailable": "Build plugins are unavailable in this window.", - "desktop.build.preparing": "Preparing…", - "desktop.build.processFailed": "The process ended: {error}", - "desktop.build.projectMissing": "The selected project is no longer in the build model. Refresh the build system.", - "desktop.build.refresh": "Detect build systems again", - "desktop.build.runSelected": "Run selected task", - "desktop.build.runTarget": "Run {name}", - "desktop.build.running": "Running…", - "desktop.build.showSyncOutput": "Show the output in the Run window", - "desktop.build.stop": "Stop build task", - "desktop.build.stopping": "Stopping…", - "desktop.build.succeeded": "Build succeeded", - "desktop.build.syncSession": "Sync {name}", - "desktop.build.syncSessionAt": "Sync {name} ({root})", - "desktop.build.systems": "Build systems", - "desktop.build.targetMissing": "The selected target is no longer in the build model. Refresh the build system.", - "desktop.build.targets": "Targets", - "desktop.build.testDiscoveryFailed": "Could not discover tests: {error}", - "desktop.build.toggleOptionChoice": "Toggle {option}: {choice}", - "desktop.build.toolchainGap": "The provider prepared {toolchain}. This build cannot launch a toolchain reference yet.", - "desktop.build.treeFailed": "The build tree could not be shown: {error}", - "desktop.build.treeTruncated": "Too many build items to list them all; only the first ones are shown.", - "desktop.build.versionTooOld": "The build tool is {version}, older than the required {minimum}.", - "desktop.changelists.moveSelected": "Move {count} Selected to Change List", - "desktop.clone.busy": "Cloning…", - "desktop.clone.cancel": "Cancel", - "desktop.clone.choose": "Choose…", - "desktop.clone.failed": "Clone failed. Check the repository address, access, and destination, then retry.", - "desktop.clone.invalidName": "Choose an absolute destination folder and enter a single folder name", - "desktop.clone.more": "More", - "desktop.clone.name": "Folder name", - "desktop.clone.namePlaceholder": "project-name", - "desktop.clone.parent": "Destination folder", - "desktop.clone.source": "Repository URL", - "desktop.clone.sourcePlaceholder": "https://github.com/example/project.git", - "desktop.clone.submit": "Clone", - "desktop.clone.title": "Clone Repository", - "desktop.command.addNextOccurrence": "Add Next Occurrence", - "desktop.command.branches": "Branches…", - "desktop.command.clone": "Clone Repository…", - "desktop.command.cloneCaretAbove": "Clone Caret Above", - "desktop.command.cloneCaretBelow": "Clone Caret Below", - "desktop.command.closeProject": "Close Project", - "desktop.command.commit": "Commit…", - "desktop.command.commitAndPush": "Commit and Push…", - "desktop.command.debug": "Debug", - "desktop.command.findAction": "Find Action", - "desktop.command.findInFiles": "Find in Files…", - "desktop.command.fold": "Fold", - "desktop.command.foldAll": "Fold All", - "desktop.command.gitConsole": "Show Git Console", - "desktop.command.gitNextChange": "Go to Next Change", - "desktop.command.gitPreviousChange": "Go to Previous Change", - "desktop.command.groupApp": "Application", - "desktop.command.groupEditor": "Editor", - "desktop.command.groupGit": "Git", - "desktop.command.groupProject": "Project", - "desktop.command.groupRun": "Run", - "desktop.command.groupSearch": "Search", - "desktop.command.groupTerminal": "Terminal", - "desktop.command.groupToolWindows": "Tool Windows", - "desktop.command.groupView": "View", - "desktop.command.importLegacy": "Import Settings from Earlier Lithe…", - "desktop.command.languageChinese": "Language: 简体中文", - "desktop.command.languageEnglish": "Language: English", - "desktop.command.logs": "Show Logs", - "desktop.command.newProject": "New Project…", - "desktop.command.newTerminal": "New Terminal", - "desktop.command.noActions": "No matching actions", - "desktop.command.openProject": "Open Project…", - "desktop.command.plugins": "Plugins…", - "desktop.command.replaceInFiles": "Replace in Files…", - "desktop.command.run": "Run", - "desktop.command.saveAll": "Save All", - "desktop.command.searchEverywhere": "Search Everywhere", - "desktop.command.selectAllOccurrences": "Select All Occurrences", - "desktop.command.settings": "Settings…", - "desktop.command.showTool": "Show {name}", - "desktop.command.themeDark": "Theme: Dark", - "desktop.command.themeLight": "Theme: Light", - "desktop.command.themeSystem": "Theme: Follow System", - "desktop.command.toggleBreakpoint": "Toggle Line Breakpoint", - "desktop.command.toggleVim": "Toggle Vim Mode", - "desktop.command.unfold": "Unfold", - "desktop.command.unfoldAll": "Unfold All", - "desktop.command.unselectOccurrence": "Unselect Occurrence", - "desktop.commit.amendNote": "Amend applies to repositories with selected files.", - "desktop.commit.author": "Author", - "desktop.commit.authorHelp": "Records the commit as written by someone else. Leave empty to use your Git identity. Cleared after the commit succeeds.", - "desktop.commit.authorInvalid": "Write the author as Name .", - "desktop.commit.authorLine": "Author: {author}", - "desktop.commit.authorPlaceholder": "Name ", - "desktop.commit.chooseTarget": "Choose which branch to update before pushing.", - "desktop.commit.clean": "Working tree is clean", - "desktop.commit.commitAndPush": "Commit and Push…", - "desktop.commit.commitFailed": "Commit failed", - "desktop.commit.committing": "Committing…", - "desktop.commit.dismiss": "Dismiss Results", - "desktop.commit.enterMessage": "Enter a commit message", - "desktop.commit.failed": "Failed to commit changes: {reason}", - "desktop.commit.instructions": "Generation instructions", - "desktop.commit.instructionsHelp": "Requirements handed to the AI with the changes when it writes a commit message, such as the tone, the format or what to leave out. Nothing is added when it is empty.", - "desktop.commit.instructionsPlaceholder": "For example: avoid long descriptions", - "desktop.commit.messageLine": "Commit message: {message}", - "desktop.commit.noCommits": "New repository", - "desktop.commit.openSettings": "Open in Settings…", - "desktop.commit.options": "Commit options", - "desktop.commit.optionsAI": "AI", - "desktop.commit.optionsGit": "Git", - "desktop.commit.order": "Each repository has its own commit. Completed steps are kept if another repository fails.", - "desktop.commit.parentsHelp": "After a submodule is committed, also commit its new reference in the parent repository. Submodules are pushed before their parents.", - "desktop.commit.partlyStagedState": "Partly staged", - "desktop.commit.pushTo": "Push to {upstream}", - "desktop.commit.refresh": "Refresh changes", - "desktop.commit.result": "{repository}: {status}", - "desktop.commit.retry": "Review and Retry…", - "desktop.commit.reviewPushTitle": "Review commit and push", - "desktop.commit.reviewRequired": "Review required", - "desktop.commit.reviewRetry": "Review remaining steps", - "desktop.commit.reviewTitle": "Review repository commits", - "desktop.commit.signOff": "Sign-off commit", - "desktop.commit.signOffHelp": "Adds a Signed-off-by line with your Git identity to the end of the commit message. Stays on until you turn it off.", - "desktop.commit.signOffNote": "Adds a Signed-off-by line.", - "desktop.commit.stageAll": "Stage all files in current ChangeList", - "desktop.commit.stageFailed": "Failed to stage files: {reason}", - "desktop.commit.stageFile": "Stage {path}", - "desktop.commit.step": "{number}. {action}: {repository}", - "desktop.commit.stepPush": "Commit and push", - "desktop.commit.stepPushOnly": "Push only", - "desktop.commit.tracksDifferent": "Branch '{local}' tracks '{upstream}', which has a different name. Choose which branch to update.", - "desktop.commit.unstageFailed": "Failed to unstage files: {reason}", - "desktop.commit.unstageFile": "Unstage {path}", - "desktop.commit.where": "{branch} · {head}", - "desktop.credentials.importLegacy": "Import Plugin Credentials from Earlier Lithe…", - "desktop.credentials.importLegacyBusy": "Importing Plugin Credentials…", - "desktop.credentials.importLegacyConfirm": "Import", - "desktop.credentials.importLegacyDescription": "Copies the plugin credentials the earlier Lithe app saved. The system may ask you to allow access to each one. Credentials already saved here are not replaced, and the earlier app's credentials stay unchanged.", - "desktop.credentials.importLegacyDone": "Imported {imported} plugin credentials; kept {kept} already saved here; {failed} could not be read.", - "desktop.credentials.importLegacyFailed": "Could not import plugin credentials: {error}", - "desktop.credentials.importLegacyNone": "The earlier Lithe app saved no plugin credentials.", - "desktop.credentials.importLegacyTitle": "Import Plugin Credentials", - "desktop.debug.adapter": "Debug adapter", - "desktop.debug.addWatch": "Add Watch", - "desktop.debug.attachHost": "Host", - "desktop.debug.attachInvalid": "Enter a host name and a port from 1 to 65535.", - "desktop.debug.attachPort": "Port", - "desktop.debug.breakpoint.addFunction": "Add", - "desktop.debug.breakpoint.breakOnChange": "Break when value changes", - "desktop.debug.breakpoint.condition": "Condition", - "desktop.debug.breakpoint.conditionPlaceholder": "Stop only when this expression is true", - "desktop.debug.breakpoint.conditional": "if", - "desktop.debug.breakpoint.dataRow": "◆ {label}", - "desktop.debug.breakpoint.dataUnavailable": "The adapter cannot break when this variable changes.", - "desktop.debug.breakpoint.edit": "Edit breakpoint…", - "desktop.debug.breakpoint.functionName": "Method or function", - "desktop.debug.breakpoint.functionPlaceholder": "For example example.Main.run", - "desktop.debug.breakpoint.functionRow": "ƒ {name}", - "desktop.debug.breakpoint.hitCondition": "Hit count", - "desktop.debug.breakpoint.hitConditionPlaceholder": "For example >= 5", - "desktop.debug.breakpoint.logMessage": "Log message", - "desktop.debug.breakpoint.logMessagePlaceholder": "Text to log; {expression} is evaluated", - "desktop.debug.breakpoint.logPoint": "log", - "desktop.debug.breakpoint.removeData": "Remove data breakpoint", - "desktop.debug.breakpoint.removeFunction": "Remove method breakpoint", - "desktop.debug.breakpoint.title": "Breakpoint {file}:{line}", - "desktop.debug.breakpoints": "Breakpoints", - "desktop.debug.bufferLimit": "The debug adapter is not reading, and the send queue went over its limit.", - "desktop.debug.child.needsConfirmation": "The child debug session targets a remote endpoint that Lithe has not confirmed.", - "desktop.debug.child.startedBy": "Started by {parent}", - "desktop.debug.child.stopped": "The child debug session was stopped before it started.", - "desktop.debug.child.unavailable": "Lithe could not start the child debug session.", - "desktop.debug.connectFailed": "Could not connect to the debug adapter at {endpoint}.", - "desktop.debug.connectionClosed": "The debug connection closed.", - "desktop.debug.consoleEmpty": "The debug session's output appears here.", - "desktop.debug.continue": "Continue", - "desktop.debug.disassembly": "Disassembly", - "desktop.debug.disassemblyRetry": "Retry", - "desktop.debug.editValue": "New value", - "desktop.debug.evaluateFailed": "The expression could not be evaluated", - "desktop.debug.evaluatePlaceholder": "Evaluate expression ({evaluate}) or add a watch ({watch})", - "desktop.debug.exceptionInfo": "Exception info", - "desktop.debug.exceptions": "Exception Breakpoints", - "desktop.debug.failed": "Debug session failed", - "desktop.debug.filteredFrames": "Filtered frames ({count})", - "desktop.debug.frames": "Call stack", - "desktop.debug.initialized": "Debug adapter initialized", - "desktop.debug.invalidEndpoint": "The debug adapter endpoint is not valid.", - "desktop.debug.loadMore": "Load more", - "desktop.debug.loadingVariables": "Loading…", - "desktop.debug.memory": "Memory", - "desktop.debug.memoryAddress": "Memory address", - "desktop.debug.memoryAddressPlaceholder": "Address, e.g. 0x1000", - "desktop.debug.memoryBytesPerRow": "Bytes per row", - "desktop.debug.memoryGoToAddress": "Go to Address", - "desktop.debug.memoryRadix": "Number base", - "desktop.debug.memoryRadixBinary": "Binary", - "desktop.debug.memoryRadixDecimal": "Decimal", - "desktop.debug.memoryRadixHex": "Hexadecimal", - "desktop.debug.memoryRadixOctal": "Octal", - "desktop.debug.memoryRowBytes": "{bytes} bytes per row", - "desktop.debug.memoryTypeAddress": "The selected frame has no instruction address. Type an address above to read memory there.", - "desktop.debug.memoryUnreadableBytes": "Unreadable bytes: {bytes}", - "desktop.debug.noAdapters": "The installed plugins declare no debug adapter this client can start.", - "desktop.debug.noBreakpoints": "No breakpoints", - "desktop.debug.noDisassembly": "Pause in a frame the adapter can disassemble to see its instructions.", - "desktop.debug.noDocument": "Open a file first to toggle its breakpoint.", - "desktop.debug.noEndpoint": "The language server did not return a valid debug port.", - "desktop.debug.noExceptionFilters": "This debug adapter offers no exception breakpoints.", - "desktop.debug.noFrames": "No stack frames", - "desktop.debug.noMemory": "The adapter cannot read memory for this frame.", - "desktop.debug.noVariables": "Pause the debuggee to inspect its variables.", - "desktop.debug.notAnnounced": "The debug adapter exited before printing the port it listens on.", - "desktop.debug.openFrame": "Open the frame's source location", - "desktop.debug.pause": "Pause", - "desktop.debug.paused": "Paused", - "desktop.debug.pluginsUnavailable": "Debug plugins are unavailable in this window.", - "desktop.debug.registers": "Registers", - "desktop.debug.reload": "Go to current instruction", - "desktop.debug.remoteAttach": "Attach", - "desktop.debug.remoteCancel": "Cancel", - "desktop.debug.remotePrompt": "Attach to {endpoint}? It is not a local address, and plain TCP is neither authenticated nor encrypted.", - "desktop.debug.remoteTitle": "Attach to a remote target", - "desktop.debug.removeBreakpoint": "Remove the breakpoint", - "desktop.debug.removeWatch": "Remove Watch", - "desktop.debug.running": "Running", - "desktop.debug.session": "Session", - "desktop.debug.setValue": "Set", - "desktop.debug.settingsUnreadable": "Could not read the debugger plugin settings. Check its settings files, reload the project, then try again.", - "desktop.debug.start": "Start debugging", - "desktop.debug.starting": "Starting the debug adapter…", - "desktop.debug.stepInto": "Step Into", - "desktop.debug.stepOut": "Step Out", - "desktop.debug.stepOver": "Step Over", - "desktop.debug.stop": "Stop debugging", - "desktop.debug.targetUnavailable": "No runnable debug target was found. Build the program first.", - "desktop.debug.terminated": "Debug session terminated", - "desktop.debug.threadFallback": "Thread {id}", - "desktop.debug.threadRunning": "{name} (running)", - "desktop.debug.threads": "Threads", - "desktop.debug.timedOut": "The debug adapter did not answer in time.", - "desktop.debug.toggleBreakpoint": "Toggle breakpoint at caret", - "desktop.debug.unmuteBreakpoints": "Unmute breakpoints", - "desktop.debug.variables": "Variables", - "desktop.debug.viewJson": "JSON", - "desktop.debug.viewTree": "Tree", - "desktop.debug.waitingServer": "Starting the language server…", - "desktop.debug.watchPlaceholder": "Evaluate expression", - "desktop.debug.watches": "Watches", - "desktop.debug.writeTimedOut": "Writing to the debug adapter timed out.", - "desktop.diff.keepWhitespace": "Do not ignore whitespace", - "desktop.diffFind.close": "Close find", - "desktop.diffFind.field": "Find in diff", - "desktop.diffFind.next": "Next match", - "desktop.diffFind.open": "Find in Diff", - "desktop.diffFind.previous": "Previous match", - "desktop.document.closeConflict": "The file changed or was removed outside Lithe. Its editor content remains open.", - "desktop.document.externalReadFailed": "Could not check the file for external changes.", - "desktop.document.hardLinkCancel": "Cancel", - "desktop.document.watchUnavailable": "Could not monitor open files for external changes. Saving still checks the disk.", - "desktop.drafts.conflict": "Draft recovered. The disk file changed; compare the versions before choosing which to keep.", - "desktop.drafts.discard": "Discard draft", - "desktop.drafts.empty": "No scratch files.", - "desktop.drafts.failed": "Could not save the recovery copy. Unsaved contents remain in the editor.", - "desktop.drafts.list": "Scratch files", - "desktop.drafts.new": "New scratch file", - "desktop.drafts.recovered": "Unsaved contents were recovered.", - "desktop.drafts.saveAs": "Save As…", - "desktop.drafts.saved": "The draft was saved to a file.", - "desktop.drafts.untitled": "Untitled {number}", - "desktop.editor.dropFiles": "Drop files here to open them", - "desktop.editor.goToFile": "Go to File", - "desktop.editor.hiddenTabs": "Show Hidden Tabs", - "desktop.editor.hideMinimap": "Hide Minimap", - "desktop.editor.horizontalScrollbar": "Horizontal Scrollbar", - "desktop.editor.lineEditFailed": "Could not apply the line operation.", - "desktop.editor.linkOpenFailed": "Could not open the link: {reason}", - "desktop.editor.minimap": "Minimap", - "desktop.editor.noLineComment": "This file type has no line comment.", - "desktop.editor.notText": "it is not a text file", - "desktop.editor.openFailed": "Could not open {name}: {reason}", - "desktop.editor.recentFiles": "Recent Files", - "desktop.editor.saveFailed": "Could not save {name}: {reason}", - "desktop.editor.showMinimap": "Show Minimap", - "desktop.editor.softWrap": "Soft Wrap", - "desktop.editor.tooLarge": "it is too large to open in the editor", - "desktop.editor.unsupportedEncoding": "it is not valid UTF-8; use an editor that supports its encoding", - "desktop.editor.verticalScrollbar": "Vertical Scrollbar", - "desktop.editor.vim.insert": "INSERT", - "desktop.editor.vim.normal": "NORMAL", - "desktop.editor.vim.notFound": "Pattern not found: {pattern}", - "desktop.editor.vim.replace": "REPLACE", - "desktop.editor.vim.unknown": "Not an editor command: {name}", - "desktop.editor.vim.visual": "VISUAL", - "desktop.editor.vim.visualLine": "V-LINE", - "desktop.editor.vimMode": "Vim Mode", - "desktop.editor.vimModeHelp": "Edit with Vim key bindings: Normal, Insert and Visual modes.", - "desktop.editorActions.failed": "The plugin could not run this action.", - "desktop.editorActions.stale": "The document changed. Wait for the actions to update.", - "desktop.editorFind.case": "Match case", - "desktop.editorFind.close": "Close find", - "desktop.editorFind.count": "{current}/{total}", - "desktop.editorFind.failed": "Could not complete the search or replacement.", - "desktop.editorFind.find": "Find", - "desktop.editorFind.invalidPattern": "The regular expression is invalid.", - "desktop.editorFind.loading": "Searching…", - "desktop.editorFind.next": "Next match", - "desktop.editorFind.previous": "Previous match", - "desktop.editorFind.regex": "Regular expression", - "desktop.editorFind.replace": "Replace", - "desktop.editorFind.replaceAll": "Replace all", - "desktop.editorFind.replaceOne": "Replace current", - "desktop.editorFind.replaced": "Replaced {count} occurrences.", - "desktop.editorFind.replacementTooLarge": "The replacement is too large. Narrow the scope.", - "desktop.editorFind.selection": "In selection", - "desktop.editorFind.stale": "The document changed. Retry the replacement.", - "desktop.editorFind.tooLarge": "This file exceeds the 64 MiB search limit.", - "desktop.editorFind.tooMany": "More than 10,000 matches. Narrow the scope before replacing all.", - "desktop.editorFind.word": "Whole words", - "desktop.editorMenu.back": "Back", - "desktop.editorMenu.deleteLine": "Delete Line", - "desktop.editorMenu.duplicateLine": "Duplicate Line", - "desktop.editorMenu.findUsages": "Find Usages", - "desktop.editorMenu.forward": "Forward", - "desktop.editorMenu.goToDefinition": "Go to Definition", - "desktop.editorMenu.goToLine": "Go to Line...", - "desktop.editorMenu.lineHistory": "Show Line History", - "desktop.editorMenu.moveLineDown": "Move Line Down", - "desktop.editorMenu.moveLineUp": "Move Line Up", - "desktop.editorMenu.openInBrowser": "Open in Browser", - "desktop.editorMenu.openInBrowserFailed": "Could not open the file in the browser: {reason}", - "desktop.editorMenu.reformat": "Reformat Code", - "desktop.editorMenu.rename": "Rename Symbol", - "desktop.editorMenu.toggleComment": "Toggle Line Comment", - "desktop.editorPrefs.block": "Block", - "desktop.editorPrefs.cursorBlink": "Blink caret", - "desktop.editorPrefs.cursorStyle": "Caret style", - "desktop.editorPrefs.failed": "Could not update editor settings.", - "desktop.editorPrefs.line": "Line", - "desktop.editorPrefs.lineNumbers": "Show line numbers", - "desktop.editorPrefs.saveDelay": "Auto-save delay (ms)", - "desktop.editorPrefs.saveDelayHelp": "Wait this long after typing before auto-saving (250–60,000 ms). Disabled when auto-save is off. Draft recovery is independent.", - "desktop.editorPrefs.title": "Editor display", - "desktop.editorPrefs.underline": "Underline", - "desktop.editorPrefs.whitespace": "Show whitespace", - "desktop.encoding.reopen": "Reopen with Encoding", - "desktop.encoding.reopenDirty": "Save or discard your changes before reopening with another encoding.", - "desktop.encoding.reopenFailed": "Could not reopen the file with that encoding.", - "desktop.encoding.reopenLossy": "Some bytes are not valid in that encoding and show as replacement characters.", - "desktop.encoding.saveAs": "Save with Encoding", - "desktop.encoding.unmappable": "The text has a character {encoding} cannot represent. Nothing was written.", - "desktop.errors.core": "Core call failed: {reason}", - "desktop.errors.dismiss": "Dismiss", - "desktop.errors.folderMissing": "The folder does not exist: {path}", - "desktop.errors.logsFailed": "Could not open the log window: {reason}", - "desktop.errors.openFailed": "Could not open the project: {reason}", - "desktop.errors.saveFailed": "Could not save settings: {reason}", - "desktop.errors.settingsFailed": "Could not open the settings window: {reason}", - "desktop.everywhere.actions": "Actions", - "desktop.everywhere.all": "All", - "desktop.everywhere.classes": "Classes", - "desktop.everywhere.files": "Files", - "desktop.everywhere.limit": "Showing the first 500 results. Narrow your search to see more.", - "desktop.everywhere.more": "Load more", - "desktop.everywhere.retry": "Retry", - "desktop.everywhere.symbols": "Symbols", - "desktop.everywhere.text": "Text", - "desktop.everywhere.title": "Search Everywhere", - "desktop.everywhere.watchUnavailable": "Could not monitor project changes. Reopen search to refresh results.", - "desktop.exit.body": "Closing will stop these programs started by Lithe:\n{processes}", - "desktop.exit.cancel": "Cancel", - "desktop.exit.debugSession": "Debug session ({adapter})", - "desktop.exit.stopAndClose": "Stop and Close", - "desktop.exit.terminal": "Terminal “{terminal}”", - "desktop.exit.title": "Programs are still running", - "desktop.files.batchDelete": "Delete {count} Items…", - "desktop.files.batchDeletePrompt": "Delete {count} items? Open tabs below them are saved and closed. Moving them to the Trash can be undone; deleting them permanently cannot.", - "desktop.files.batchDeleteTitle": "Delete Items", - "desktop.files.cancel": "Cancel", - "desktop.files.compareBranch": "Compare with Branch", - "desktop.files.copy": "Copy", - "desktop.files.copyFailed": "Could not copy the path: {reason}", - "desktop.files.create": "Create", - "desktop.files.createFailed": "Could not create the item: {reason}", - "desktop.files.crossBoundaryMove": "Moving or renaming between WSL distributions, or between a distribution and a local folder, is not supported", - "desktop.files.cut": "Cut", - "desktop.files.delete": "Delete…", - "desktop.files.deleteFailed": "Could not delete the item: {reason}", - "desktop.files.deleteMessage": "Delete “{name}”? Open tabs below it are saved and closed. Moving it to the Trash can be undone; deleting it permanently cannot.", - "desktop.files.deletePermanently": "Delete Permanently", - "desktop.files.deleteTitle": "Delete Item", - "desktop.files.duplicate": "Duplicate", - "desktop.files.duplicateFailed": "Could not duplicate the item: {reason}", - "desktop.files.excludeFailed": "Could not exclude the folder: {reason}", - "desktop.files.excludeFromSearch": "Exclude from Search", - "desktop.files.gitSubmenu": "Git", - "desktop.files.invalidName": "Enter a file or folder name without a slash.", - "desktop.files.moveFailed": "Could not move the item: {reason}", - "desktop.files.moveToTrash": "Move to Trash", - "desktop.files.name": "Name", - "desktop.files.nameExists": "An item with this name already exists.", - "desktop.files.newDirectory": "New Directory…", - "desktop.files.newDirectoryTitle": "New Directory", - "desktop.files.newFile": "New File…", - "desktop.files.newFileTitle": "New File", - "desktop.files.open": "Open", - "desktop.files.openIn": "Open In", - "desktop.files.openInExplorer": "File Explorer", - "desktop.files.openInFinder": "Finder", - "desktop.files.openInTerminal": "Terminal", - "desktop.files.openWith": "Open With", - "desktop.files.openWithAppPath": "{name} ({path})", - "desktop.files.openWithDefault": "{name} (default)", - "desktop.files.openWithFailed": "Could not open the file: {reason}", - "desktop.files.openWithFinding": "Finding Applications…", - "desktop.files.openWithGone": "“{name}” no longer opens this kind of file", - "desktop.files.openWithOther": "Other…", - "desktop.files.openWithTitle": "Choose an Application", - "desktop.files.paste": "Paste", - "desktop.files.pasteFailed": "Could not paste the item: {reason}", - "desktop.files.refresh": "Refresh", - "desktop.files.rename": "Rename…", - "desktop.files.renameAction": "Rename", - "desktop.files.renameFailed": "Could not rename the item: {reason}", - "desktop.files.renameTitle": "Rename", - "desktop.files.revealFailed": "Could not show the item: {reason}", - "desktop.files.revealInExplorer": "Reveal in Explorer", - "desktop.files.revealInFinder": "Reveal in Finder", - "desktop.files.showDiff": "Show Git Diff", - "desktop.files.showHistory": "Show History", - "desktop.files.showRepositoryChanges": "Show Repository Changes", - "desktop.files.stage": "Stage File", - "desktop.files.stageAndCommit": "Stage and Open Commit…", - "desktop.files.trashFailed": "Could not move the item to the trash: {reason}", - "desktop.files.unstage": "Unstage File", - "desktop.git.actions": "Git tool window actions", - "desktop.git.allReferences": "All References", - "desktop.git.anyTime": "Any Time", - "desktop.git.apply": "Apply", - "desktop.git.blame.annotation": "{author} · {time} · {subject}", - "desktop.git.blame.uncommitted": "Uncommitted changes", - "desktop.git.branchSearch": "Branch or tag", - "desktop.git.branchSettings": "Branches Pane Settings", - "desktop.git.cancel": "Cancel", - "desktop.git.clear": "Clear", - "desktop.git.clearFilter": "Clear filter", - "desktop.git.collapseAll": "Collapse All Branches", - "desktop.git.compareBranch": "Compare current branch with working tree", - "desktop.git.compareChanges": "Compare changes", - "desktop.git.compareWithCurrent": "Compare with Current", - "desktop.git.compareWorkingTree": "Compare with Working Tree", - "desktop.git.console.collapse": "Collapse", - "desktop.git.console.exitCode": "Exit code {code}", - "desktop.git.console.expand": "Expand", - "desktop.git.console.expandConfiguration": "Show {count} temporary settings", - "desktop.git.console.queryOutput": "Read output, {count} lines", - "desktop.git.console.queryOutputOne": "Read output, {count} line", - "desktop.git.console.settings": "Git Console Settings", - "desktop.git.decorations": "Show commit decorations", - "desktop.git.deleteBranch": "Delete Selected Branch", - "desktop.git.excludeFailed": "Could not exclude the item: {reason}", - "desktop.git.excludeLocally": "Exclude From Git (Local Only)", - "desktop.git.expandAll": "Expand All Branches", - "desktop.git.failed": "Git read failed: {reason}", - "desktop.git.fetchAll": "Fetch All Remotes", - "desktop.git.fetchOptions": "Fetch Options…", - "desktop.git.fileHistory": "Show file history", - "desktop.git.filesFailed": "Could not load changed files", - "desktop.git.filterDate": "Date", - "desktop.git.filterPaths": "Paths", - "desktop.git.filterUser": "User", - "desktop.git.filterValue": "{filter}: {value}", - "desktop.git.findBranch": "Find Branch", - "desktop.git.findInLog": "Find in log", - "desktop.git.gutter.before": "Before This Change", - "desktop.git.gutter.next": "Next", - "desktop.git.gutter.noEarlier": "(no earlier text)", - "desktop.git.gutter.previous": "Previous", - "desktop.git.gutter.revert": "Revert This Change", - "desktop.git.gutter.saveFirst": "Save the file to stage this change.", - "desktop.git.gutter.stage": "Stage This Change", - "desktop.git.hideBranches": "Hide Branches", - "desktop.git.last30Days": "Last 30 Days", - "desktop.git.last7Days": "Last 7 Days", - "desktop.git.loadMoreFailed": "Could not load older commits. Refresh history", - "desktop.git.loading": "Loading…", - "desktop.git.locateBranch": "Navigate Log to Selected Branch", - "desktop.git.log": "Log", - "desktop.git.log.adjustLimit": "Adjust Limit…", - "desktop.git.log.limitReached": "Read {count} commits; older commits are beyond the read limit", - "desktop.git.logTab": "Log: {reference}", - "desktop.git.longEdges": "Show long graph edges", - "desktop.git.noCommits": "No commits yet", - "desktop.git.noMatchingReferences": "No matching branches or tags", - "desktop.git.noMatchingUsers": "No matching users", - "desktop.git.notRepository": "This project is not a Git repository", - "desktop.git.olderOutside": "Older commits are outside the loaded history", - "desktop.git.on": "on {date}", - "desktop.git.pathPlaceholder": "Directory or file name", - "desktop.git.pathTitle": "Filter by changed path", - "desktop.git.pushAll.defineRemote": "Define remote", - "desktop.git.pushAll.description": "Check the repositories to push, review destinations and commits, then push.", - "desktop.git.pushAll.detachedHead": "Detached HEAD", - "desktop.git.pushAll.emptyRepository": "Empty repository", - "desktop.git.pushAll.failed": "Push failed: {reason}", - "desktop.git.pushAll.filesFailed": "Cannot load changed files: {reason}", - "desktop.git.pushAll.loadingFiles": "Loading changed files…", - "desktop.git.pushAll.noChangedFiles": "This commit has no changed files", - "desktop.git.pushAll.noCommitSelected": "Select a commit to see its changed files", - "desktop.git.pushAll.noRepositories": "No repositories to push", - "desktop.git.pushAll.push": "Push (P)", - "desktop.git.pushAll.pushTags": "Push tags (T)", - "desktop.git.pushAll.pushed": "Pushed", - "desktop.git.pushAll.readFailed": "Cannot read: {reason}", - "desktop.git.pushAll.skipped": "Not pushed: {repository} failed to push", - "desktop.git.pushAll.someFailed": "Some repositories were not pushed; see the Push Commits dialog.", - "desktop.git.pushAll.tagsAll": "All", - "desktop.git.pushAll.tagsCurrentBranch": "Current Branch", - "desktop.git.pushAll.title": "Push Commits", - "desktop.git.pushAll.upToDate": "Up to date", - "desktop.git.refreshLog": "Refresh Log", - "desktop.git.repo.back": "Back to {name}", - "desktop.git.repo.choose": "Choose Repositories", - "desktop.git.repo.current": "Repository: {name}", - "desktop.git.repo.several": "{count} Repositories", - "desktop.git.searchUsers": "Search users", - "desktop.git.settings.blame": "Show Inline Git Blame", - "desktop.git.settings.blameHelp": "Shows the author, age and commit subject of the line the caret is on, after its text. Git is read when a file is saved or HEAD moves; the previous annotation stays until then. Off by default.", - "desktop.git.settings.changeLists": "Show Change Lists", - "desktop.git.settings.changeListsHelp": "Groups the Commit window's changes by local change list, with the bar that creates, renames and deletes lists. Turned off, every change is listed in one flat list and all staged changes commit together. The lists and their assignments are kept.", - "desktop.git.settings.console.annotate": "Omit Annotate and Line History", - "desktop.git.settings.console.annotateHelp": "The reads of annotate (blame) and line history. Inline blame refreshes automatically and is never recorded.", - "desktop.git.settings.console.checks": "Omit Checks Before Operations", - "desktop.git.settings.console.checksHelp": "The previews, preflight checks and plans before an operation, and the other queries an operation runs for itself, such as the status.", - "desktop.git.settings.console.completedNotice": "Omit the “No Output” Notice", - "desktop.git.settings.console.completedNoticeHelp": "No notice is shown under a command that succeeded without output. IntelliJ IDEA shows none either.", - "desktop.git.settings.console.diff": "Omit Diff Reads", - "desktop.git.settings.console.diffHelp": "The file and commit diffs, comparisons and stageable change blocks read when a Diff tab opens or changes.", - "desktop.git.settings.console.diffRefresh": "Omit Diff Refreshes After Saving", - "desktop.git.settings.console.diffRefreshHelp": "The open Diff tabs of a file read again after the file is saved.", - "desktop.git.settings.console.display": "Git Console: Display", - "desktop.git.settings.console.displayHelp": "These change only how the Git console draws the commands it recorded, not which it records. Copying the whole console still gives the full commands and repositories. Every switch starts as in IntelliJ IDEA.", - "desktop.git.settings.console.foldShortQueries": "Fold Query Output of 10 Lines or Fewer", - "desktop.git.settings.console.foldShortQueriesHelp": "A successful query's output longer than 10 lines is folded whole and opens on a click; turned on, shorter output is folded too. A deletion (of branches, tags, references, remote branches, configuration, files, stashes or worktrees, and clean and prune) never has its output or configuration folded.", - "desktop.git.settings.console.log": "Omit Log Browsing", - "desktop.git.settings.console.logHelp": "The reads of the Git log: its commit history, branches and tags, graph and commit details.", - "desktop.git.settings.console.logPathFilter": "Omit Log Path Filter Reads", - "desktop.git.settings.console.logPathFilterHelp": "The file lists read commit by commit when the log is filtered by path.", - "desktop.git.settings.console.omitted": "Git Console: Omitted Queries", - "desktop.git.settings.console.omittedHelp": "A kind that is on is not written to the Git console and takes none of the records it keeps; turning a kind on also removes the successful queries of it the console already recorded. The commands you run, failed Git requests, the failed queries of the operations you start and unexpected exit codes always show. The reads that refresh automatically as repositories change (status, gutter markers, inline blame and so on) are never recorded. Every switch starts as in IntelliJ IDEA: all omitted.", - "desktop.git.settings.console.panels": "Omit Lists and Panels", - "desktop.git.settings.console.panelsHelp": "The reads of lists and panels such as worktrees, stashes, remotes, pull requests, untracked directories and repository setup.", - "desktop.git.settings.console.references": "Omit Background Branch Reads", - "desktop.git.settings.console.referencesHelp": "The branches and references of each repository read again in the background after a repository changes, for the branch popup and the log's repository groups.", - "desktop.git.settings.console.reload": "Omit Reloads After Operations", - "desktop.git.settings.console.reloadHelp": "The status read again after a Git operation you run (commit, staging, stash, shelf, rebase, branch operations, fetch, update and so on) or when you refresh Changes, and the Diff tabs read again after an operation writes to the working tree or the index.", - "desktop.git.settings.console.repository": "Omit Repository Name", - "desktop.git.settings.console.repositoryHelp": "Each command line starts with the time alone, without the [repository] name.", - "desktop.git.settings.console.temporaryConfig": "Hide Temporary -c Configuration", - "desktop.git.settings.console.temporaryConfigHelp": "The command line no longer shows the -c settings Lithe passes for a single command, not even folded. The -c arguments the command itself names still show, folded.", - "desktop.git.settings.gutter": "Show Git Change Markers", - "desktop.git.settings.gutterHelp": "Marks lines added, changed or removed against the Git index in the editor's gutter. Click a marker to see the earlier text, stage that change, or revert it. Markers update when a file is saved and when the Git status changes.", - "desktop.git.settings.logLimitDefault": "{count} (default)", - "desktop.git.settings.logLimitMerged": "Several repositories", - "desktop.git.settings.logLimitMergedHelp": "The most commits read in all while the log merges several chosen repositories by date. The default is 20,000.", - "desktop.git.settings.logLimitSingle": "One repository", - "desktop.git.settings.logLimitSingleHelp": "The most commits read while the log shows one repository. The default is 5,000.", - "desktop.git.settings.logLimits": "Git Log", - "desktop.git.settings.logLimitsHelp": "The most commits the Git Log reads. When it reaches the limit, the end of the log says older commits are beyond the read limit; a higher limit loads more slowly and uses more memory.", - "desktop.git.settings.parentReferences": "Show Update Parent Repository References", - "desktop.git.settings.parentReferencesHelp": "Shows the option that records the new commits of submodules in their parent repositories. Turned off, the option is hidden and every commit updates the parent references.", - "desktop.git.showAll": "Show all references", - "desktop.git.showBranches": "Show Branches", - "desktop.git.showChanges": "Show Changes", - "desktop.git.showDetails": "Show commit details", - "desktop.git.textOrHash": "Text or hash", - "desktop.git.time.daysAgo": "{count} d ago", - "desktop.git.time.hoursAgo": "{count} h ago", - "desktop.git.time.justNow": "just now", - "desktop.git.time.minutesAgo": "{count} min ago", - "desktop.git.time.monthsAgo": "{count} mo ago", - "desktop.git.time.yearsAgo": "{count} y ago", - "desktop.git.today": "Today", - "desktop.git.updateBranch": "Update Current Branch", - "desktop.git.worktrees.destinationAbsolute": "Enter an absolute path.", - "desktop.git.worktrees.failed": "Worktree operation failed: {reason}", - "desktop.git.worktrees.lockedBecause": "Locked: {reason}", - "desktop.git.worktrees.removed": "Removed worktree '{name}'", - "desktop.git.yesterday": "Yesterday", - "desktop.gitHistory.cherryPicked": "Cherry-picked {hash} onto the current branch", - "desktop.gitHistory.deleteCommit": "Delete Commit…", - "desktop.gitHistory.resetDone": "Reset the current branch to {hash}", - "desktop.gitHistory.reverted": "Reverted {hash} with a new commit", - "desktop.gitHistory.undoCommit": "Undo Commit…", - "desktop.gitReview.blameFailed": "Could not read the annotations: {reason}", - "desktop.gitReview.blameTitle": "Annotations: {file}", - "desktop.gitReview.blockN": "Change {n}", - "desktop.gitReview.cancel": "Cancel", - "desktop.gitReview.close": "Close", - "desktop.gitReview.confirm": "Confirm", - "desktop.gitReview.diffTab": "View", - "desktop.gitReview.menu": "Stashes, Worktrees and Repositories…", - "desktop.gitReview.menuLabel": "More Git actions", - "desktop.gitReview.noRemote": "This repository has no remote to push to.", - "desktop.gitReview.notRepository": "This project is not a Git repository", - "desktop.gitReview.operationFailed": "Git operation failed: {reason}", - "desktop.gitReview.refresh": "Refresh", - "desktop.gitReview.rollbackFailed": "Rollback failed: {reason}", - "desktop.gitReview.stashPush": "Stash Changes", - "desktop.gitReview.untrackedMenu": "Show Untracked Files…", - "desktop.gitReview.untrackedTitle": "Untracked files in {path}", - "desktop.github.approve": "Approve", - "desktop.github.branchExists": "A local branch with this name already exists. Rename or remove it, then review again.", - "desktop.github.cancelSignIn": "Cancel", - "desktop.github.checkFailed": "Failed", - "desktop.github.checkPassed": "Passed", - "desktop.github.checkRunning": "Running", - "desktop.github.checkSkipped": "Skipped", - "desktop.github.checkUnknown": "Completed", - "desktop.github.checkedOut": "Checked out pull request branch {branch}", - "desktop.github.checkedOutHint": "The branch is checked out locally.", - "desktop.github.checkoutBranch": "Local branch: {branch}", - "desktop.github.checks": "Checks", - "desktop.github.checksUnavailable": "Checks are unavailable: the head commit is unknown.", - "desktop.github.comment": "Comment", - "desktop.github.confirmCheckout": "Check Out Branch", - "desktop.github.connectedAs": "Connected as {login}", - "desktop.github.createDetached": "HEAD is detached. Check out a branch before creating a pull request.", - "desktop.github.createPullRequest": "Create Pull Request", - "desktop.github.createUnpublished": "This branch has commits its remote does not have yet. Publish it before creating a pull request.", - "desktop.github.denied": "The authorization was denied on GitHub.", - "desktop.github.draft": "Draft", - "desktop.github.draftChoice": "Create as draft", - "desktop.github.draftFailed": "Could not draft the description: {reason}", - "desktop.github.draftNoProvider": "No AI provider is configured to draft the description.", - "desktop.github.enterCode": "Enter this code on GitHub:", - "desktop.github.expired": "The code expired before it was entered on GitHub. Try again.", - "desktop.github.failed": "GitHub sign-in failed: {reason}", - "desktop.github.filter.closed": "Closed", - "desktop.github.filter.mine": "Mine", - "desktop.github.filter.open": "Open", - "desktop.github.generateDescription": "Generate Description", - "desktop.github.loading": "Loading pull requests…", - "desktop.github.newPullRequest": "New Pull Request…", - "desktop.github.nextBase": "Change Base", - "desktop.github.noChecks": "No checks", - "desktop.github.noPullRequests": "No pull requests match this filter.", - "desktop.github.noReviewThreads": "No review threads", - "desktop.github.openFailed": "Could not open the browser: {reason}", - "desktop.github.openInBrowser": "Open in Browser", - "desktop.github.prBody": "Description (Markdown)", - "desktop.github.prBranches": "{head} → {base}", - "desktop.github.prMeta": "{state} · {head} → {base} · {author}", - "desktop.github.prTitle": "Title", - "desktop.github.publishBranch": "Publish Branch", - "desktop.github.publishDivergent": "The remote branch has diverged. Choose how to publish it in the Push dialog.", - "desktop.github.pullRequests": "Pull Requests", - "desktop.github.reply": "Write a comment", - "desktop.github.requestChanges": "Request Changes", - "desktop.github.reviewCheckout": "Review Checkout", - "desktop.github.reviewNeedsBody": "Write a comment explaining the requested changes.", - "desktop.github.reviewThreads": "Review threads", - "desktop.github.settingsHelp": "Sign in to list, check out and review pull requests of this repository.", - "desktop.github.settingsTitle": "GitHub Account", - "desktop.github.signIn": "Sign In to GitHub", - "desktop.github.signInFirst": "Sign in to GitHub in Settings to list pull requests.", - "desktop.github.signOut": "Sign Out", - "desktop.github.signOutFailed": "Could not remove the GitHub token: {reason}", - "desktop.github.threadLine": "Line {line}", - "desktop.github.threadOutdated": "Outdated", - "desktop.github.unavailable": "GitHub is not available in this build.", - "desktop.github.working": "Connecting to GitHub…", - "desktop.history.close": "Close", - "desktop.history.delete": "Delete", - "desktop.history.empty": "No local history for this file yet.", - "desktop.history.failed": "Local history failed: {reason}", - "desktop.history.labelPlaceholder": "Name this version", - "desktop.history.loading": "Loading history…", - "desktop.history.previewLoading": "Loading snapshot…", - "desktop.history.reasonBaseline": "Project baseline", - "desktop.history.reasonBatchReplace": "Before Replace in Files", - "desktop.history.reasonBeforeDelete": "Before delete", - "desktop.history.reasonBeforeRename": "Before rename", - "desktop.history.reasonExternalChange": "Changed on disk", - "desktop.history.reasonRestored": "Before restore", - "desktop.history.reasonSaved": "Saved", - "desktop.history.reasonUnsavedDiscard": "Discarded unsaved changes", - "desktop.history.rename": "Label", - "desktop.history.restore": "Restore", - "desktop.history.show": "Show Local History", - "desktop.history.title": "Local History", - "desktop.htmlPreview.back": "Back", - "desktop.htmlPreview.failed": "This HTML file can't be previewed.", - "desktop.htmlPreview.forward": "Forward", - "desktop.htmlPreview.reload": "Reload", - "desktop.htmlPreview.tooLarge": "This HTML file is too large to preview.", - "desktop.ideApi.allowConfigure": "Allow configuration", - "desktop.ideApi.allowConfigureHelp": "Lets the client change the project's build options.", - "desktop.ideApi.allowExecute": "Allow execution", - "desktop.ideApi.allowExecuteHelp": "Lets the client start and stop builds and runs. Dependency downloads and plugin execution can happen.", - "desktop.ideApi.copyConfiguration": "Copy stdio client configuration", - "desktop.ideApi.disable": "Disable connection", - "desktop.ideApi.enable": "Enable connection", - "desktop.ideApi.failed": "Could not change the connection: {reason}", - "desktop.ideApi.grantsFixed": "Permissions stay fixed while the connection is on. Disable and enable it again to change them.", - "desktop.ideApi.helperMissing": "Helper program missing", - "desktop.ideApi.intro": "Let plugins and external MCP clients call the capabilities of the open project after you allow it. Each project connects separately, and the connection ends when the project closes.", - "desktop.ideApi.noProject": "Open a project to enable its IDE connection.", - "desktop.ideApi.project": "Project", - "desktop.ideApi.statusDisabled": "Not connected", - "desktop.ideApi.statusEnabled": "Connected", - "desktop.ideApi.title": "IDE Connection", - "desktop.inlineEdit.accept": "Accept", - "desktop.inlineEdit.cancel": "Cancel", - "desktop.inlineEdit.empty": "The model returned an empty replacement. Accepting deletes the selection.", - "desktop.inlineEdit.failed": "AI edit failed: {reason}", - "desktop.inlineEdit.instruction": "What should change? Leave empty to improve the code.", - "desktop.inlineEdit.noSelection": "Select some code first.", - "desktop.inlineEdit.provider": "Provider", - "desktop.inlineEdit.providerClaude": "Claude", - "desktop.inlineEdit.providerCodex": "Codex", - "desktop.inlineEdit.providerDefault": "AI settings default", - "desktop.inlineEdit.readOnly": "This file is read-only.", - "desktop.inlineEdit.reject": "Reject", - "desktop.inlineEdit.reviewTitle": "Review the AI edit", - "desktop.inlineEdit.run": "Generate edit", - "desktop.inlineEdit.running": "Generating…", - "desktop.inlineEdit.stale": "The file changed while the edit was reviewed. Nothing was applied.", - "desktop.inlineEdit.title": "Edit selection with AI", - "desktop.inlineEdit.unchanged": "The model changed nothing.", - "desktop.keymap.add": "Add Shortcut", - "desktop.keymap.cancel": "Cancel", - "desktop.keymap.conflict": "{keys} is already used by “{action}”.", - "desktop.keymap.fullscreenFailed": "Could not change full screen: {reason}", - "desktop.keymap.goToLine": "Go to Line", - "desktop.keymap.groupEditor": "Editor", - "desktop.keymap.help": "Click + and press the new keys. Escape cancels recording. Changes apply at once.", - "desktop.keymap.inlineEdit": "Inline Edit with AI", - "desktop.keymap.modified": "Modified", - "desktop.keymap.noMatch": "No actions match.", - "desktop.keymap.none": "No shortcut", - "desktop.keymap.recording": "Shortcut", - "desktop.keymap.recordingHint": "Press keys…", - "desktop.keymap.remove": "Remove Shortcut", - "desktop.keymap.reset": "Reset", - "desktop.keymap.resetAll": "Restore All Defaults", - "desktop.keymap.search": "Search actions", - "desktop.keymap.searchPlaceholder": "Filter by name or key", - "desktop.keymap.toggleFullscreen": "Toggle Full Screen", - "desktop.keymap.unbindable": "A letter or symbol needs Command, Control or Option so typing never runs an action.", - "desktop.keymapImport.apply": "Create and use scheme", - "desktop.keymapImport.changed": "The source or shortcut settings changed. Choose the file again to refresh the preview.", - "desktop.keymapImport.chooseFile": "Choose shortcut file…", - "desktop.keymapImport.conflictWith": "{key} conflicts with {owner}", - "desktop.keymapImport.conflicts": "Resolve the conflicting shortcuts in the source or current scheme, then choose the file again. No shortcuts will be imported while conflicts remain.", - "desktop.keymapImport.displaced": "Default shortcuts to remove: {keys}", - "desktop.keymapImport.empty": "This file has no supported explicit shortcuts to import.", - "desktop.keymapImport.failed": "Could not import shortcuts. Choose a valid UTF-8 keybindings.json or keymap XML file up to 1 MiB.", - "desktop.keymapImport.fileFilter": "Shortcut configuration", - "desktop.keymapImport.help": "Choose keybindings.json from VS Code or Cursor, or a keymap XML from IntelliJ IDEA. Only explicit bindings for supported actions are imported. IDE defaults, inherited schemes, conditional rules and key sequences are not imported. A preview changes nothing; confirm to create and activate a separate scheme. The source file stays unchanged.", - "desktop.keymapImport.idea": "IntelliJ IDEA (XML)", - "desktop.keymapImport.inherited": "This XML inherits another keymap. Only its explicit action overrides are included.", - "desktop.keymapImport.name": "New scheme name", - "desktop.keymapImport.preview": "Shortcut import preview", - "desktop.keymapImport.skipArguments": "Skipped: this action requires command arguments; its current shortcuts are kept.", - "desktop.keymapImport.skipConditional": "Skipped: this action has a context condition; its current shortcuts are kept.", - "desktop.keymapImport.skipKey": "Skipped: this action uses an unsupported key or rule; its current shortcuts are kept.", - "desktop.keymapImport.skipRemoval": "Skipped: removing an IDE default is not portable to this scheme.", - "desktop.keymapImport.skipSequence": "Skipped: this action uses consecutive keystrokes; its current shortcuts are kept.", - "desktop.keymapImport.skipUnmapped": "Skipped: there is no equivalent supported action.", - "desktop.keymapImport.source": "Source format", - "desktop.keymapImport.summary": "{imported} actions to import · {skipped} rules skipped · {conflicts} conflicts", - "desktop.keymapImport.title": "Import from another IDE…", - "desktop.keymapImport.unbound": "Remove this action’s shortcuts", - "desktop.keymapImport.vscode": "VS Code / Cursor (JSON)", - "desktop.keymapImport.working": "Reading and checking shortcuts…", - "desktop.keymapSchemes.default": "Default", - "desktop.keymapSchemes.delete": "Delete scheme", - "desktop.keymapSchemes.duplicateName": "A scheme with this name already exists.", - "desktop.keymapSchemes.failed": "Could not update keymap schemes. The original scheme is preserved.", - "desktop.keymapSchemes.invalidName": "Enter a scheme name of 1–64 characters.", - "desktop.keymapSchemes.limit": "Up to 16 keymap schemes can be saved.", - "desktop.keymapSchemes.name": "Scheme name", - "desktop.keymapSchemes.newTitle": "Save keymap scheme", - "desktop.keymapSchemes.rename": "Rename scheme…", - "desktop.keymapSchemes.renameTitle": "Rename keymap scheme", - "desktop.keymapSchemes.saveAs": "Save as new scheme…", - "desktop.keymapSchemes.scheme": "Keymap scheme", - "desktop.languageStatus.degraded": "Degraded", - "desktop.languageStatus.failed": "Failed", - "desktop.languageStatus.none": "Not running", - "desktop.languageStatus.ready": "Ready", - "desktop.languageStatus.starting": "Starting", - "desktop.languageStatus.stopped": "Stopped", - "desktop.languageStatus.title": "Language server", - "desktop.legacyImport.confirm": "Import", - "desktop.legacyImport.description": "Read from {source}. The earlier Lithe keeps its data unchanged. Chosen settings replace the current ones; recent projects are added to the current list.", - "desktop.legacyImport.done": "Imported the earlier Lithe settings. Recent projects added: {recent}.", - "desktop.legacyImport.editorFont": "Editor font", - "desktop.legacyImport.failed": "Could not import the earlier Lithe settings: {error}", - "desktop.legacyImport.hidden": "Hidden", - "desktop.legacyImport.language": "Language", - "desktop.legacyImport.menu": "Import Settings from Earlier Lithe…", - "desktop.legacyImport.minimap": "Editor minimap", - "desktop.legacyImport.none": "No settings from an earlier Lithe were found on this computer.", - "desktop.legacyImport.openMarketplace": "Open Plugin Marketplace", - "desktop.legacyImport.plugins": "Plugins installed in the earlier Lithe", - "desktop.legacyImport.pluginsHelp": "Install them again from the plugin marketplace, which checks each one for this version. Their packages are not copied.", - "desktop.legacyImport.pluginsMore": "{count} more", - "desktop.legacyImport.processTermination": "Process termination choices", - "desktop.legacyImport.readFailed": "Could not read the earlier Lithe settings: {error}", - "desktop.legacyImport.recent": "Recent projects", - "desktop.legacyImport.recentCount": "{count} projects", - "desktop.legacyImport.shellAutomatic": "System default", - "desktop.legacyImport.shown": "Shown", - "desktop.legacyImport.tabRows": "Editor tabs", - "desktop.legacyImport.tabsMultiple": "Multiple rows", - "desktop.legacyImport.tabsSingle": "One row", - "desktop.legacyImport.terminalFont": "Terminal font", - "desktop.legacyImport.terminalShell": "Terminal shell", - "desktop.legacyImport.theme": "Theme", - "desktop.legacyImport.themeDark": "Dark", - "desktop.legacyImport.themeLight": "Light", - "desktop.legacyImport.themeSystem": "Follow system", - "desktop.legacyImport.title": "Import from Earlier Lithe", - "desktop.lineHistory.empty": "No commit touched these lines.", - "desktop.lineHistory.inserted": "Lines {lines} were inserted and have no history yet.", - "desktop.lineHistory.lines": "{file}, lines {start}-{end}", - "desktop.lineHistory.loading": "Tracing line history…", - "desktop.lineHistory.outsideRepository": "This file is outside the Git repository.", - "desktop.lineHistory.rewritten": "Lines {lines} were rewritten; their history cannot be matched reliably.", - "desktop.lineHistory.title": "Line History", - "desktop.lineHistory.truncated": "The list is truncated; only the newest commits are shown.", - "desktop.logs.apply": "Apply", - "desktop.logs.choose": "Choose", - "desktop.logs.chooseDirectory": "Choose Log Directory", - "desktop.logs.clearAction": "Clear Logs", - "desktop.logs.clearMessage": "Delete only Lithe-managed logs in the active directory across all modules and sessions. Filters do not limit this action. New events will continue to be recorded.", - "desktop.logs.clearSearch": "Clear search", - "desktop.logs.clearTitle": "Clear collected logs?", - "desktop.logs.diagnostics": "Detailed diagnostics", - "desktop.logs.dropped": "dropped {count}", - "desktop.logs.environmentHint": "App version, {osName} version, architecture, enabled plugins", - "desktop.logs.exportDialog.currentSession": "Current session", - "desktop.logs.exportDialog.export": "Export…", - "desktop.logs.histogramTooltip": "{time} · ERROR {errors} · WARN {warnings} · other {other}", - "desktop.logs.invalidTime": "Enter the time as YYYY-MM-DD HH:MM:SS.", - "desktop.logs.logDirectory": "Log directory", - "desktop.logs.logs": "Logs", - "desktop.logs.newLogs": "↓ {count} new logs, jump to latest", - "desktop.logs.operation": "Op {op} · {count} records · {duration}", - "desktop.logs.paused": "Paused", - "desktop.logs.rejected": "rejected {count} (latest: {event} {code})", - "desktop.logs.repeated": "Repeated {count} times · last {last}", - "desktop.logs.revealInFinder": "Reveal in Finder", - "desktop.logs.savedTo": "Saved to {path}", - "desktop.logs.sourceLine": "line {line}", - "desktop.logs.writeFailures": "write failures {count}", - "desktop.lsp.filterPlaceholder": "Filter log messages", - "desktop.lsp.managePlugins": "Manage Language Server Plugins…", - "desktop.lsp.noFilteredLog": "No log line matches the filter.", - "desktop.lsp.noLog": "This server has reported nothing yet.", - "desktop.lsp.noServers": "No language server is running.", - "desktop.lsp.preparationCancelled": "Language service preparation cancelled", - "desktop.lsp.restartServer": "Restart Server", - "desktop.lsp.state": "State: {state}", - "desktop.lsp.stopServer": "Stop Server", - "desktop.markdown.closeImage": "Close image", - "desktop.markdown.contents": "Contents", - "desktop.markdown.empty": "Nothing to preview", - "desktop.markdown.imagePreview": "Image preview", - "desktop.markdown.markmap": "Mind map", - "desktop.markdown.markmapFailed": "Could not draw this mind map.", - "desktop.markdown.mermaidFailed": "Could not draw this Mermaid diagram.", - "desktop.markdown.preview": "Rendered Markdown", - "desktop.markdown.tooLarge": "This file is too large to preview.", - "desktop.marketplace.cancel": "Cancel", - "desktop.marketplace.communitySource": "Lithe Store", - "desktop.marketplace.confirmInstall": "Install", - "desktop.marketplace.connecting": "Connecting to the download source…", - "desktop.marketplace.downloadProgress": "Downloading plugin… {received} / {total} MiB", - "desktop.marketplace.downloadPrompt": "Download this plugin? After verification, you can review its permissions and programs before installing. If a previous approval still covers this package, installation continues automatically.", - "desktop.marketplace.downloadReceived": "Downloading plugin… {received} MiB", - "desktop.marketplace.downloadTitle": "Download plugin", - "desktop.marketplace.enable": "Enable", - "desktop.marketplace.failureChecksum": "The downloaded package failed integrity verification. Retry to download a fresh copy.", - "desktop.marketplace.failureHelp": "The package could not be downloaded, verified or installed. Retry; if it fails again, open Diagnostics to view the error details.", - "desktop.marketplace.failureNetwork": "Could not download the package. Check your network and proxy settings, then retry.", - "desktop.marketplace.failurePermission": "Lithe could not access the required files. Check folder permissions, then retry.", - "desktop.marketplace.failureTimeout": "The operation timed out. Check your connection and try again.", - "desktop.marketplace.install": "Install", - "desktop.marketplace.installComplete": "Installation complete", - "desktop.marketplace.installCompleteHelp": "The plugin is installed. You can check its enabled state in Installed plugins.", - "desktop.marketplace.installFailed": "The plugin could not be installed.", - "desktop.marketplace.installFromFile": "Install from file…", - "desktop.marketplace.installHelp": "Download and verify the package first, then review its permissions. Installation starts only after you confirm.", - "desktop.marketplace.installTitle": "Install plugin", - "desktop.marketplace.installedSource": "Installed", - "desktop.marketplace.languageServerDisplaced": "Turned off {disabled}: {enabled} also provides the {languages} language server, and only one plugin can serve a language.", - "desktop.marketplace.noFeatures": "This plugin declares no features.", - "desktop.marketplace.officialSource": "Official", - "desktop.marketplace.packageFilter": "Plugin package", - "desktop.marketplace.permissionBackend": "Start the plugin’s background service", - "desktop.marketplace.permissionBuild": "Run build tools for your projects", - "desktop.marketplace.permissionCommandsInstall": "Install the command-line tools the plugin needs (asks you before each installation)", - "desktop.marketplace.permissionDebug": "Start a debugger for your programs", - "desktop.marketplace.permissionGenerate": "Create project files in the location you choose", - "desktop.marketplace.permissionRuntimesInstall": "Download and install the plugin’s declared runtime dependencies. Existing verified installations are reused across plugin updates.", - "desktop.marketplace.programDetails": "Program declarations ({count}) — show / hide details", - "desktop.marketplace.queryTooLong": "Search query is too long", - "desktop.marketplace.reviewConsent": "Install only if you trust this source. Installing approves the permissions and programs declared by this package.", - "desktop.marketplace.reviewEmpty": "This plugin asks for no permissions and starts no programs.", - "desktop.marketplace.reviewPermissions": "Permissions", - "desktop.marketplace.reviewPrograms": "Programs", - "desktop.marketplace.reviewTitle": "Review plugin", - "desktop.marketplace.runtimeChecking": "Checking {dependency}…", - "desktop.marketplace.runtimeDownloading": "Downloading {dependency}… {received} / {total} MiB", - "desktop.marketplace.runtimeExtracting": "Unpacking {dependency}…", - "desktop.marketplace.runtimeFailureHelp": "The runtime environment could not be prepared. Installed plugin versions and verified downloads have been kept. Retry to continue.", - "desktop.marketplace.runtimeReady": "{dependency} is ready", - "desktop.marketplace.runtimeReceived": "Downloading {dependency}… {received} MiB", - "desktop.marketplace.runtimeRepairing": "Repairing {dependency}…", - "desktop.marketplace.runtimeVerifying": "Verifying {dependency}…", - "desktop.marketplace.sourceInvalid": "Enter an HTTPS address for the index.", - "desktop.marketplace.sourceUnavailable": "Source unavailable: {source}", - "desktop.marketplace.tab.settings": "Settings", - "desktop.marketplace.uninstall": "Uninstall", - "desktop.marketplace.verifying": "Extracting and verifying plugin…", - "desktop.memory.belowMegabyte": "< 1 MB", - "desktop.memory.childProcesses": "Other child processes", - "desktop.memory.columnCPU": "CPU", - "desktop.memory.columnCompressed": "Swapped out", - "desktop.memory.columnGPU": "GPU", - "desktop.memory.columnInMemory": "In memory", - "desktop.memory.gigabytes": "{value} GB", - "desktop.memory.help": "Counts the Lithe main process and every process that belongs to it: language servers, plugin services, child processes such as terminals and runs, and the helpers the system starts for Lithe, such as the WebKit processes that show web pages and previews.", - "desktop.memory.helpFigures": "“In memory” is the physical memory the processes hold now; the status bar and the total count only this. “Swapped out” is what the system compressed or wrote to disk for them, which “In memory” does not include. CPU and GPU are the use between two readings at least a second apart, GPU being the busiest graphics engine; the GPU is read only while the details are open, so its use shows a moment after they open.", - "desktop.memory.helpLinux": "“In memory” is the resident memory less its shared pages; “Swapped out” is what was moved to swap, zram included. CPU counts one fully busy core as 100%, as top does; GPU comes from the engine times the DRM driver reports.", - "desktop.memory.helpMacOS": "“In memory” and “Swapped out” add up to what the Memory column of Activity Monitor shows; “Swapped out” is its compressed part. CPU counts one fully busy core as 100%, as Activity Monitor does.", - "desktop.memory.helpWindows": "“In memory” is the private working set, which the Memory column of Task Manager shows. Windows does not report how much of a process it compressed, so “Swapped out” is the private commit outside the working set: memory compressed, written to the page file or not yet touched, an upper bound. “GPU memory” is what the Dedicated GPU memory column of Task Manager shows. CPU counts all logical processors fully busy as 100%, as Task Manager does.", - "desktop.memory.host": "Lithe main process", - "desktop.memory.languageServer": "{plugin} · {language}", - "desktop.memory.languageServers": "Language servers", - "desktop.memory.megabytes": "{value} MB", - "desktop.memory.noOtherProcesses": "Lithe has not started any other process.", - "desktop.memory.omitted": "{count} more, {value} in total", - "desktop.memory.percent": "{value}%", - "desktop.memory.processCount": "{count} processes", - "desktop.memory.processes": "Processes", - "desktop.memory.reading": "Reading processes…", - "desktop.memory.services": "Plugin services", - "desktop.memory.statCPU": "CPU {value}", - "desktop.memory.statCompressed": "Swapped out {value}", - "desktop.memory.statGPU": "GPU {value}", - "desktop.memory.statGPUMemory": "GPU memory {value}", - "desktop.memory.statSeparator": " · ", - "desktop.memory.status": "{total} · Lithe {lithe}", - "desktop.memory.systemHelpers": "System helpers", - "desktop.memory.title": "Memory", - "desktop.memory.tooltip": "Memory: {total} in total, {lithe} of it in the Lithe main process.", - "desktop.memory.unavailable": "Process memory could not be read.", - "desktop.menu.open": "Menu", - "desktop.nativePanel.empty": "Nothing to show.", - "desktop.nativePanel.failed": "The plugin could not run this action.", - "desktop.nativePanel.multipleInstances": "This workspace has several build system instances; the panel cannot choose one.", - "desktop.nativePanel.noInstance": "This workspace has no build system instance for this panel.", - "desktop.nativePanel.sourceFailed": "The plugin could not load this panel.", - "desktop.navigation.historyUnavailable": "That location no longer exists.", - "desktop.navigation.label": "[Line] [:column]:", - "desktop.navigation.title": "Go to Line:Column", - "desktop.nested.collapse": "Collapse Repository", - "desktop.nested.expand": "Expand Repository", - "desktop.nested.refUnchanged": "The parent repository's reference to this submodule is unchanged. Commit here, then update the parent to record it.", - "desktop.nested.rootToggle": "Show {name} in the Log", - "desktop.nested.roots": "Roots", - "desktop.nested.rootsAll": "Select All", - "desktop.newProject.advanced": "Advanced Settings", - "desktop.newProject.archiveInvalid": "The downloaded archive is not a valid project.", - "desktop.newProject.cancel": "Cancel", - "desktop.newProject.choose": "Choose…", - "desktop.newProject.chooseFailed": "Could not open the folder chooser. Enter the location instead.", - "desktop.newProject.commandFailed": "The generator's command failed. See the output below.", - "desktop.newProject.commandMissing": "A tool this generator runs is not installed: {command}.", - "desktop.newProject.create": "Create", - "desktop.newProject.createdInterrupted": "The project folder was created, but the operation was interrupted. You can open the folder.", - "desktop.newProject.creating": "Creating…", - "desktop.newProject.defaultName": "untitled", - "desktop.newProject.description": "A basic project with a free structure.", - "desktop.newProject.downloadFailed": "Could not download the project template. Check the network and the server address.", - "desktop.newProject.empty": "Empty Project", - "desktop.newProject.exists": "A file or folder with this name already exists. Choose another name or location.", - "desktop.newProject.failed": "Could not create the project. Check the location and try again.", - "desktop.newProject.findPlugin": "Find in Marketplace", - "desktop.newProject.generators": "Generators", - "desktop.newProject.git": "Create Git repository", - "desktop.newProject.gitFailed": "The project folder was created, but Git initialization failed. You can open the folder and initialize Git later.", - "desktop.newProject.invalidLocation": "Choose an absolute project location.", - "desktop.newProject.invalidName": "Enter a valid project name without path separators, a leading dash, or surrounding spaces.", - "desktop.newProject.location": "Location", - "desktop.newProject.name": "Name", - "desktop.newProject.noInstallation": "No installation was found.", - "desktop.newProject.none": "None", - "desktop.newProject.openCreated": "Open Created Project", - "desktop.newProject.output": "Output", - "desktop.newProject.pathPreview": "Project will be created in: {path}", - "desktop.newProject.pinFailed": "The project was created, but the tool you selected could not be saved. You can choose it again in the toolchain settings.", - "desktop.newProject.problem.invalidFormat": "The value has an invalid format.", - "desktop.newProject.problem.required": "This field is required.", - "desktop.newProject.problem.tooLong": "The value is too long.", - "desktop.newProject.problem.toolTooOld": "The selected version is too old.", - "desktop.newProject.problem.unsupportedValue": "This value is not supported.", - "desktop.newProject.problem.versionTooHigh": "The value names a newer version than the selected tool supports.", - "desktop.newProject.requiresPlugin": "This generator needs {name}.", - "desktop.newProject.section": "New Project", - "desktop.newProject.stepProgress": "Step {step} of {total}", - "desktop.newProject.timedOut": "The generator took too long and was stopped.", - "desktop.newProject.title": "New Project", - "desktop.newProject.tooOld": "too old", - "desktop.newProject.toolsFailed": "Could not look up the installed tools. Check the plugins and try again.", - "desktop.newProject.usesNetwork": "This generator downloads files from the network.", - "desktop.notifications.clear": "Clear", - "desktop.notifications.empty": "No notifications", - "desktop.notifications.meta": "{time} · {count} times", - "desktop.notifications.repeated": "{message} ({count})", - "desktop.notifications.title": "Notifications", - "desktop.notifications.unread": "Notifications, {count} unread", - "desktop.notifications.viewLogs": "View Logs", - "desktop.outline.empty": "No symbols in this file.", - "desktop.outline.failed": "Could not get the structure of this file.", - "desktop.outline.filter": "Filter symbols", - "desktop.outline.follow": "Select the symbol at the caret", - "desktop.outline.loading": "Loading structure...", - "desktop.outline.matches": "Matches: {matches}/{total}", - "desktop.outline.noFile": "Open a file to see its structure.", - "desktop.outline.noHeadings": "This file has no headings.", - "desktop.outline.noServerHint": "Install a plugin that supports this language to see the file's classes, functions and fields here.", - "desktop.outline.serverDown": "The language server is not running, so the structure cannot be shown.", - "desktop.outline.serverDownHint": "See the language server's status and log in the status bar.", - "desktop.outline.sort": "Sort by name", - "desktop.outline.starting": "Language server is starting…", - "desktop.outline.tooLarge": "This file is too large to show its structure.", - "desktop.outline.unavailable": "No language server provides the structure of this file.", - "desktop.outline.unsupported": "The language server of this file does not provide its structure.", - "desktop.panel.header": "Tool window header", - "desktop.panel.hide": "Hide", - "desktop.panel.placeholder": "This tool window is connected in a later version", - "desktop.pluginHost.contentFailed": "Could not open {uri}: the plugin did not provide its content.", - "desktop.pluginHost.messageDismiss": "Dismiss", - "desktop.pluginHost.messageFrom": "Message from {plugin}", - "desktop.pluginHost.messageOK": "OK", - "desktop.pluginHost.terminalAllow": "Run", - "desktop.pluginHost.terminalConsentDetails": "Program: {program}\nArguments: {arguments}\nDirectory: {directory}", - "desktop.pluginHost.terminalConsentTitle": "{plugin} wants to run a program in a terminal", - "desktop.pluginHost.terminalDeny": "Cancel", - "desktop.pluginSettings.actionCancel": "Cancel", - "desktop.pluginSettings.actionCanceled": "Action canceled.", - "desktop.pluginSettings.actionCompleted": "Action completed. Settings drafts have not been saved.", - "desktop.pluginSettings.actionConfirm": "Run “{action}” in this project? Unsaved settings remain drafts.", - "desktop.pluginSettings.actionContinue": "Run action", - "desktop.pluginSettings.actionDisabled": "Enable this plugin before running its actions.", - "desktop.pluginSettings.actionProviderUnavailable": "The plugin has no running provider for this action in this project. Start its language or build provider, then try again.", - "desktop.pluginSettings.browse": "Browse…", - "desktop.pluginSettings.conflict": "The source, plugin or project changed. Reload before saving; your draft is kept.", - "desktop.pluginSettings.contributor": "Plugin", - "desktop.pluginSettings.discardReload": "Discard draft and reload", - "desktop.pluginSettings.draftLimit": "Save or discard an existing plugin draft before opening another settings form.", - "desktop.pluginSettings.empty": "This plugin declares no settings.", - "desktop.pluginSettings.failed": "Could not read or save settings. Your draft is kept. Reload the source and try again.", - "desktop.pluginSettings.global": "Global", - "desktop.pluginSettings.globalOnly": "This setting can be changed in Global scope.", - "desktop.pluginSettings.invalidDocument": "The settings source is invalid. Correct its JSON before reloading; your draft is kept.", - "desktop.pluginSettings.invalidEdit": "Some draft values do not match the plugin declarations. Correct them and save again.", - "desktop.pluginSettings.invalidStored": "The stored value is invalid; the effective fallback is shown.", - "desktop.pluginSettings.openProject": "Open a project to edit project settings.", - "desktop.pluginSettings.pageUnavailable": "No enabled plugin currently contributes to this page.", - "desktop.pluginSettings.project": "Project", - "desktop.pluginSettings.range": "Range: {minimum}–{maximum} {unit}", - "desktop.pluginSettings.reload": "Reload", - "desktop.pluginSettings.reset": "Reset", - "desktop.pluginSettings.restart": "Restart language server", - "desktop.pluginSettings.restartFailed": "Could not finish restarting the language server. Close and reopen the project before trying again.", - "desktop.pluginSettings.restartRequired": "Saved changes need a language server restart to take effect.", - "desktop.pluginSettings.save": "Save", - "desktop.pluginSettings.saved": "Saved and read back from the source.", - "desktop.pluginSettings.scope": "Settings scope", - "desktop.pluginSettings.scopeHelp": "Global settings apply to every project. Project settings apply to this project only, and each value stored there overrides the global one. Save or reload your draft before switching scope.", - "desktop.pluginSettings.sourceChanged": "Settings changed in another window. Your draft is kept; reload before saving.", - "desktop.pluginSettings.title": "Plugin settings", - "desktop.pluginWeb.dialogTitle": "{plugin}: {title}", - "desktop.pluginWeb.fileFilter": "Files ({extensions})", - "desktop.pluginWeb.loading": "Opening…", - "desktop.pluginWeb.openFileTitle": "Choose a File for {plugin}", - "desktop.pluginWeb.saveFileTitle": "Save a File for {plugin}", - "desktop.pluginWeb.unavailable": "This window cannot be shown: {reason}", - "desktop.plugins.commandInstallCommand": "Command to run", - "desktop.plugins.commandInstallCommandsMissing": "The installation finished, but {commands} was not found in {directory}.", - "desktop.plugins.commandInstallError": "Could not install: {reason}", - "desktop.plugins.commandInstallFailed": "The installation failed with exit code {code}. See the output below.", - "desktop.plugins.commandInstallLocation": "Install location", - "desktop.plugins.commandInstallManaged": "A directory Lithe manages", - "desktop.plugins.commandInstallManagedHelp": "Used by Lithe only and removed with the plugin.", - "desktop.plugins.commandInstallNetwork": "The installation may download from the network.", - "desktop.plugins.commandInstallNoDirectory": "Could not find where {tool} installs by default.", - "desktop.plugins.commandInstallOutput": "Output", - "desktop.plugins.commandInstallPrompt": "{commands} will be installed with {tool}.", - "desktop.plugins.commandInstallStopped": "The installation ended unexpectedly. See the output below.", - "desktop.plugins.commandInstallTimedOut": "The installation did not finish within {seconds} seconds and was stopped.", - "desktop.plugins.commandInstallTitle": "Install {commands}", - "desktop.plugins.commandInstallToolDefault": "{tool}'s default location", - "desktop.plugins.commandInstallToolDefaultHelp": "Also available to the terminal and other programs, and kept when the plugin is removed.", - "desktop.plugins.commandInstallToolMissing": "{tool} not found. Install it first, or set where it is in Settings > Build, Execution, Deployment > Toolchains.", - "desktop.plugins.commandInstalled": "Installed in {directory}.", - "desktop.plugins.commandMissing": "{commands} not found", - "desktop.plugins.commandMissingBanner": "{commands} not found; some of the plugin's features will not work.", - "desktop.plugins.commandMissingHelp": "{commands} not found. Install it in Settings > Plugins, or add it to PATH.", - "desktop.plugins.commandMissingManual": "This plugin offers no way to install it. Install it yourself and make sure it is on PATH.", - "desktop.plugins.installedOnThisComputer": "Uses a program on this computer: {arg1}", - "desktop.problems.group.file": "By file", - "desktop.problems.group.none": "No grouping", - "desktop.problems.group.severity": "By severity", - "desktop.problems.groupHeading": "Group By", - "desktop.problems.noOpenFile": "No file is open.", - "desktop.problems.previewEmpty": "Select a problem to preview its source.", - "desktop.problems.scope.file": "File", - "desktop.problems.scope.fileCount": "File {count}", - "desktop.problems.scope.project": "Project", - "desktop.problems.scope.projectCount": "Project {count}", - "desktop.problems.severity.error": "Errors", - "desktop.problems.severity.hint": "Hints", - "desktop.problems.severity.information": "Information", - "desktop.problems.severity.unknown": "Unknown severity", - "desktop.problems.severity.warning": "Warnings", - "desktop.problems.showErrors": "Errors", - "desktop.problems.showHeading": "Show", - "desktop.problems.showInfo": "Information", - "desktop.problems.showPreview": "Show Editor Preview", - "desktop.problems.showWarnings": "Warnings", - "desktop.problems.viewOptions": "View Options", - "desktop.process.forceStop": "Force Stop", - "desktop.project.empty": "Empty folder", - "desktop.project.expandAllIncomplete": "Some folders were not expanded: the project has too many.", - "desktop.project.loading": "Loading…", - "desktop.project.readFailed": "Could not read: {reason}", - "desktop.project.rootUnavailable": "The project directory is unavailable.", - "desktop.project.watchUnavailable": "Project files may not update automatically.", - "desktop.projectOpen.cancel": "Cancel", - "desktop.projectOpen.newWindowFailed": "Could not open the project in a new window: {reason}", - "desktop.pull.button": "Pull", - "desktop.pull.fastForward": "Fast-forward only", - "desktop.pull.loading": "Reading repositories…", - "desktop.pull.menu": "Pull…", - "desktop.pull.merge": "Merge", - "desktop.pull.noBranch": "The selected remote has no branches.", - "desktop.pull.noRemote": "This repository has no remote.", - "desktop.pull.prompt": "Pull the chosen remote branch into the branch checked out in the repository.", - "desktop.pull.readFailed": "Could not read the repository: {reason}", - "desktop.pull.rebase": "Rebase", - "desktop.pull.remote": "Remote", - "desktop.pull.remoteBranch": "Remote branch", - "desktop.pull.repository": "Repository", - "desktop.pull.strategy": "Strategy", - "desktop.pull.title": "Pull", - "desktop.rebase.abort": "Abort", - "desktop.rebase.action.drop": "Drop", - "desktop.rebase.action.edit": "Edit", - "desktop.rebase.action.fixup": "Fixup", - "desktop.rebase.action.pick": "Pick", - "desktop.rebase.action.reword": "Reword", - "desktop.rebase.action.squash": "Squash", - "desktop.rebase.amend": "Edit Message and Continue", - "desktop.rebase.amendTitle": "Amend Commit Message", - "desktop.rebase.conflicts": "{count} conflicted files", - "desktop.rebase.continue": "Continue", - "desktop.rebase.controlFailed": "Could not continue the rebase: {reason}", - "desktop.rebase.description": "Replay the commits after {hash}.", - "desktop.rebase.empty": "No commits to rebase after this commit.", - "desktop.rebase.fromHere": "Rebase from Here…", - "desktop.rebase.loading": "Reading the commits to rebase…", - "desktop.rebase.messageApply": "Apply", - "desktop.rebase.messageTitle": "Commit Message", - "desktop.rebase.moveDown": "Down", - "desktop.rebase.moveUp": "Up", - "desktop.rebase.skip": "Skip", - "desktop.rebase.slotBusy": "Finish the rebase in progress before starting another one.", - "desktop.rebase.start": "Start Rebase", - "desktop.rebase.status": "Rebase: {status}", - "desktop.rebase.title": "Rebase from Here", - "desktop.recentFiles.edited": "Recent edits", - "desktop.recentFiles.empty": "No matching recent files.", - "desktop.recentFiles.failed": "Could not read recent files.", - "desktop.recentFiles.query": "Search recent files", - "desktop.recentFiles.title": "Recent files", - "desktop.references.closeSearch": "Close Search Results", - "desktop.references.empty": "Run Find Usages (Shift+F12) to list references here.", - "desktop.references.nextUsage": "Next Usage", - "desktop.references.previewEmpty": "Select a usage to preview it.", - "desktop.references.previousUsage": "Previous Usage", - "desktop.references.resultCount": "{count} results", - "desktop.references.resultCountOne": "1 result", - "desktop.references.showPreview": "Show Preview", - "desktop.references.usageCount": "{count} usages", - "desktop.references.usageCountOne": "1 usage", - "desktop.references.usages": "Usages", - "desktop.refs.checkedOutAndRebased": "Checked out {branch} and rebased it onto the previous branch", - "desktop.refs.mergeConfirm": "Merge {branch} into the current branch. If Git stops at conflicts, the Commit tool window shows the merge until you continue or abort it.", - "desktop.refs.merged": "Merged {branch} into the current branch", - "desktop.refs.rebaseConfirm": "Replay the current branch onto {branch}. If Git stops at conflicts, the Commit tool window shows the rebase until you continue or abort it.", - "desktop.refs.rebased": "Rebased the current branch onto {branch}", - "desktop.refs.trackingSet": "{branch} now tracks {upstream}", - "desktop.refs.trackingStopped": "{branch} no longer tracks a remote branch", - "desktop.run.closeSession": "Close", - "desktop.run.durationHours": "{hours} h {minutes} min", - "desktop.run.durationMilliseconds": "{milliseconds} ms", - "desktop.run.durationMinutes": "{minutes} min {seconds} s", - "desktop.run.durationSeconds": "{seconds} s {milliseconds} ms", - "desktop.run.empty": "Output of run configurations and build tasks appears here.", - "desktop.run.ended": "Process finished.", - "desktop.run.exited": "Process finished with exit code {code}.", - "desktop.run.linkMissing": "The linked file was not found in the workspace.", - "desktop.run.linkUnresolved": "The plugin could not resolve this link.", - "desktop.run.performance.cpu": "CPU {percent}%", - "desktop.run.performance.memory": "Memory {megabytes} MB", - "desktop.run.rerun": "Run again", - "desktop.run.signalled": "Process stopped by signal {signal}.", - "desktop.run.snapshot.menu": "Snapshot output", - "desktop.run.snapshot.tab": "{label} (snapshot)", - "desktop.run.startedAt": ": at {time}", - "desktop.run.statusFailed": "Failed", - "desktop.run.statusRunning": "Running", - "desktop.run.statusStopped": "Stopped", - "desktop.run.statusSucceeded": "Succeeded", - "desktop.runConfig.addNew": "Add New…", - "desktop.runConfig.addNewConfiguration": "Add New Run Configuration…", - "desktop.runConfig.allowMultipleInstancesHelp": "Checked, starting the configuration while it runs starts another instance beside the running one; unchecked, the running instance is stopped and started again.", - "desktop.runConfig.apply": "Apply", - "desktop.runConfig.arguments": "Program arguments", - "desktop.runConfig.argumentsPlaceholder": "Arguments for the program, e.g. --port 8080; separate with spaces and quote one that contains spaces", - "desktop.runConfig.arrangeFailed": "Could not save the folders and order: {reason}", - "desktop.runConfig.automaticValue": "Automatic ({value})", - "desktop.runConfig.beforeLaunch.confirmBody": "Before {name} starts, the project's run configuration file asks to run these commands. Run them only if you trust this project.", - "desktop.runConfig.beforeLaunch.confirmRun": "Run Steps", - "desktop.runConfig.beforeLaunch.confirmTitle": "Run steps from the project file?", - "desktop.runConfig.beforeLaunch.exited": "Before-launch step {name} exited with code {code}; the configuration was not started.", - "desktop.runConfig.beforeLaunch.failed": "Before-launch step {name} could not run: {reason}", - "desktop.runConfig.beforeLaunch.refused.cycle": "Before-launch steps form a loop at {step}.", - "desktop.runConfig.beforeLaunch.refused.notAllowed": "{step} cannot be a before-launch step: only shell, PowerShell, batch and executable runs can.", - "desktop.runConfig.beforeLaunch.refused.notFound": "A before-launch step names configuration {step}, which does not exist.", - "desktop.runConfig.beforeLaunch.refused.other": "Before-launch step {step} cannot run.", - "desktop.runConfig.beforeLaunch.refused.tooLong": "Too many before-launch steps at {step}: at most 32 run once nested steps are expanded.", - "desktop.runConfig.beforeLaunch.refused.unavailable": "Before-launch step {step} is not available on this system.", - "desktop.runConfig.beforeLaunch.stepHeader": "Before launch ({index}/{count}): {name}", - "desktop.runConfig.beforeLaunchAdd": "Add step", - "desktop.runConfig.beforeLaunchDown": "Move down", - "desktop.runConfig.beforeLaunchEmpty": "No steps", - "desktop.runConfig.beforeLaunchHelp": "Process runs that start, in order, before this configuration. It starts only after each of them exits with code 0.", - "desktop.runConfig.beforeLaunchMissing": "Missing configuration {id}", - "desktop.runConfig.beforeLaunchNoCandidates": "Create a shell, PowerShell, batch or executable run first to use it as a step.", - "desktop.runConfig.beforeLaunchRemove": "Remove step", - "desktop.runConfig.beforeLaunchUp": "Move up", - "desktop.runConfig.browse": "Browse…", - "desktop.runConfig.builtInGroup": "Scripts and Programs", - "desktop.runConfig.chooseFailed": "Could not open the file chooser.", - "desktop.runConfig.conflict": "The file changed on disk while saving. Close the editor, reopen it and try again.", - "desktop.runConfig.copyConfiguration": "Copy Configuration", - "desktop.runConfig.copyFailed": "Could not copy the run configuration: {reason}", - "desktop.runConfig.copyName": "{name} (Copy)", - "desktop.runConfig.copyPendingHint": "The copy is made when you press Apply or OK; its options can be edited after that.", - "desktop.runConfig.delete": "Delete", - "desktop.runConfig.deleteBody": "Delete “{name}”? It is removed from the run configuration file it is saved in.", - "desktop.runConfig.deleteFailed": "Could not delete the run configuration: {reason}", - "desktop.runConfig.deleteTitle": "Delete Run Configuration", - "desktop.runConfig.dialogTitle": "Run/Debug Configurations", - "desktop.runConfig.documentIgnored": "Not read: {file}", - "desktop.runConfig.emptyHint": "No run configurations yet. Click + to add a script or program run.", - "desktop.runConfig.emptyTree": "No run configurations added.", - "desktop.runConfig.entrypoint": "Entrypoint", - "desktop.runConfig.entrypointPlaceholder": "Provider default", - "desktop.runConfig.environment": "Environment variables", - "desktop.runConfig.environmentInvalid": "Line {line} is not KEY=VALUE.", - "desktop.runConfig.environmentPlaceholder": "One KEY=VALUE per line", - "desktop.runConfig.errorConflict": "Choose either a script file or script text", - "desktop.runConfig.errorDuplicate": "Duplicate variable name", - "desktop.runConfig.errorInvalidCharacter": "Contains a character that is not allowed", - "desktop.runConfig.errorInvalidName": "Invalid variable name", - "desktop.runConfig.errorInvalidPath": "Invalid path", - "desktop.runConfig.errorNotAllowed": "Not allowed for this kind of configuration", - "desktop.runConfig.errorNotFound": "File or folder not found", - "desktop.runConfig.errorOther": "Invalid value ({code})", - "desktop.runConfig.errorOutsideProject": "The working directory must be inside the project", - "desktop.runConfig.errorRequired": "Required", - "desktop.runConfig.errorTooLong": "Too long", - "desktop.runConfig.errorUnavailable": "Not available on this system", - "desktop.runConfig.fieldAllowMultipleInstances": "Allow multiple instances", - "desktop.runConfig.fieldBeforeLaunch": "Before launch", - "desktop.runConfig.fieldExecutionPolicyBypass": "Bypass execution policy (-ExecutionPolicy Bypass)", - "desktop.runConfig.fieldInterpreter": "Interpreter path", - "desktop.runConfig.fieldInterpreterArguments": "Interpreter options", - "desktop.runConfig.fieldName": "Name", - "desktop.runConfig.fieldProgram": "Program path", - "desktop.runConfig.fieldScript": "Script path", - "desktop.runConfig.fieldScriptOptions": "Script options", - "desktop.runConfig.fieldSource": "Execute", - "desktop.runConfig.fieldStoreAsProjectFile": "Store as project file", - "desktop.runConfig.fieldText": "Script text", - "desktop.runConfig.folderHint": "Folders only organize the list and are saved with the configurations in them; an empty folder is not saved.", - "desktop.runConfig.folderNameEmpty": "Enter a folder name.", - "desktop.runConfig.folderNameInvalid": "A folder name can be at most 256 bytes and cannot contain control characters.", - "desktop.runConfig.folderNameTaken": "This kind already has a folder with this name.", - "desktop.runConfig.formTooNew": "Editing this run configuration needs a newer version of Lithe.", - "desktop.runConfig.interpreterArgumentsHelp": "Options placed before the script path and handled by the interpreter itself, such as bash's -x, which prints each command as it runs. The script does not see them. Left empty, the automatic options shown in brackets are used.", - "desktop.runConfig.interpreterArgumentsPlaceholder": "Options for the interpreter, e.g. -x", - "desktop.runConfig.interpreterAutomatic": "Automatic", - "desktop.runConfig.interpreterCustom": "Custom…", - "desktop.runConfig.interpreterCustomField": "Custom interpreter", - "desktop.runConfig.interpreterHelp": "Automatic uses the interpreter shown in brackets. You can also pick a shell of this kind that the terminal found, or choose Custom… to enter a command name, found on PATH, or the path of an executable.", - "desktop.runConfig.interpreterShell": "{name} ({path})", - "desktop.runConfig.loadFailed": "Run configurations are unavailable: {reason}", - "desktop.runConfig.newConfiguration": "New Configuration", - "desktop.runConfig.newConfigurationEllipsis": "New Run Configuration…", - "desktop.runConfig.newFolder": "New Folder", - "desktop.runConfig.newFolderName": "New Folder", - "desktop.runConfig.notEditable": "This run configuration can be edited once its plugin is available.", - "desktop.runConfig.noteWindowsOnly": "Takes effect on Windows only; other systems ignore it.", - "desktop.runConfig.ok": "OK", - "desktop.runConfig.optionDefault": "Default", - "desktop.runConfig.optionReadOnly": "Not editable here", - "desktop.runConfig.orSelectToEdit": "or select a run configuration to edit", - "desktop.runConfig.programArgumentsHelp": "Command-line arguments placed after the program path when it starts. Separate them with spaces; quote an argument that contains spaces.", - "desktop.runConfig.programArgumentsPlaceholder": "Arguments for the program, e.g. --port 8080", - "desktop.runConfig.programNotFound": "“{program}” was not found on PATH. Enter the full path of the interpreter or program.", - "desktop.runConfig.removeConfiguration": "Remove Configuration", - "desktop.runConfig.run": "Run", - "desktop.runConfig.runtimeArguments": "Runtime arguments", - "desktop.runConfig.runtimeArgumentsPlaceholder": "One argument per line", - "desktop.runConfig.saveFailed": "Could not save: {reason}", - "desktop.runConfig.scope": "Save to", - "desktop.runConfig.scopeLocal": "This machine (.lithe/run/local.yaml)", - "desktop.runConfig.scopeProject": "Project, shared (.lithe/run/configurations.yaml)", - "desktop.runConfig.scriptOptionsHelpBatch": "Arguments placed after the script path and passed to the script, which reads them as %1, %2… Separate them with spaces; quote an argument that contains spaces.", - "desktop.runConfig.scriptOptionsHelpPowerShell": "Arguments placed after the script path and passed to the script, which reads them through $args or param(). Separate them with spaces; quote an argument that contains spaces.", - "desktop.runConfig.scriptOptionsHelpShell": "Arguments placed after the script path and passed to the script, which reads them as $1, $2… Separate them with spaces; quote an argument that contains spaces.", - "desktop.runConfig.scriptOptionsPlaceholder": "Arguments for the script, e.g. --verbose input.txt", - "desktop.runConfig.sortAlphabetically": "Sort Alphabetically", - "desktop.runConfig.sourceFile": "Script file", - "desktop.runConfig.sourceText": "Script text", - "desktop.runConfig.storeAsProjectFileHelp": "Checked, the configuration is saved in .lithe/run/configurations.yaml and can be committed with the project; unchecked, it stays on this machine in .lithe/run/local.yaml.", - "desktop.runConfig.toolPath": "{arg1} {arg2}", - "desktop.runConfig.toolPathPlaceholder": "Empty uses automatic selection", - "desktop.runConfig.toolPick": "Tool installation", - "desktop.runConfig.toolPickNone": "Choose an installation…", - "desktop.runConfig.typeBatch": "Batch Script (cmd)", - "desktop.runConfig.typeExecutable": "Program", - "desktop.runConfig.typeNotRunnableHere": "Cannot run on this computer", - "desktop.runConfig.typePowerShell": "PowerShell Script", - "desktop.runConfig.typeShell": "Shell Script", - "desktop.runConfig.unavailableBatchPlatform": "Batch scripts run only on Windows. You can edit and save this configuration here, but not run it.", - "desktop.runConfig.unavailableInvalid": "The run configuration is invalid: {reason}", - "desktop.runConfig.unavailableMissingDirectory": "The working directory “{directory}” no longer exists. Edit the configuration to change it.", - "desktop.runConfig.unavailableOther": "This run configuration cannot run now: {reason}", - "desktop.runConfig.unavailablePlatform": "{type} cannot run on this system. You can edit and save this configuration, but not run it.", - "desktop.runConfig.unavailablePluginMissing": "Needs the plugin “{plugin}”, which is not installed or not enabled.", - "desktop.runConfig.unavailableRepositoryMismatch": "The installed “{plugin}” is not the plugin from {repository} the configuration records.", - "desktop.runConfig.unavailableVersionUnsupported": "The installed “{plugin}” does not meet the version requirement {requirement}.", - "desktop.runConfig.unnamed": "Unnamed", - "desktop.runConfig.variableAdd": "Add variable", - "desktop.runConfig.variableName": "Name", - "desktop.runConfig.variableRemove": "Remove variable", - "desktop.runConfig.variableValue": "Value", - "desktop.runConfig.windowsOnlyType": "Windows only", - "desktop.runConfig.workingDirectory": "Working directory", - "desktop.runConfig.workingDirectoryPlaceholder": "Path inside the workspace; empty uses the default", - "desktop.search.collapseFile": "Hide details", - "desktop.search.expandFile": "Show details", - "desktop.search.fileMaskPlaceholder": "File mask, e.g. *.java, *.kt", - "desktop.search.first200": "Showing the first 200 results. Narrow your search to see more.", - "desktop.search.noReplacements": "Nothing to replace.", - "desktop.search.replace": "Replace", - "desktop.search.replaceAll": "Replace All…", - "desktop.search.replaceConflict": "a file changed on disk while replacing", - "desktop.search.replaceDone": "Replaced in {files} files", - "desktop.search.replaceFailed": "Could not prepare the replacement: {reason}", - "desktop.search.replaceFile": "Replacement file", - "desktop.search.replacePartlyFailed": "Replaced in {changed} files; {failed} failed: {reason}", - "desktop.search.replacePlaceholder": "Replace with", - "desktop.search.replacePreviewTitle": "Replace in Files", - "desktop.search.replacePreviewing": "Finding replacements…", - "desktop.search.replaceSkipped": "Replaced in {changed} files; {skipped} files were left unchanged because they changed or are not UTF-8", - "desktop.search.replaceSummary": "{occurrences} occurrences in {files} files", - "desktop.search.replaceToggle": "Toggle Replace", - "desktop.search.watchUnavailable": "Could not monitor project changes. Refresh search results to check for changes.", - "desktop.semantics.completion": "Completion suggestions", - "desktop.semantics.completionFailed": "The completion could not be applied.", - "desktop.semantics.definitions": "Definitions", - "desktop.semantics.formatFailed": "The document could not be formatted.", - "desktop.semantics.formatNothing": "Nothing to format.", - "desktop.semantics.hover": "Hover information", - "desktop.semantics.noDefinition": "No definition found.", - "desktop.semantics.noReferences": "No references found.", - "desktop.semantics.noServer": "No language server is available for this file.", - "desktop.semantics.operationFailed": "The language server could not complete the request.", - "desktop.semantics.references": "References", - "desktop.semantics.renameApplied": "Renamed in {count} files.", - "desktop.semantics.renameButton": "Rename", - "desktop.semantics.renameCancel": "Cancel", - "desktop.semantics.renameDescription": "Rename every reference to this symbol.", - "desktop.semantics.renameFailed": "The rename could not be applied; files already written were restored.", - "desktop.semantics.renameName": "New name", - "desktop.semantics.renameNothing": "The language server returned no changes.", - "desktop.semantics.renamePartial": "Some open documents changed during the rename and were not updated.", - "desktop.semantics.renameRejected": "The rename touches files outside the project or read-only documents, so nothing was changed.", - "desktop.semantics.renameTitle": "Rename Symbol", - "desktop.semantics.targetUnavailable": "The target is not a local file and cannot be opened yet.", - "desktop.settings.about": "About", - "desktop.settings.about.build": "Build", - "desktop.settings.about.buildUnknown": "Not recorded", - "desktop.settings.about.community": "Community", - "desktop.settings.about.copied": "Copied", - "desktop.settings.about.copy": "Copy", - "desktop.settings.about.copyFailed": "Couldn't copy: {reason}", - "desktop.settings.about.copyHelp": "Copies the version, platform, build and runtime, ready to paste into an issue.", - "desktop.settings.about.core": "Rust Core", - "desktop.settings.about.coreHelp": "The Rust core the desktop clients share: projects, builds and plugins.", - "desktop.settings.about.info": "Version Info", - "desktop.settings.about.issues": "Report an Issue", - "desktop.settings.about.issuesHelp": "Report a bug or suggest a feature on GitHub.", - "desktop.settings.about.platform": "Platform", - "desktop.settings.about.project": "Project", - "desktop.settings.about.qq": "QQ Group", - "desktop.settings.about.qqHelp": "Group {number}: questions, feedback and chat.", - "desktop.settings.about.repo": "Source Code", - "desktop.settings.about.repoHelp": "Source, releases and discussions on GitHub.", - "desktop.settings.about.runtime": "Runtime", - "desktop.settings.about.tagline": "A lightweight, general-purpose, cross-platform IDE, flexibly configured with plugins", - "desktop.settings.about.version": "Version", - "desktop.settings.about.viva": "Viva", - "desktop.settings.about.vivaHelp": "Upstream of the Go-first, GPU-native desktop framework Lithe is drawn with.", - "desktop.settings.about.wechat": "WeChat Group", - "desktop.settings.about.wechatHelp": "Scan the QR code on the Feishu page to join.", - "desktop.settings.aiGeneration.help": "The provider and options for commit message generation and inline edits. These are Lithe's own preferences: they affect only this app and do not change the Codex or Claude configuration.", - "desktop.settings.aiGeneration.includeBody": "Generate a commit body", - "desktop.settings.aiGeneration.language": "Output language", - "desktop.settings.aiGeneration.languageChinese": "Simplified Chinese", - "desktop.settings.aiGeneration.languageEnglish": "English", - "desktop.settings.aiGeneration.languageInterface": "Follow the interface language", - "desktop.settings.aiGeneration.loading": "Loading…", - "desktop.settings.aiGeneration.page": "Generation", - "desktop.settings.aiGeneration.provider": "Provider", - "desktop.settings.aiGeneration.providerAuto": "Automatic (Codex, then Claude)", - "desktop.settings.aiGeneration.providerClaude": "Claude Code only", - "desktop.settings.aiGeneration.providerCodex": "Codex only", - "desktop.settings.aiGeneration.sourceReady": "{source}: {name}, model {model}, configuration {path}", - "desktop.settings.aiGeneration.sourceUnavailable": "{source}: no usable provider with a key", - "desktop.settings.aiGeneration.title": "Generation options", - "desktop.settings.appearanceHelp": "The appearance mode applies to every Lithe window at once", - "desktop.settings.categories": "Settings pages", - "desktop.settings.editor.tabLimit": "Tab limit", - "desktop.settings.editor.tabLimitCount": "Maximum open file tabs", - "desktop.settings.editor.tabLimitHelp": "Opening a file past the limit closes another file tab. Tabs with unsaved changes, terminals and Agent conversations are never closed.", - "desktop.settings.editor.tabLimitNone": "No limit", - "desktop.settings.editor.tabPolicy": "When the limit is reached, close", - "desktop.settings.editor.tabPolicyOldest": "The tab opened first", - "desktop.settings.editor.tabPolicyRecent": "The least recently used tab", - "desktop.settings.editorSemantic": "Semantic Highlighting", - "desktop.settings.editorSemanticHelp": "The language server colors classes, methods and variables. Turn this off to keep only the editor's syntax colors.", - "desktop.settings.editorTabs": "Editor Tabs", - "desktop.settings.editorTabsHelp": "How the tabs of an editor group are laid out when they do not all fit in one row", - "desktop.settings.followSystemEffective": "Follow System ({effective})", - "desktop.settings.fonts": "Fonts", - "desktop.settings.fontsEditHelp": "Check the places to change in the list above, one or more. Changes here take effect when you click Save, and the checked places then share them; Revert drops unsaved changes. Run output includes the output of runs, builds and tests and the Git console.", - "desktop.settings.fontsLigaturesHelp": "Draws character groups such as -> and != as one glyph. The font must support ligatures; run output does not show them yet.", - "desktop.settings.fontsLineSpacing": "Line Spacing", - "desktop.settings.fontsLineSpacingAuto": "Automatic ({value})", - "desktop.settings.fontsLineSpacingDecrease": "Decrease Line Spacing", - "desktop.settings.fontsLineSpacingIncrease": "Increase Line Spacing", - "desktop.settings.fontsLineSpacingScope": "{scope} {value}", - "desktop.settings.fontsLoading": "Reading installed fonts…", - "desktop.settings.fontsNoneChecked": "No Place Checked", - "desktop.settings.fontsNotInstalled": "{family} (not installed)", - "desktop.settings.fontsOverview": "Each Place", - "desktop.settings.fontsOverviewHelp": "The fonts the editor, the terminal and the run output are drawn with now. Check the places to change, then adjust them below and save.", - "desktop.settings.fontsPreview": "Preview", - "desktop.settings.fontsScopeEditor": "Editor", - "desktop.settings.fontsScopeOutput": "Run Output", - "desktop.settings.fontsScopeSeparator": ", ", - "desktop.settings.fontsScopeTerminal": "Terminal", - "desktop.settings.fontsSearch": "Search fonts", - "desktop.settings.fontsSizeDecrease": "Decrease Font Size", - "desktop.settings.fontsSizeIncrease": "Increase Font Size", - "desktop.settings.fontsSizeValue": "{size} pt", - "desktop.settings.fontsSummary": "{family} · {size} pt · line spacing {spacing}", - "desktop.settings.fontsSystemDefault": "System Default", - "desktop.settings.languageHelp": "The language of menus, buttons and messages", - "desktop.settings.layoutHint": "Drag the buttons on the stripes, title bar and status bar to rearrange them", - "desktop.settings.localHistory.builtInsHelp": "Folders hidden from the project tree are listed here too: Lithe's own, such as `**/.git/`, and those enabled plugins declare, such as a build's output folder. Files in a hidden folder are never recorded, even after you delete its line. A deleted line shows as a \"!\" line after Apply; delete that line to restore the rule.", - "desktop.settings.localHistory.help": "Local history keeps versions of a project's files as you save and edit them, in Lithe's own data folder. Ignore rules only keep files out of local history; the project tree still shows them.", - "desktop.settings.localHistory.invalidLimit": "Enter the limit as a whole number of megabytes, 1 or more, or leave it empty for the default.", - "desktop.settings.localHistory.regexHelp": "One per line, case-insensitive, matched anywhere in the project-relative path with `/` separators, for example `^build/` or `(test|spec)/`.", - "desktop.settings.localHistory.wildcardHelp": "One pattern per line, matched against the path inside the project, for example `*.log` or `**/generated/`.", - "desktop.settings.network.apply": "Apply", - "desktop.settings.network.clearPassword": "Remove Password", - "desktop.settings.network.custom": "Manual proxy configuration", - "desktop.settings.network.direct": "No proxy", - "desktop.settings.network.exclusions": "No proxy for", - "desktop.settings.network.exclusionsHelp": "Comma-separated hosts, domain suffixes (*.example.com), IP addresses, CIDR blocks, or for names without a dot.", - "desktop.settings.network.host": "Host", - "desktop.settings.network.ignoredExclusions": "These exclusions have none of the supported forms and are ignored: {entries}", - "desktop.settings.network.invalidPort": "The port must be a number from 1 to 65535.", - "desktop.settings.network.mode": "Connection", - "desktop.settings.network.password": "Password", - "desktop.settings.network.passwordStored": "Saved — leave empty to keep", - "desktop.settings.network.port": "Port", - "desktop.settings.network.proxy": "Proxy", - "desktop.settings.network.proxyHelp": "How Lithe's own requests (marketplace, downloads, AI providers, registries) reach the internet. Terminals and run processes keep their own environment.", - "desktop.settings.network.revert": "Revert", - "desktop.settings.network.system": "Use system proxy settings", - "desktop.settings.network.type": "Protocol", - "desktop.settings.network.username": "Username", - "desktop.settings.noMatches": "No matching settings", - "desktop.settings.ok": "OK", - "desktop.settings.pageLater": "This page is not available in the new desktop client yet", - "desktop.settings.processTermination.askBeforeEnding": "Ask before ending", - "desktop.settings.processTermination.askBeforeStopping": "Ask before stopping", - "desktop.settings.processTermination.confirmTabClose": "Ask before closing a tab or project with running programs", - "desktop.settings.processTermination.endWithoutAsking": "End without asking", - "desktop.settings.processTermination.leftoverTerminals": "Terminals left running", - "desktop.settings.processTermination.onQuit": "When Lithe quits", - "desktop.settings.processTermination.runServices": "Run services", - "desktop.settings.processTermination.runServicesHelp": "Run configurations and build tasks started in Lithe. They always stop when their project closes or Lithe quits, together with the processes they started; this only decides whether Lithe lists them and asks first.", - "desktop.settings.processTermination.seconds": "seconds", - "desktop.settings.processTermination.startupSweepHelp": "When Lithe crashes or is force quit, the next launch finds the programs it started that are still running. Runs, builds, debug adapters and tools are ended then; this decides whether terminals left running are listed and asked about first, or ended too.", - "desktop.settings.processTermination.stopTimeLonger": "Lengthen time to exit", - "desktop.settings.processTermination.stopTimeShorter": "Shorten time to exit", - "desktop.settings.processTermination.stopWithoutAsking": "Stop without asking", - "desktop.settings.processTermination.terminals": "Terminals with running programs", - "desktop.settings.processTermination.terminalsHelp": "A terminal is busy when a program other than the shell runs in it, such as a dev server or npm run dev. Idle terminals always close without asking. Ending a terminal ends the programs started in it; closing a project ends its terminals as if their tabs were closed.", - "desktop.settings.projectColors": "Differentiate projects with color", - "desktop.settings.projectColorsHelp": "Tints the title bar and the space around the panels with the project's color, the same color as its badge.", - "desktop.settings.projectOpen": "Open project in", - "desktop.settings.projectOpenAsk": "Ask", - "desktop.settings.resetLayout": "Restore Default Layout", - "desktop.settings.semanticHighlight": "Use semantic colors", - "desktop.settings.stepping.adapter": "Debugger", - "desktop.settings.stepping.apply": "Apply", - "desktop.settings.stepping.classFilters": "Do not step into classes", - "desktop.settings.stepping.classFiltersHelp": "One pattern per line, in the debugger's own syntax, for example java.*. The call stack dims the frames that match.", - "desktop.settings.stepping.customized": "Customized", - "desktop.settings.stepping.description": "Classes and methods the debugger steps over. Changes apply to the next debug session.", - "desktop.settings.stepping.hideFilteredFrames": "Collapse filtered frames in the call stack", - "desktop.settings.stepping.loadFailed": "Could not read the installed debuggers: {reason}", - "desktop.settings.stepping.loading": "Reading the installed debuggers…", - "desktop.settings.stepping.none": "No installed debugger takes stepping filters.", - "desktop.settings.stepping.restoreDefaults": "Use Plugin Defaults", - "desktop.settings.stepping.saveFailed": "Could not apply the stepping filters: {reason}", - "desktop.settings.stepping.saving": "Applying…", - "desktop.settings.stepping.skipConstructors": "Skip constructors", - "desktop.settings.stepping.skipStaticInitializers": "Skip static initializers", - "desktop.settings.stepping.skipSynthetics": "Skip synthetic methods", - "desktop.settings.stepping.title": "Debugger stepping", - "desktop.settings.stepping.usingDefaults": "Using the plugin's defaults", - "desktop.settings.system": "Follow System", - "desktop.settings.tabsMultipleRows": "Multiple rows", - "desktop.settings.tabsOneRow": "One row, if tabs don't fit:", - "desktop.settings.tabsScroll": "Scroll tab panel", - "desktop.settings.tabsShowIn": "Show tabs in:", - "desktop.settings.tabsSqueeze": "Squeeze tabs", - "desktop.settings.terminal.behavior": "Behavior", - "desktop.settings.terminal.clickMove": "Click to move cursor", - "desktop.settings.terminal.clickMoveHelp": "Clicking on the command being typed moves the cursor to where you clicked. Needs shell integration. Open terminals change at once.", - "desktop.settings.terminal.cursor": "Cursor", - "desktop.settings.terminal.cursorHelp": "The shape the cursor takes until a program asks for its own, and how thick the bar and underline draw. Open terminals change at once.", - "desktop.settings.terminal.cursorNormal": "Normal", - "desktop.settings.terminal.cursorShape": "Shape", - "desktop.settings.terminal.cursorShapeBar": "Bar", - "desktop.settings.terminal.cursorShapeBlock": "Block", - "desktop.settings.terminal.cursorShapeUnderline": "Underline", - "desktop.settings.terminal.cursorThick": "Thick", - "desktop.settings.terminal.cursorThickness": "Thickness", - "desktop.settings.terminal.cursorThin": "Thin", - "desktop.settings.terminal.optionAsMeta": "Use Option as Meta key", - "desktop.settings.terminal.optionAsMetaHelp": "Option with a letter sends Escape and the letter, so Option+B and Option+F move by word in shells and Emacs. Option then no longer types special characters or accents. Open terminals change at once.", - "desktop.settings.terminal.scrollback": "Scrollback", - "desktop.settings.terminal.scrollbackDefault": "Default", - "desktop.settings.terminal.scrollbackHelp": "How many lines of history a new terminal keeps above its screen (100–50,000). Open terminals keep their current limit.", - "desktop.settings.terminal.scrollbackLess": "Fewer lines", - "desktop.settings.terminal.scrollbackLines": "Lines kept", - "desktop.settings.terminal.scrollbackMore": "More lines", - "desktop.settings.terminal.shellIntegration": "Shell integration", - "desktop.settings.terminal.shellIntegrationHelp": "Lets the shell report its prompt, commands and current folder to Lithe. Clicking to move the cursor and keeping the prompt intact when a terminal is resized rely on it. Turned off, the shell starts as it is and those features stop. Terminals opened or restarted afterwards change.", - "desktop.settings.terminalShellHelp": "The shell a new terminal runs, including the one the Terminal tool window opens by itself. The ⌄ menu beside + opens a terminal in another installed shell.", - "desktop.settings.terminalShellMissing": "{path} (not found)", - "desktop.settings.unknownKept": "The settings file has {count} settings this version does not recognize ({keys}). This version ignores them but keeps them, so they still apply when you switch back to a version that knows them.", - "desktop.settings.updates.applying": "Building Lithe {version} from the delta update…", - "desktop.settings.updates.auto": "Check for updates automatically", - "desktop.settings.updates.autoHelp": "Checks 5 seconds after launch, then every hour. Checks pause while the window is in the background and catch up when it returns. The update server sees your IP address when Lithe checks.", - "desktop.settings.updates.available": "Lithe {version} is available.", - "desktop.settings.updates.availableDelta": "Lithe {version} is available as a {size} delta update ({full} in full).", - "desktop.settings.updates.channel": "Update channel", - "desktop.settings.updates.channelBusy": "The channel and feeds can't change while an update downloads or installs.", - "desktop.settings.updates.channelFollowsBuild": "Automatic ({channel})", - "desktop.settings.updates.channelHelp": "Stable gets released versions only. AutoBuild is built from every merge to main: newer, but it may break. Both channels share settings.", - "desktop.settings.updates.check": "Check Now", - "desktop.settings.updates.checking": "Checking for updates…", - "desktop.settings.updates.cross": "Lithe {version} from {channel} can be installed and replaces this build in full.", - "desktop.settings.updates.downloading": "Downloading Lithe {version}… {percent}%", - "desktop.settings.updates.downloadingDelta": "Downloading the Lithe {version} delta update… {percent}%", - "desktop.settings.updates.downloadingFull": "The delta update could not be used. Downloading Lithe {version} in full… {percent}%", - "desktop.settings.updates.failed": "Update failed: {reason}", - "desktop.settings.updates.help": "Lithe checks a signed release feed and installs the new version after you confirm. When the feed offers a delta update, only what changed is downloaded. The current version stays in place until the new one starts.", - "desktop.settings.updates.installing": "Installing and restarting…", - "desktop.settings.updates.lastChecked": "Last checked {time}", - "desktop.settings.updates.local": "This is a local development build. It belongs to no update channel and does not check for updates.", - "desktop.settings.updates.notConfigured": "This build has no update feed. Install new versions from the release page.", - "desktop.settings.updates.notes": "Release Notes", - "desktop.settings.updates.ready": "Lithe {version} is downloaded. Click Update to install and restart.", - "desktop.settings.updates.restore": "Restore my settings from when I last used {channel}", - "desktop.settings.updates.restoreHelp": "The new build starts with the snapshot saved then; update settings keep their current values. Leave it off to keep your current settings.", - "desktop.settings.updates.row": "Check for Updates", - "desktop.settings.updates.skipped": "Lithe {version} is skipped. You'll be told about the next one.", - "desktop.settings.updates.source": "{channel} feed", - "desktop.settings.updates.sourceCustom": "Custom feed. Its releases must still be signed with a key this build trusts.", - "desktop.settings.updates.sourceDefault": "Default ({repo})", - "desktop.settings.updates.sourceHelp": "A feed is a signed JSON file. Lithe installs only releases whose signature this build can verify.", - "desktop.settings.updates.sourceInvalid": "A feed must be an https:// address.", - "desktop.settings.updates.sourceReset": "Restore Default", - "desktop.settings.updates.sourceSave": "Save", - "desktop.settings.updates.title": "Updates", - "desktop.settings.updates.toAutoBuild.body": "AutoBuild is built from every merge to main without release testing, so it may have bugs. Lithe checks AutoBuild's latest build at once and shows what changed before you choose to download it; it replaces this build in full.", - "desktop.settings.updates.toAutoBuild.confirm": "Switch to AutoBuild", - "desktop.settings.updates.toAutoBuild.title": "Switch to AutoBuild?", - "desktop.settings.updates.toStable.body": "Wait for the first stable release after {version}, so nothing older is installed, or install the latest stable release now, which may be older than this build.", - "desktop.settings.updates.toStable.now": "Switch Now", - "desktop.settings.updates.toStable.title": "Switch Back to Stable?", - "desktop.settings.updates.toStable.wait": "Wait for Next Release", - "desktop.settings.updates.upToDate": "Lithe {version} is up to date.", - "desktop.settings.updates.update": "Update", - "desktop.settings.updates.waiting": "Lithe moves back to Stable with the first stable release after {version}.", - "desktop.sourceSettings.add": "Add override", - "desktop.sourceSettings.allEntriesShown": "All available entries are shown.", - "desktop.sourceSettings.cancel": "Cancel", - "desktop.sourceSettings.chooseNone": "Everything that can be added is already listed.", - "desktop.sourceSettings.chooseTitle": "Add {title}", - "desktop.sourceSettings.close": "Back", - "desktop.sourceSettings.compilerTitle": "{compiler} Compiler", - "desktop.sourceSettings.effective": "Effective: {value}", - "desktop.sourceSettings.entryAdd": "Add", - "desktop.sourceSettings.entryDown": "Move down", - "desktop.sourceSettings.entryEmpty": "No entries", - "desktop.sourceSettings.entryKind": "{title}…", - "desktop.sourceSettings.entryRemove": "Remove", - "desktop.sourceSettings.entryUp": "Move up", - "desktop.sourceSettings.fileCount": "{count} entries", - "desktop.sourceSettings.inherit": "Inherit ({value})", - "desktop.sourceSettings.modules": "Modules", - "desktop.sourceSettings.noValue": "Not determined", - "desktop.sourceSettings.remove": "Inherit project defaults", - "desktop.startupSweep.body": "{arg1} processes started by an earlier run of Lithe are still running. Ending them stops them.", - "desktop.startupSweep.end": "End them", - "desktop.startupSweep.item": "{arg1} PID {arg2} {arg3}", - "desktop.startupSweep.keep": "Keep them running", - "desktop.startupSweep.kind.build": "Build", - "desktop.startupSweep.kind.debug": "Debug", - "desktop.startupSweep.kind.process": "Process", - "desktop.startupSweep.kind.run": "Run", - "desktop.startupSweep.kind.terminal": "Terminal", - "desktop.startupSweep.title": "Leftover processes", - "desktop.status.caret": "Caret position", - "desktop.status.encoding": "Text encoding", - "desktop.status.fPS": "Frame rate", - "desktop.status.fpsTooltip": "Frame rate: frames the UI thread was free to show in the last second. At rest it is the display's refresh rate; it drops while the UI thread is held up, not while work is still running in the background.", - "desktop.status.healthy": "Running normally", - "desktop.status.indent": "Indentation", - "desktop.status.indentSpaces": "{count} spaces", - "desktop.status.indentTab": "Tab width: {width}", - "desktop.status.lSPNotStarted": "LSP not started", - "desktop.status.lineEnding": "Line separator", - "desktop.status.lineEndingCRLF": "CRLF", - "desktop.status.lineEndingLF": "LF", - "desktop.status.lspFailed": "LSP failed", - "desktop.status.lspReady": "LSP ready", - "desktop.status.lspStarting": "LSP starting", - "desktop.status.lspStopped": "LSP stopped", - "desktop.status.memory": "Memory", - "desktop.status.noChanges": "No changes", - "desktop.status.oneProblem": "1 problem", - "desktop.status.path": "Path", - "desktop.status.problems": "{count} problems", - "desktop.status.readOnly": "Read-only", - "desktop.status.vim": "Vim", - "desktop.status.writable": "Editable", - "desktop.svg.tooLarge": "This SVG file is too large to preview.", - "desktop.sync.allRemotes": "Fetch all remotes", - "desktop.sync.authFailed": "Git could not sign in to the remote. Set up a credential helper or SSH key for it, run git fetch once in the terminal to confirm, then retry. Git said: {reason}", - "desktop.sync.cancel": "Cancel", - "desktop.sync.cancelled": "Cancelled", - "desktop.sync.divergedPrompt": "{name} and {upstream} have diverged: {ahead} commit(s) ahead, {behind} behind. Choose how to combine them.", - "desktop.sync.divergedTitle": "Branch has diverged", - "desktop.sync.fetchButton": "Fetch", - "desktop.sync.fetchFailed": "Fetch failed: {reason}", - "desktop.sync.fetchPrompt": "These choices apply to this fetch only. Git configuration stays unchanged.", - "desktop.sync.fetchTitle": "Fetch Options", - "desktop.sync.fetched": "Fetched Git remotes", - "desktop.sync.fetching": "Fetching remotes…", - "desktop.sync.inherit": "Git default", - "desktop.sync.merge": "Merge", - "desktop.sync.merged": "Merged upstream into {name}", - "desktop.sync.no": "None", - "desktop.sync.noUpstream": "{name} tracks no remote branch", - "desktop.sync.onDemand": "On demand", - "desktop.sync.progress": "{stage} {percent}%", - "desktop.sync.prune": "Remove stale remote-tracking branches", - "desktop.sync.rebase": "Rebase", - "desktop.sync.rebased": "Rebased {name} onto upstream", - "desktop.sync.remoteName": "Configured remote name", - "desktop.sync.settingsFailed": "Could not read the fetch settings, so defaults are shown: {reason}", - "desktop.sync.settingsHint": "These choices show what this repository's Git configuration selects (lithe.fetch.*); choices it does not set use the application defaults. Fetching here never changes the configuration.", - "desktop.sync.settingsInvalid": "This repository's fetch settings are invalid, so defaults are shown: {reason}", - "desktop.sync.settingsInvalidNoReason": "This repository's fetch settings are invalid, so defaults are shown.", - "desktop.sync.settingsLoading": "Reading this repository's fetch settings…", - "desktop.sync.stage.compressing": "Compressing objects", - "desktop.sync.stage.counting": "Counting objects", - "desktop.sync.stage.enumerating": "Enumerating objects", - "desktop.sync.stage.receiving": "Receiving objects", - "desktop.sync.stage.resolving": "Resolving deltas", - "desktop.sync.stage.updating": "Updating files", - "desktop.sync.stage.writing": "Writing objects", - "desktop.sync.submodules": "Submodules", - "desktop.sync.tagBehavior": "Tags Git will actually fetch: {behavior}", - "desktop.sync.tagBehavior.all": "all tags", - "desktop.sync.tagBehavior.custom": "custom refspecs", - "desktop.sync.tagBehavior.none": "no tags", - "desktop.sync.tagBehavior.prune": "all tags, removing stale ones", - "desktop.sync.tagBehavior.reachable": "only tags of fetched commits", - "desktop.sync.tagBehavior.remoteDependent": "depends on the remote", - "desktop.sync.tagBehavior.unavailable": "unavailable", - "desktop.sync.tags": "Tags", - "desktop.sync.tagsAll": "All tags", - "desktop.sync.tagsNone": "No tags", - "desktop.sync.tagsPrune": "All tags, remove stale local tags", - "desktop.sync.upToDate": "{name} is already up to date", - "desktop.sync.updateFailed": "Update failed: {reason}", - "desktop.sync.updated": "Updated {name}", - "desktop.sync.updating": "Updating {name}…", - "desktop.sync.yes": "All", - "desktop.tab.close": "Close", - "desktop.tab.closeAllButPinned": "Close All but Pinned", - "desktop.tab.pin": "Pin Tab", - "desktop.tab.selectInProject": "Select in Project View", - "desktop.tab.unpin": "Unpin Tab", - "desktop.tags.annotated": "Annotated tag with a message", - "desktop.tags.create": "Create Tag", - "desktop.tags.createAt": "The tag is put on commit {hash}.", - "desktop.tags.createFrom": "The tag is put on the current commit (HEAD).", - "desktop.tags.createTitle": "New Tag", - "desktop.tags.created": "Created tag {name}", - "desktop.tags.delete": "Delete", - "desktop.tags.deleteFailed": "Could not delete the tag: {reason}", - "desktop.tags.deletePrompt": "Delete tag {name}?", - "desktop.tags.deleteTitle": "Delete Tag", - "desktop.tags.deleted": "Deleted tag {name}", - "desktop.tags.failed": "Could not create the tag: {reason}", - "desktop.tags.message": "Message", - "desktop.tags.name": "Tag name", - "desktop.tags.newTag": "New Tag…", - "desktop.terminal.closeBusyBody": "“{terminal}” is still running a program. Closing the tab ends it.", - "desktop.terminal.closeBusyConfirm": "Close", - "desktop.terminal.closeBusyTitle": "Close the terminal?", - "desktop.terminal.find": "Find in terminal", - "desktop.terminal.findClose": "Close Find", - "desktop.terminal.findCount": "{current} of {total}", - "desktop.terminal.findNext": "Next Match", - "desktop.terminal.findNone": "No matches", - "desktop.terminal.findPrevious": "Previous Match", - "desktop.terminal.label": "Terminal", - "desktop.terminal.localNumber": "Local ({number})", - "desktop.terminal.noTerminals": "All terminals are in the editor. Click + to open a new one here.", - "desktop.terminal.openLinkFailed": "Could not open the link: {reason}", - "desktop.terminal.pasteImageFailed": "Could not save the clipboard image: {reason}", - "desktop.terminal.pasteImageTooLarge": "The clipboard image is too large to paste.", - "desktop.terminal.restartHint": "Press Enter to start a new session.", - "desktop.terminal.runSelection": "Run Selection in Terminal", - "desktop.terminal.scrollbarLabel": "Terminal scrollback", - "desktop.terminal.sessionEnded": "Session ended.", - "desktop.terminal.sessionEndedStatus": "Session ended with exit status {status}.", - "desktop.terminal.shellWithPath": "{name} ({path})", - "desktop.terminal.startFailed": "Could not start the shell: {reason}", - "desktop.tests.cancelled": "Test run cancelled", - "desktop.tests.empty": "Run tests to see results.", - "desktop.tests.exitedWithError": "Tests ended with an error before reporting a result.", - "desktop.tests.noSystems": "No build system in this workspace declares tests.", - "desktop.tests.noTestsFound": "No tests were found.", - "desktop.tests.noTestsMatched": "No test matched the selected scope.", - "desktop.tests.openLocation": "Open the failing test's source location", - "desktop.tests.preparing": "Preparing tests…", - "desktop.tests.rerun": "Run tests again", - "desktop.tests.resultsUnavailable": "Test results are unavailable: {error}", - "desktop.tests.run": "Run tests", - "desktop.tests.running": "Running tests…", - "desktop.tests.stop": "Stop the running tests", - "desktop.tests.stopping": "Stopping the test run…", - "desktop.tests.summary": "{passed} passed, {failed} failed, {skipped} skipped", - "desktop.tests.timedOut": "Tests timed out", - "desktop.title.branchMenu": "Branch menu", - "desktop.title.cloneLater": "Cloning repositories comes later", - "desktop.title.configurationNotStartable": "{name} cannot be started: no build plugin runs it.", - "desktop.title.currentFileNotRunnable": "The current file has no entrypoint to run, such as a class with a main method. Open such a file, or choose a run configuration from the run configuration menu.", - "desktop.title.hiddenRunConfigurations": "{count} saved configurations hidden (not runnable)", - "desktop.title.keymapLater": "The keymap page comes later", - "desktop.title.logsUnavailable": "The log could not be opened when Lithe started", - "desktop.title.newProjectLater": "Creating projects comes later", - "desktop.title.noRecentProjects": "No recent projects", - "desktop.title.noRunConfigurations": "No run configurations", - "desktop.title.notDebuggable": "{name} cannot be debugged: its plugin declares no debug adapter for this run.", - "desktop.title.pluginsLater": "The plugins page comes later", - "desktop.title.projectMenu": "Project menu", - "desktop.title.runBusy": "The Run window is still running another operation. Wait for it to finish or stop it first.", - "desktop.toolchains.automatic": "Automatic ({value})", - "desktop.toolchains.chooseHelp": "Selecting a row only changes the draft. Save writes the choice to this project's .lithe/toolchains/local.json; Cancel leaves the file unchanged.", - "desktop.toolchains.conflict": "{tool} is defined by {plugins}; disable all but one of those plugins.", - "desktop.toolchains.custom": "Custom…", - "desktop.toolchains.description": "Tools declared by enabled plugins. The effective value and its source come from the shared Core resolver; nothing is written until Save.", - "desktop.toolchains.directory": "Installation directory", - "desktop.toolchains.directoryHelp": "Choose the installation root containing the tool executable, such as a JDK directory rather than its bin folder. Checking the version only updates the draft; Save writes the project selection.", - "desktop.toolchains.effective": "Effective: {value}", - "desktop.toolchains.global": "Global defaults", - "desktop.toolchains.globalHelp": "Manage detected and manually added SDKs for all projects. Save writes to the application’s user settings; projects can override the default. Existing processes use the new SDK after restarting.", - "desktop.toolchains.installation": "{home} · {version} · {provider}", - "desktop.toolchains.invalidDirectory": "The selected directory does not contain a usable installation. Check the directory and try again.", - "desktop.toolchains.layerAutomatic": "Automatic", - "desktop.toolchains.layerGlobal": "Global", - "desktop.toolchains.layerPinned": "Pinned", - "desktop.toolchains.layerProject": "Project", - "desktop.toolchains.loadFailed": "Could not read toolchains: {reason}", - "desktop.toolchains.loading": "Reading toolchains…", - "desktop.toolchains.noInstallations": "No installations found.", - "desktop.toolchains.noProject": "Open a project to read its toolchains.", - "desktop.toolchains.pinSource": "Pinned in {directory}", - "desktop.toolchains.project": "Current project", - "desktop.toolchains.projectCandidateBlocked": "{path} · Requires trusting this project", - "desktop.toolchains.projectTrustRequiredNotice": "Project tool environments were detected and will not be probed or run until this project is trusted.", - "desktop.toolchains.providerUnsupported": "This build cannot query plugin backends yet; provider-reported installations are not shown.", - "desktop.toolchains.reasonNotExecutable": "File is not executable", - "desktop.toolchains.reasonProbeFailed": "Version check failed", - "desktop.toolchains.reasonProjectTrustRequired": "Requires trusting this project", - "desktop.toolchains.reasonUnsafePath": "Unsafe or outside allowed root", - "desktop.toolchains.reasonVersionUnsatisfied": "Does not meet minimum version", - "desktop.toolchains.reload": "Reload", - "desktop.toolchains.reloadAfterSave": "The save step completed, but its source could not be reloaded or closed cleanly. Reload before saving again; your draft has been kept.", - "desktop.toolchains.reset": "Use automatic", - "desktop.toolchains.save": "Save", - "desktop.toolchains.saveFailed": "Could not save toolchains: {reason}", - "desktop.toolchains.saved": "Saved", - "desktop.toolchains.saving": "Saving…", - "desktop.toolchains.sourceChanged": "The project or toolchain file changed. Reload before saving; your draft has been kept.", - "desktop.toolchains.sourceInvalid": "The toolchain or ignore configuration is invalid, too large, or cannot be accessed safely. Check the source files, then reload.", - "desktop.toolchains.title": "Toolchains", - "desktop.toolchains.trustProject": "Trust tool environments in this project", - "desktop.toolchains.trustProjectHelp": "Allows Lithe to probe versions of and run tool environments (such as virtual environments) and wrappers located inside this project folder. Trust applies only to this workspace on this machine, is saved in local application settings rather than .lithe/, and can be revoked at any time. Enable this only for projects from sources you trust; running processes use updated toolchains after restarting.", - "desktop.toolchains.trustStatusTrusted": "This project on this machine · Trusted", - "desktop.toolchains.trustStatusUntrusted": "This project on this machine · Not trusted", - "desktop.toolchains.unavailable": "Unavailable: {reason}", - "desktop.toolchains.updatingTrust": "Updating project trust…", - "desktop.toolchains.useDirectory": "Use directory", - "desktop.tools.background": "Background", - "desktop.tools.dragHint": "Drag to move elsewhere", - "desktop.tools.moveTo": "Move to", - "desktop.tools.moveToTitleBar": "Move to Title Bar", - "desktop.tools.structure": "Structure", - "desktop.tools.withShortcut": "{name} {keys}", - "desktop.updates.arrow.available": "Lithe {version} is available. Click to see what changed", - "desktop.updates.arrow.downloading": "Downloading Lithe {version}… {percent}%", - "desktop.updates.arrow.ready": "Lithe {version} is downloaded. Click to review and restart", - "desktop.updates.available": "Lithe {version} is available. Click the green arrow at the top right of the title bar to see what changed.", - "desktop.updates.channel.autobuild": "AutoBuild", - "desktop.updates.channel.stable": "Stable", - "desktop.updates.dialog.cross": "This release is from the {channel} channel and replaces this build in full. Both channels share settings; a snapshot of your current settings is saved before it installs.", - "desktop.updates.dialog.current": "You have {version} · {channel}", - "desktop.updates.dialog.download": "Download and Install", - "desktop.updates.dialog.downloads": "Open Downloads Page", - "desktop.updates.dialog.fullNotes": "Full Notes on GitHub", - "desktop.updates.dialog.later": "Later", - "desktop.updates.dialog.noNotes": "This release has no notes.", - "desktop.updates.dialog.notesLoading": "Loading what's new…", - "desktop.updates.dialog.restart": "Restart and Update", - "desktop.updates.dialog.sizeDelta": "Delta update {size} (full package {full})", - "desktop.updates.dialog.sizeFull": "Full package {size}", - "desktop.updates.dialog.skip": "Skip This Version", - "desktop.updates.dialog.title": "Lithe {version} Is Available", - "desktop.updates.dialog.titleReady": "Lithe {version} Is Ready to Install", - "desktop.updates.manual.managed": "This copy of Lithe is managed by a package manager. Update it there, or install the new version from the downloads page.", - "desktop.updates.manual.notWritable": "Lithe can't replace the app where it is installed. Install the new version from the downloads page.", - "desktop.updates.viewChanges": "View Changes", - "desktop.vcs.commitDirectly": "Commits are sent to the repository right away; there is no separate push.", - "desktop.viewer.binaryHint": "This file is not text. Its first bytes are shown in hex, read only.", - "desktop.viewer.close": "Close", - "desktop.viewer.externalHint": "Lithe cannot show this kind of file. Open it in the system's default application.", - "desktop.viewer.failed": "Could not show this file: {reason}", - "desktop.viewer.imageFailed": "Could not load this image", - "desktop.viewer.openExternally": "Open in Default App", - "desktop.viewer.openFailed": "Could not open the file: {reason}", - "desktop.viewer.resetZoom": "Reset to actual size (100%)", - "desktop.viewer.resetZoomHint": "Reset to actual size", - "desktop.viewer.tooLarge": "This file is too large to show here. Open it in the system's default application.", - "desktop.viewer.truncated": "Only the first 64 KB are shown.", - "desktop.viewer.zoom": "Image zoom", - "desktop.viewer.zoomIn": "Zoom in", - "desktop.viewer.zoomOut": "Zoom out", - "desktop.welcome.dropFolderOnly": "Drop a folder to open it as a project.", - "desktop.welcome.emptyHint": "Open a local folder to start working.", - "desktop.welcome.emptyTitle": "No recent projects", - "desktop.welcome.menuPin": "Pin to Top", - "desktop.welcome.menuReveal": "Show in Finder", - "desktop.welcome.menuRevealOther": "Show in File Manager", - "desktop.welcome.menuRevealWindows": "Show in File Explorer", - "desktop.welcome.menuUnpin": "Unpin", - "desktop.welcome.missing": "Folder no longer exists", - "desktop.welcome.noMatches": "No matching projects", - "desktop.welcome.unavailable": "Not available in the new desktop client yet", - "desktop.workbenchBackground.close": "Close", - "desktop.workbenchBackground.failed": "Could not use that image: {reason}", - "desktop.workbenchBackground.help": "An image of your own shown behind the whole workbench. Lithe keeps a copy in its own data folder, so moving or deleting the original does not change the background.", - "desktop.workbenchBackground.imageFilter": "PNG and JPEG images", - "desktop.workbenchBackground.loading": "Loading the background image…", - "desktop.workbenchBackground.medium": "Medium", - "desktop.workbenchBackground.remove": "Remove", - "desktop.workbenchBackground.status": "{name}, {width}×{height}", - "desktop.workbenchBackground.strong": "Strong", - "desktop.workbenchBackground.subtle": "Subtle", - "desktop.workbenchBackground.tooLarge": "The image file is larger than 30 MB.", - "desktop.workbenchBackground.tooManyPixels": "The image has more than 64 million pixels.", - "desktop.workbenchBackground.unsupported": "Only PNG and JPEG images are supported.", - "desktop.workbenchBackground.visibility": "Image visibility", - "desktop.worktree.openNewWindow": "Open in New Window", - "desktop.worktree.openNewWindowFailed": "Could not open the worktree in a new window: {reason}", - "diagnostics.goToProblem": "Go to Problem", + "ai.add": "Add", + "debugger.console": "Console", + "debugger.disableBreakpoint": "Disable breakpoint", + "debugger.disassembly.copyAddress": "Copy Address", + "debugger.disassembly.copyInstruction": "Copy Instruction", + "debugger.disassembly.readMemoryAtAddress": "Read Memory at Address", + "debugger.disassembly.removeBreakpoint": "Remove Instruction Breakpoint", + "debugger.disassembly.setBreakpoint": "Set Instruction Breakpoint", + "debugger.disassembly.showDisassembly": "Show Disassembly", + "debugger.enableBreakpoint": "Enable breakpoint", + "debugger.removeBreakpoint": "Remove breakpoint", + "debugger.stackEmpty": "Start a session to see frames.", + "debugger.threadsAndVariables": "Threads & Variables", + "desktop.ai.inlineEdit.editCurrentLine": "Editing the current line", + "desktop.ai.inlineEdit.editSelection": "Editing the selection", + "desktop.aiCommit.cancel": "Cancel generation", + "desktop.aiCommit.failed": "Failed to generate a commit message: {reason}", + "desktop.aiCommit.generate": "Generate commit message", + "desktop.aiCommit.generating": "Generating…", + "desktop.aiCommit.httpStatus": "The AI provider answered with HTTP {status}.", + "desktop.aiCommit.keep": "Keep mine", + "desktop.aiCommit.noProvider": "No AI provider with a credential was found in the Codex or Claude configuration.", + "desktop.aiCommit.replace": "Replace", + "desktop.aiCommit.replaceBody": "The generated message will replace the text already typed.", + "desktop.aiCommit.replaceTitle": "Replace the commit message?", + "desktop.aiCommit.responseTooLarge": "The AI provider response is larger than 2 MiB.", + "desktop.aiCommit.stale": "The staged changes changed while the message was generated. Generate it again.", + "desktop.aiCommit.timeout": "The AI provider did not answer within 45 seconds.", + "desktop.app.devBadge": "Dev", + "desktop.app.previewVersion": "{version} Preview", + "desktop.branch.alreadyOn": "Already on '{name}'", + "desktop.branch.branchName": "Branch name", + "desktop.branch.checkedOut": "Checked out '{name}'", + "desktop.branch.checkoutAfter": "Checkout branch after creation", + "desktop.branch.checkoutFailed": "Failed to check out: {reason}", + "desktop.branch.checkoutFailedIn": "Failed to check out '{name}' in {repository}: {reason}", + "desktop.branch.checkoutRevision": "Checkout Tag or Revision…", + "desktop.branch.commonCheckedOut": "Checked out '{name}' in every repository", + "desktop.branch.commonCreated": "Created branch '{name}' in every repository", + "desktop.branch.commonLocal": "Common Local Branches", + "desktop.branch.commonRemote": "Common Remote Branches", + "desktop.branch.conflictHint": "Smart Checkout stashes your changes, switches branch, then restores them. Force Checkout switches and discards them.", + "desktop.branch.conflictPrompt": "Your changes to these files conflict with '{name}':", + "desktop.branch.conflictTitle": "Local changes would be overwritten", + "desktop.branch.createFailed": "Failed to create branch: {reason}", + "desktop.branch.createFailedIn": "Failed to create branch '{name}' in {repository}: {reason}", + "desktop.branch.createFrom": "Create from '{name}'.", + "desktop.branch.createFromInAll": "Create from '{name}' in every repository.", + "desktop.branch.created": "Created branch '{name}'", + "desktop.branch.current": "Current branch", + "desktop.branch.deleteFailed": "Failed to delete branch: {reason}", + "desktop.branch.deletePrompt": "Delete the local branch '{name}'? It is deleted even if it is not merged, and commits only on it will no longer be on any branch.", + "desktop.branch.deleteTitle": "Delete branch?", + "desktop.branch.deleted": "Deleted branch '{name}' (was {target})", + "desktop.branch.detached": "Checked out '{revision}' in detached HEAD state", + "desktop.branch.detachedNote": "The repository will be opened in detached HEAD state.", + "desktop.branch.forceCheckout": "Force Checkout", + "desktop.branch.keepButton": "Don't Roll Back", + "desktop.branch.loadFailed": "Failed to load branches: {reason}", + "desktop.branch.loading": "Loading branches…", + "desktop.branch.localIn": "Local Branches in {repository}", + "desktop.branch.newBranchFrom": "New Branch from '{name}'…", + "desktop.branch.recent": "Recent", + "desktop.branch.recentIn": "Recent Branches in {repository}", + "desktop.branch.remoteIn": "Remote Branches in {repository}", + "desktop.branch.rename": "Rename…", + "desktop.branch.renameButton": "Rename", + "desktop.branch.renameFailed": "Failed to rename branch: {reason}", + "desktop.branch.renameFrom": "Rename '{name}'.", + "desktop.branch.renameTitle": "Rename Branch", + "desktop.branch.renamed": "Renamed the branch to '{name}'", + "desktop.branch.repositoryPanel": "{repository} on {branch}", + "desktop.branch.repositorySeparator": ", ", + "desktop.branch.revision": "Tag or revision", + "desktop.branch.revisionPrompt": "Enter a tag name, branch name, commit hash, or other Git revision.", + "desktop.branch.revisionTitle": "Checkout Tag or Revision", + "desktop.branch.rollbackButton": "Roll Back", + "desktop.branch.rollbackFailed": "Rollback failed in {repository}: {reason}", + "desktop.branch.rollbackImpossible": "{repositories} were on no branch before, so they cannot be rolled back.", + "desktop.branch.rollbackPrompt": "It already succeeded in {repositories}. Roll back to return every repository to the branch it was on.", + "desktop.branch.rollbackTitle": "Completed in Some Repositories Only", + "desktop.branch.rolledBack": "Rolled back {repositories}", + "desktop.branch.rowMenu": "{name} actions", + "desktop.branch.search": "Search for branches and actions", + "desktop.branch.smartCheckout": "Smart Checkout", + "desktop.branch.tagsIn": "Tags in {repository}", + "desktop.build.ambiguousConnectionDebugAdapter": "Several enabled debug adapters of type “{type}” can attach to this run ({adapters}). Disable all but one in Settings > Plugins.", + "desktop.build.argumentsRequired": "This task asks for arguments, which this window cannot collect yet.", + "desktop.build.cancelled": "Build cancelled", + "desktop.build.chooseTask": "Choose a build task first.", + "desktop.build.chooseTaskScope": "Choose a project or target this task runs on first.", + "desktop.build.commandUnsupported": "This build system answered with a command plan; provider-backed tasks are required here.", + "desktop.build.connectionDebugAdapterGone": "The debug adapter “{name}” was disabled or updated before the run was ready, so the run was stopped. Debug it again.", + "desktop.build.debugPortTimeout": "The run did not wait for a debugger within {seconds} seconds, so it was stopped. See the Run window for its output.", + "desktop.build.debugSessionRunning": "A debug session is already running. Stop it before debugging another run.", + "desktop.build.debugTarget": "Debug", + "desktop.build.dependenciesHelp": "The build tool reads the dependency tree only when this is first opened, which can take a while as the tool runs. The tree is then kept until the build systems are detected again or Reload is chosen on the build system or on Dependencies.", + "desktop.build.detection": "Detection", + "desktop.build.emptyOutput": "Run a build task to see output.", + "desktop.build.executableMissing": "No usable build executable was found for this build system.", + "desktop.build.exited": "Build exited with code {code}.", + "desktop.build.filter": "Filter build systems, tasks and targets", + "desktop.build.group.build": "Build", + "desktop.build.group.documentation": "Documentation", + "desktop.build.group.lifecycle": "Lifecycle", + "desktop.build.group.other": "Other", + "desktop.build.group.run": "Run", + "desktop.build.group.test": "Test", + "desktop.build.group.verification": "Verification", + "desktop.build.ignoredPaths": "Ignored Paths", + "desktop.build.ignoredPathsDefault": "Using the default list; changes are saved on this machine only.", + "desktop.build.ignoredPathsHelp": "One rule per line, written as in .gitignore and relative to the project root; rules match folders only. Later rules win, and a rule starting with ! brings a folder back into detection, even one Git ignores. By default every folder whose name starts with a dot, such as .claude/worktrees, is skipped; dependency caches and build outputs are always skipped. At most 256 rules.", + "desktop.build.ignoredPathsLocal": "Using the list saved on this machine.", + "desktop.build.ignoredPathsTeam": "Using the list in the team file {file}; changes are saved on this machine only.", + "desktop.build.invalidIgnoredPath": "Line {line} is not a usable ignore rule. Rules follow .gitignore syntax, have no leading or trailing spaces, do not start with # or consist of a lone !, are at most 1024 bytes long, and number at most 256.", + "desktop.build.invalidIgnoredPaths": "These ignore rules cannot be used together. Check how they are written.", + "desktop.build.loadingModel": "Loading build model…", + "desktop.build.modelFailed": "The build model could not be loaded: {error}", + "desktop.build.modelStopped": "Build model loading stopped", + "desktop.build.noBuildSystems": "No provider-backed build system was detected.", + "desktop.build.noConnectionDebugAdapter": "No enabled plugin can debug this run: it needs a debug adapter of type “{type}” that attaches to a running program. Install or enable one in Settings > Plugins.", + "desktop.build.noDebugAdapter": "The build provider's own plugin declares no debug adapter that can start a prepared program.", + "desktop.build.noMatches": "No matching build items", + "desktop.build.noOptions": "This build system declares no options.", + "desktop.build.noTasks": "No build tasks", + "desktop.build.optionChoiceDefault": "default", + "desktop.build.optionChoiceDefaultLabel": "{title} (default)", + "desktop.build.options": "Options", + "desktop.build.optionsTitle": "Build Options", + "desktop.build.output": "Build output", + "desktop.build.pluginsUnavailable": "Build plugins are unavailable in this window.", + "desktop.build.preparing": "Preparing…", + "desktop.build.processFailed": "The process ended: {error}", + "desktop.build.projectMissing": "The selected project is no longer in the build model. Refresh the build system.", + "desktop.build.refresh": "Detect build systems again", + "desktop.build.runSelected": "Run selected task", + "desktop.build.runTarget": "Run {name}", + "desktop.build.running": "Running…", + "desktop.build.showSyncOutput": "Show the output in the Run window", + "desktop.build.stop": "Stop build task", + "desktop.build.stopping": "Stopping…", + "desktop.build.succeeded": "Build succeeded", + "desktop.build.syncSession": "Sync {name}", + "desktop.build.syncSessionAt": "Sync {name} ({root})", + "desktop.build.systems": "Build systems", + "desktop.build.targetMissing": "The selected target is no longer in the build model. Refresh the build system.", + "desktop.build.targets": "Targets", + "desktop.build.testDiscoveryFailed": "Could not discover tests: {error}", + "desktop.build.toggleOptionChoice": "Toggle {option}: {choice}", + "desktop.build.toolchainGap": "The provider prepared {toolchain}. This build cannot launch a toolchain reference yet.", + "desktop.build.treeFailed": "The build tree could not be shown: {error}", + "desktop.build.treeTruncated": "Too many build items to list them all; only the first ones are shown.", + "desktop.build.versionTooOld": "The build tool is {version}, older than the required {minimum}.", + "desktop.changelists.moveSelected": "Move {count} Selected to Change List", + "desktop.clone.busy": "Cloning…", + "desktop.clone.cancel": "Cancel", + "desktop.clone.choose": "Choose…", + "desktop.clone.failed": "Clone failed. Check the repository address, access, and destination, then retry.", + "desktop.clone.invalidName": "Choose an absolute destination folder and enter a single folder name", + "desktop.clone.more": "More", + "desktop.clone.name": "Folder name", + "desktop.clone.namePlaceholder": "project-name", + "desktop.clone.parent": "Destination folder", + "desktop.clone.source": "Repository URL", + "desktop.clone.sourcePlaceholder": "https://github.com/example/project.git", + "desktop.clone.submit": "Clone", + "desktop.clone.title": "Clone Repository", + "desktop.command.addNextOccurrence": "Add Next Occurrence", + "desktop.command.branches": "Branches…", + "desktop.command.clone": "Clone Repository…", + "desktop.command.cloneCaretAbove": "Clone Caret Above", + "desktop.command.cloneCaretBelow": "Clone Caret Below", + "desktop.command.closeProject": "Close Project", + "desktop.command.commit": "Commit…", + "desktop.command.commitAndPush": "Commit and Push…", + "desktop.command.debug": "Debug", + "desktop.command.findAction": "Find Action", + "desktop.command.findInFiles": "Find in Files…", + "desktop.command.fold": "Fold", + "desktop.command.foldAll": "Fold All", + "desktop.command.gitConsole": "Show Git Console", + "desktop.command.gitNextChange": "Go to Next Change", + "desktop.command.gitPreviousChange": "Go to Previous Change", + "desktop.command.groupApp": "Application", + "desktop.command.groupEditor": "Editor", + "desktop.command.groupGit": "Git", + "desktop.command.groupProject": "Project", + "desktop.command.groupRun": "Run", + "desktop.command.groupSearch": "Search", + "desktop.command.groupTerminal": "Terminal", + "desktop.command.groupToolWindows": "Tool Windows", + "desktop.command.groupView": "View", + "desktop.command.importLegacy": "Import Settings from Earlier Lithe…", + "desktop.command.languageChinese": "Language: 简体中文", + "desktop.command.languageEnglish": "Language: English", + "desktop.command.logs": "Show Logs", + "desktop.command.newProject": "New Project…", + "desktop.command.newTerminal": "New Terminal", + "desktop.command.noActions": "No matching actions", + "desktop.command.openProject": "Open Project…", + "desktop.command.plugins": "Plugins…", + "desktop.command.replaceInFiles": "Replace in Files…", + "desktop.command.run": "Run", + "desktop.command.saveAll": "Save All", + "desktop.command.searchEverywhere": "Search Everywhere", + "desktop.command.selectAllOccurrences": "Select All Occurrences", + "desktop.command.settings": "Settings…", + "desktop.command.showTool": "Show {name}", + "desktop.command.themeDark": "Theme: Dark", + "desktop.command.themeLight": "Theme: Light", + "desktop.command.themeSystem": "Theme: Follow System", + "desktop.command.toggleBreakpoint": "Toggle Line Breakpoint", + "desktop.command.toggleVim": "Toggle Vim Mode", + "desktop.command.unfold": "Unfold", + "desktop.command.unfoldAll": "Unfold All", + "desktop.command.unselectOccurrence": "Unselect Occurrence", + "desktop.commit.amendNote": "Amend applies to repositories with selected files.", + "desktop.commit.author": "Author", + "desktop.commit.authorHelp": "Records the commit as written by someone else. Leave empty to use your Git identity. Cleared after the commit succeeds.", + "desktop.commit.authorInvalid": "Write the author as Name .", + "desktop.commit.authorLine": "Author: {author}", + "desktop.commit.authorPlaceholder": "Name ", + "desktop.commit.chooseTarget": "Choose which branch to update before pushing.", + "desktop.commit.clean": "Working tree is clean", + "desktop.commit.commitAndPush": "Commit and Push…", + "desktop.commit.commitFailed": "Commit failed", + "desktop.commit.committing": "Committing…", + "desktop.commit.dismiss": "Dismiss Results", + "desktop.commit.enterMessage": "Enter a commit message", + "desktop.commit.failed": "Failed to commit changes: {reason}", + "desktop.commit.instructions": "Generation instructions", + "desktop.commit.instructionsHelp": "Requirements handed to the AI with the changes when it writes a commit message, such as the tone, the format or what to leave out. Nothing is added when it is empty.", + "desktop.commit.instructionsPlaceholder": "For example: avoid long descriptions", + "desktop.commit.messageLine": "Commit message: {message}", + "desktop.commit.noCommits": "New repository", + "desktop.commit.openSettings": "Open in Settings…", + "desktop.commit.options": "Commit options", + "desktop.commit.optionsAI": "AI", + "desktop.commit.optionsGit": "Git", + "desktop.commit.order": "Each repository has its own commit. Completed steps are kept if another repository fails.", + "desktop.commit.parentsHelp": "After a submodule is committed, also commit its new reference in the parent repository. Submodules are pushed before their parents.", + "desktop.commit.partlyStagedState": "Partly staged", + "desktop.commit.pushTo": "Push to {upstream}", + "desktop.commit.refresh": "Refresh changes", + "desktop.commit.result": "{repository}: {status}", + "desktop.commit.retry": "Review and Retry…", + "desktop.commit.reviewPushTitle": "Review commit and push", + "desktop.commit.reviewRequired": "Review required", + "desktop.commit.reviewRetry": "Review remaining steps", + "desktop.commit.reviewTitle": "Review repository commits", + "desktop.commit.signOff": "Sign-off commit", + "desktop.commit.signOffHelp": "Adds a Signed-off-by line with your Git identity to the end of the commit message. Stays on until you turn it off.", + "desktop.commit.signOffNote": "Adds a Signed-off-by line.", + "desktop.commit.stageAll": "Stage all files in current ChangeList", + "desktop.commit.stageFailed": "Failed to stage files: {reason}", + "desktop.commit.stageFile": "Stage {path}", + "desktop.commit.step": "{number}. {action}: {repository}", + "desktop.commit.stepPush": "Commit and push", + "desktop.commit.stepPushOnly": "Push only", + "desktop.commit.tracksDifferent": "Branch '{local}' tracks '{upstream}', which has a different name. Choose which branch to update.", + "desktop.commit.unstageFailed": "Failed to unstage files: {reason}", + "desktop.commit.unstageFile": "Unstage {path}", + "desktop.commit.where": "{branch} · {head}", + "desktop.credentials.importLegacy": "Import Plugin Credentials from Earlier Lithe…", + "desktop.credentials.importLegacyBusy": "Importing Plugin Credentials…", + "desktop.credentials.importLegacyConfirm": "Import", + "desktop.credentials.importLegacyDescription": "Copies the plugin credentials the earlier Lithe app saved. The system may ask you to allow access to each one. Credentials already saved here are not replaced, and the earlier app's credentials stay unchanged.", + "desktop.credentials.importLegacyDone": "Imported {imported} plugin credentials; kept {kept} already saved here; {failed} could not be read.", + "desktop.credentials.importLegacyFailed": "Could not import plugin credentials: {error}", + "desktop.credentials.importLegacyNone": "The earlier Lithe app saved no plugin credentials.", + "desktop.credentials.importLegacyTitle": "Import Plugin Credentials", + "desktop.debug.adapter": "Debug adapter", + "desktop.debug.addWatch": "Add Watch", + "desktop.debug.attachHost": "Host", + "desktop.debug.attachInvalid": "Enter a host name and a port from 1 to 65535.", + "desktop.debug.attachPort": "Port", + "desktop.debug.breakpoint.addFunction": "Add", + "desktop.debug.breakpoint.breakOnChange": "Break when value changes", + "desktop.debug.breakpoint.condition": "Condition", + "desktop.debug.breakpoint.conditionPlaceholder": "Stop only when this expression is true", + "desktop.debug.breakpoint.conditional": "if", + "desktop.debug.breakpoint.dataRow": "◆ {label}", + "desktop.debug.breakpoint.dataUnavailable": "The adapter cannot break when this variable changes.", + "desktop.debug.breakpoint.edit": "Edit breakpoint…", + "desktop.debug.breakpoint.functionName": "Method or function", + "desktop.debug.breakpoint.functionPlaceholder": "For example example.Main.run", + "desktop.debug.breakpoint.functionRow": "ƒ {name}", + "desktop.debug.breakpoint.hitCondition": "Hit count", + "desktop.debug.breakpoint.hitConditionPlaceholder": "For example >= 5", + "desktop.debug.breakpoint.logMessage": "Log message", + "desktop.debug.breakpoint.logMessagePlaceholder": "Text to log; {expression} is evaluated", + "desktop.debug.breakpoint.logPoint": "log", + "desktop.debug.breakpoint.removeData": "Remove data breakpoint", + "desktop.debug.breakpoint.removeFunction": "Remove method breakpoint", + "desktop.debug.breakpoint.title": "Breakpoint {file}:{line}", + "desktop.debug.breakpoints": "Breakpoints", + "desktop.debug.bufferLimit": "The debug adapter is not reading, and the send queue went over its limit.", + "desktop.debug.child.needsConfirmation": "The child debug session targets a remote endpoint that Lithe has not confirmed.", + "desktop.debug.child.startedBy": "Started by {parent}", + "desktop.debug.child.stopped": "The child debug session was stopped before it started.", + "desktop.debug.child.unavailable": "Lithe could not start the child debug session.", + "desktop.debug.connectFailed": "Could not connect to the debug adapter at {endpoint}.", + "desktop.debug.connectionClosed": "The debug connection closed.", + "desktop.debug.consoleEmpty": "The debug session's output appears here.", + "desktop.debug.continue": "Continue", + "desktop.debug.disassembly": "Disassembly", + "desktop.debug.disassemblyRetry": "Retry", + "desktop.debug.editValue": "New value", + "desktop.debug.evaluateFailed": "The expression could not be evaluated", + "desktop.debug.evaluatePlaceholder": "Evaluate expression ({evaluate}) or add a watch ({watch})", + "desktop.debug.exceptionInfo": "Exception info", + "desktop.debug.exceptions": "Exception Breakpoints", + "desktop.debug.failed": "Debug session failed", + "desktop.debug.filteredFrames": "Filtered frames ({count})", + "desktop.debug.frames": "Call stack", + "desktop.debug.initialized": "Debug adapter initialized", + "desktop.debug.invalidEndpoint": "The debug adapter endpoint is not valid.", + "desktop.debug.loadMore": "Load more", + "desktop.debug.loadingVariables": "Loading…", + "desktop.debug.memory": "Memory", + "desktop.debug.memoryAddress": "Memory address", + "desktop.debug.memoryAddressPlaceholder": "Address, e.g. 0x1000", + "desktop.debug.memoryBytesPerRow": "Bytes per row", + "desktop.debug.memoryGoToAddress": "Go to Address", + "desktop.debug.memoryRadix": "Number base", + "desktop.debug.memoryRadixBinary": "Binary", + "desktop.debug.memoryRadixDecimal": "Decimal", + "desktop.debug.memoryRadixHex": "Hexadecimal", + "desktop.debug.memoryRadixOctal": "Octal", + "desktop.debug.memoryRowBytes": "{bytes} bytes per row", + "desktop.debug.memoryTypeAddress": "The selected frame has no instruction address. Type an address above to read memory there.", + "desktop.debug.memoryUnreadableBytes": "Unreadable bytes: {bytes}", + "desktop.debug.noAdapters": "The installed plugins declare no debug adapter this client can start.", + "desktop.debug.noBreakpoints": "No breakpoints", + "desktop.debug.noDisassembly": "Pause in a frame the adapter can disassemble to see its instructions.", + "desktop.debug.noDocument": "Open a file first to toggle its breakpoint.", + "desktop.debug.noEndpoint": "The language server did not return a valid debug port.", + "desktop.debug.noExceptionFilters": "This debug adapter offers no exception breakpoints.", + "desktop.debug.noFrames": "No stack frames", + "desktop.debug.noMemory": "The adapter cannot read memory for this frame.", + "desktop.debug.noVariables": "Pause the debuggee to inspect its variables.", + "desktop.debug.notAnnounced": "The debug adapter exited before printing the port it listens on.", + "desktop.debug.openFrame": "Open the frame's source location", + "desktop.debug.pause": "Pause", + "desktop.debug.paused": "Paused", + "desktop.debug.pluginsUnavailable": "Debug plugins are unavailable in this window.", + "desktop.debug.registers": "Registers", + "desktop.debug.reload": "Go to current instruction", + "desktop.debug.remoteAttach": "Attach", + "desktop.debug.remoteCancel": "Cancel", + "desktop.debug.remotePrompt": "Attach to {endpoint}? It is not a local address, and plain TCP is neither authenticated nor encrypted.", + "desktop.debug.remoteTitle": "Attach to a remote target", + "desktop.debug.removeBreakpoint": "Remove the breakpoint", + "desktop.debug.removeWatch": "Remove Watch", + "desktop.debug.running": "Running", + "desktop.debug.session": "Session", + "desktop.debug.setValue": "Set", + "desktop.debug.settingsUnreadable": "Could not read the debugger plugin settings. Check its settings files, reload the project, then try again.", + "desktop.debug.start": "Start debugging", + "desktop.debug.starting": "Starting the debug adapter…", + "desktop.debug.stepInto": "Step Into", + "desktop.debug.stepOut": "Step Out", + "desktop.debug.stepOver": "Step Over", + "desktop.debug.stop": "Stop debugging", + "desktop.debug.targetUnavailable": "No runnable debug target was found. Build the program first.", + "desktop.debug.terminated": "Debug session terminated", + "desktop.debug.threadFallback": "Thread {id}", + "desktop.debug.threadRunning": "{name} (running)", + "desktop.debug.threads": "Threads", + "desktop.debug.timedOut": "The debug adapter did not answer in time.", + "desktop.debug.toggleBreakpoint": "Toggle breakpoint at caret", + "desktop.debug.unmuteBreakpoints": "Unmute breakpoints", + "desktop.debug.variables": "Variables", + "desktop.debug.viewJson": "JSON", + "desktop.debug.viewTree": "Tree", + "desktop.debug.waitingServer": "Starting the language server…", + "desktop.debug.watchPlaceholder": "Evaluate expression", + "desktop.debug.watches": "Watches", + "desktop.debug.writeTimedOut": "Writing to the debug adapter timed out.", + "desktop.diff.keepWhitespace": "Do not ignore whitespace", + "desktop.diffFind.close": "Close find", + "desktop.diffFind.field": "Find in diff", + "desktop.diffFind.next": "Next match", + "desktop.diffFind.open": "Find in Diff", + "desktop.diffFind.previous": "Previous match", + "desktop.document.closeConflict": "The file changed or was removed outside Lithe. Its editor content remains open.", + "desktop.document.externalReadFailed": "Could not check the file for external changes.", + "desktop.document.hardLinkCancel": "Cancel", + "desktop.document.watchUnavailable": "Could not monitor open files for external changes. Saving still checks the disk.", + "desktop.drafts.conflict": "Draft recovered. The disk file changed; compare the versions before choosing which to keep.", + "desktop.drafts.discard": "Discard draft", + "desktop.drafts.empty": "No scratch files.", + "desktop.drafts.failed": "Could not save the recovery copy. Unsaved contents remain in the editor.", + "desktop.drafts.list": "Scratch files", + "desktop.drafts.new": "New scratch file", + "desktop.drafts.recovered": "Unsaved contents were recovered.", + "desktop.drafts.saveAs": "Save As…", + "desktop.drafts.saved": "The draft was saved to a file.", + "desktop.drafts.untitled": "Untitled {number}", + "desktop.editor.dropFiles": "Drop files here to open them", + "desktop.editor.goToFile": "Go to File", + "desktop.editor.hiddenTabs": "Show Hidden Tabs", + "desktop.editor.hideMinimap": "Hide Minimap", + "desktop.editor.horizontalScrollbar": "Horizontal Scrollbar", + "desktop.editor.lineEditFailed": "Could not apply the line operation.", + "desktop.editor.linkOpenFailed": "Could not open the link: {reason}", + "desktop.editor.minimap": "Minimap", + "desktop.editor.noLineComment": "This file type has no line comment.", + "desktop.editor.notText": "it is not a text file", + "desktop.editor.openFailed": "Could not open {name}: {reason}", + "desktop.editor.recentFiles": "Recent Files", + "desktop.editor.saveFailed": "Could not save {name}: {reason}", + "desktop.editor.showMinimap": "Show Minimap", + "desktop.editor.softWrap": "Soft Wrap", + "desktop.editor.tooLarge": "it is too large to open in the editor", + "desktop.editor.unsupportedEncoding": "it is not valid UTF-8; use an editor that supports its encoding", + "desktop.editor.verticalScrollbar": "Vertical Scrollbar", + "desktop.editor.vim.insert": "INSERT", + "desktop.editor.vim.normal": "NORMAL", + "desktop.editor.vim.notFound": "Pattern not found: {pattern}", + "desktop.editor.vim.replace": "REPLACE", + "desktop.editor.vim.unknown": "Not an editor command: {name}", + "desktop.editor.vim.visual": "VISUAL", + "desktop.editor.vim.visualLine": "V-LINE", + "desktop.editor.vimMode": "Vim Mode", + "desktop.editor.vimModeHelp": "Edit with Vim key bindings: Normal, Insert and Visual modes.", + "desktop.editorActions.failed": "The plugin could not run this action.", + "desktop.editorActions.stale": "The document changed. Wait for the actions to update.", + "desktop.editorFind.case": "Match case", + "desktop.editorFind.close": "Close find", + "desktop.editorFind.count": "{current}/{total}", + "desktop.editorFind.failed": "Could not complete the search or replacement.", + "desktop.editorFind.find": "Find", + "desktop.editorFind.invalidPattern": "The regular expression is invalid.", + "desktop.editorFind.loading": "Searching…", + "desktop.editorFind.next": "Next match", + "desktop.editorFind.previous": "Previous match", + "desktop.editorFind.regex": "Regular expression", + "desktop.editorFind.replace": "Replace", + "desktop.editorFind.replaceAll": "Replace all", + "desktop.editorFind.replaceOne": "Replace current", + "desktop.editorFind.replaced": "Replaced {count} occurrences.", + "desktop.editorFind.replacementTooLarge": "The replacement is too large. Narrow the scope.", + "desktop.editorFind.selection": "In selection", + "desktop.editorFind.stale": "The document changed. Retry the replacement.", + "desktop.editorFind.tooLarge": "This file exceeds the 64 MiB search limit.", + "desktop.editorFind.tooMany": "More than 10,000 matches. Narrow the scope before replacing all.", + "desktop.editorFind.word": "Whole words", + "desktop.editorMenu.back": "Back", + "desktop.editorMenu.deleteLine": "Delete Line", + "desktop.editorMenu.duplicateLine": "Duplicate Line", + "desktop.editorMenu.findUsages": "Find Usages", + "desktop.editorMenu.forward": "Forward", + "desktop.editorMenu.goToDefinition": "Go to Definition", + "desktop.editorMenu.goToLine": "Go to Line...", + "desktop.editorMenu.lineHistory": "Show Line History", + "desktop.editorMenu.moveLineDown": "Move Line Down", + "desktop.editorMenu.moveLineUp": "Move Line Up", + "desktop.editorMenu.openInBrowser": "Open in Browser", + "desktop.editorMenu.openInBrowserFailed": "Could not open the file in the browser: {reason}", + "desktop.editorMenu.reformat": "Reformat Code", + "desktop.editorMenu.rename": "Rename Symbol", + "desktop.editorMenu.toggleComment": "Toggle Line Comment", + "desktop.editorPrefs.block": "Block", + "desktop.editorPrefs.cursorBlink": "Blink caret", + "desktop.editorPrefs.cursorStyle": "Caret style", + "desktop.editorPrefs.failed": "Could not update editor settings.", + "desktop.editorPrefs.line": "Line", + "desktop.editorPrefs.lineNumbers": "Show line numbers", + "desktop.editorPrefs.saveDelay": "Auto-save delay (ms)", + "desktop.editorPrefs.saveDelayHelp": "Wait this long after typing before auto-saving (250–60,000 ms). Disabled when auto-save is off. Draft recovery is independent.", + "desktop.editorPrefs.title": "Editor display", + "desktop.editorPrefs.underline": "Underline", + "desktop.editorPrefs.whitespace": "Show whitespace", + "desktop.encoding.reopen": "Reopen with Encoding", + "desktop.encoding.reopenDirty": "Save or discard your changes before reopening with another encoding.", + "desktop.encoding.reopenFailed": "Could not reopen the file with that encoding.", + "desktop.encoding.reopenLossy": "Some bytes are not valid in that encoding and show as replacement characters.", + "desktop.encoding.saveAs": "Save with Encoding", + "desktop.encoding.unmappable": "The text has a character {encoding} cannot represent. Nothing was written.", + "desktop.errors.core": "Core call failed: {reason}", + "desktop.errors.dismiss": "Dismiss", + "desktop.errors.folderMissing": "The folder does not exist: {path}", + "desktop.errors.logsFailed": "Could not open the log window: {reason}", + "desktop.errors.openFailed": "Could not open the project: {reason}", + "desktop.errors.saveFailed": "Could not save settings: {reason}", + "desktop.errors.settingsFailed": "Could not open the settings window: {reason}", + "desktop.everywhere.actions": "Actions", + "desktop.everywhere.all": "All", + "desktop.everywhere.classes": "Classes", + "desktop.everywhere.files": "Files", + "desktop.everywhere.limit": "Showing the first 500 results. Narrow your search to see more.", + "desktop.everywhere.more": "Load more", + "desktop.everywhere.retry": "Retry", + "desktop.everywhere.symbols": "Symbols", + "desktop.everywhere.text": "Text", + "desktop.everywhere.title": "Search Everywhere", + "desktop.everywhere.watchUnavailable": "Could not monitor project changes. Reopen search to refresh results.", + "desktop.exit.body": "Closing will stop these programs started by Lithe:\n{processes}", + "desktop.exit.cancel": "Cancel", + "desktop.exit.debugSession": "Debug session ({adapter})", + "desktop.exit.stopAndClose": "Stop and Close", + "desktop.exit.terminal": "Terminal “{terminal}”", + "desktop.exit.title": "Programs are still running", + "desktop.files.batchDelete": "Delete {count} Items…", + "desktop.files.batchDeletePrompt": "Delete {count} items? Open tabs below them are saved and closed. Moving them to the Trash can be undone; deleting them permanently cannot.", + "desktop.files.batchDeleteTitle": "Delete Items", + "desktop.files.cancel": "Cancel", + "desktop.files.compareBranch": "Compare with Branch", + "desktop.files.copy": "Copy", + "desktop.files.copyFailed": "Could not copy the path: {reason}", + "desktop.files.create": "Create", + "desktop.files.createFailed": "Could not create the item: {reason}", + "desktop.files.crossBoundaryMove": "Moving or renaming between WSL distributions, or between a distribution and a local folder, is not supported", + "desktop.files.cut": "Cut", + "desktop.files.delete": "Delete…", + "desktop.files.deleteFailed": "Could not delete the item: {reason}", + "desktop.files.deleteMessage": "Delete “{name}”? Open tabs below it are saved and closed. Moving it to the Trash can be undone; deleting it permanently cannot.", + "desktop.files.deletePermanently": "Delete Permanently", + "desktop.files.deleteTitle": "Delete Item", + "desktop.files.duplicate": "Duplicate", + "desktop.files.duplicateFailed": "Could not duplicate the item: {reason}", + "desktop.files.excludeFailed": "Could not exclude the folder: {reason}", + "desktop.files.excludeFromSearch": "Exclude from Search", + "desktop.files.gitSubmenu": "Git", + "desktop.files.invalidName": "Enter a file or folder name without a slash.", + "desktop.files.moveFailed": "Could not move the item: {reason}", + "desktop.files.moveToTrash": "Move to Trash", + "desktop.files.name": "Name", + "desktop.files.nameExists": "An item with this name already exists.", + "desktop.files.newDirectory": "New Directory…", + "desktop.files.newDirectoryTitle": "New Directory", + "desktop.files.newFile": "New File…", + "desktop.files.newFileTitle": "New File", + "desktop.files.open": "Open", + "desktop.files.openIn": "Open In", + "desktop.files.openInExplorer": "File Explorer", + "desktop.files.openInFinder": "Finder", + "desktop.files.openInTerminal": "Terminal", + "desktop.files.openWith": "Open With", + "desktop.files.openWithAppPath": "{name} ({path})", + "desktop.files.openWithDefault": "{name} (default)", + "desktop.files.openWithFailed": "Could not open the file: {reason}", + "desktop.files.openWithFinding": "Finding Applications…", + "desktop.files.openWithGone": "“{name}” no longer opens this kind of file", + "desktop.files.openWithOther": "Other…", + "desktop.files.openWithTitle": "Choose an Application", + "desktop.files.paste": "Paste", + "desktop.files.pasteFailed": "Could not paste the item: {reason}", + "desktop.files.refresh": "Refresh", + "desktop.files.rename": "Rename…", + "desktop.files.renameAction": "Rename", + "desktop.files.renameFailed": "Could not rename the item: {reason}", + "desktop.files.renameTitle": "Rename", + "desktop.files.revealFailed": "Could not show the item: {reason}", + "desktop.files.revealInExplorer": "Reveal in Explorer", + "desktop.files.revealInFinder": "Reveal in Finder", + "desktop.files.showDiff": "Show Git Diff", + "desktop.files.showHistory": "Show History", + "desktop.files.showRepositoryChanges": "Show Repository Changes", + "desktop.files.stage": "Stage File", + "desktop.files.stageAndCommit": "Stage and Open Commit…", + "desktop.files.trashFailed": "Could not move the item to the trash: {reason}", + "desktop.files.unstage": "Unstage File", + "desktop.git.actions": "Git tool window actions", + "desktop.git.allReferences": "All References", + "desktop.git.anyTime": "Any Time", + "desktop.git.apply": "Apply", + "desktop.git.blame.annotation": "{author} · {time} · {subject}", + "desktop.git.blame.uncommitted": "Uncommitted changes", + "desktop.git.branchSearch": "Branch or tag", + "desktop.git.branchSettings": "Branches Pane Settings", + "desktop.git.cancel": "Cancel", + "desktop.git.clear": "Clear", + "desktop.git.clearFilter": "Clear filter", + "desktop.git.collapseAll": "Collapse All Branches", + "desktop.git.compareBranch": "Compare current branch with working tree", + "desktop.git.compareChanges": "Compare changes", + "desktop.git.compareWithCurrent": "Compare with Current", + "desktop.git.compareWorkingTree": "Compare with Working Tree", + "desktop.git.console.collapse": "Collapse", + "desktop.git.console.exitCode": "Exit code {code}", + "desktop.git.console.expand": "Expand", + "desktop.git.console.expandConfiguration": "Show {count} temporary settings", + "desktop.git.console.queryOutput": "Read output, {count} lines", + "desktop.git.console.queryOutputOne": "Read output, {count} line", + "desktop.git.console.settings": "Git Console Settings", + "desktop.git.decorations": "Show commit decorations", + "desktop.git.deleteBranch": "Delete Selected Branch", + "desktop.git.excludeFailed": "Could not exclude the item: {reason}", + "desktop.git.excludeLocally": "Exclude From Git (Local Only)", + "desktop.git.expandAll": "Expand All Branches", + "desktop.git.failed": "Git read failed: {reason}", + "desktop.git.fetchAll": "Fetch All Remotes", + "desktop.git.fetchOptions": "Fetch Options…", + "desktop.git.fileHistory": "Show file history", + "desktop.git.filesFailed": "Could not load changed files", + "desktop.git.filterDate": "Date", + "desktop.git.filterPaths": "Paths", + "desktop.git.filterUser": "User", + "desktop.git.filterValue": "{filter}: {value}", + "desktop.git.findBranch": "Find Branch", + "desktop.git.findInLog": "Find in log", + "desktop.git.gutter.before": "Before This Change", + "desktop.git.gutter.next": "Next", + "desktop.git.gutter.noEarlier": "(no earlier text)", + "desktop.git.gutter.previous": "Previous", + "desktop.git.gutter.revert": "Revert This Change", + "desktop.git.gutter.saveFirst": "Save the file to stage this change.", + "desktop.git.gutter.stage": "Stage This Change", + "desktop.git.hideBranches": "Hide Branches", + "desktop.git.last30Days": "Last 30 Days", + "desktop.git.last7Days": "Last 7 Days", + "desktop.git.loadMoreFailed": "Could not load older commits. Refresh history", + "desktop.git.loading": "Loading…", + "desktop.git.locateBranch": "Navigate Log to Selected Branch", + "desktop.git.log": "Log", + "desktop.git.log.adjustLimit": "Adjust Limit…", + "desktop.git.log.limitReached": "Read {count} commits; older commits are beyond the read limit", + "desktop.git.logTab": "Log: {reference}", + "desktop.git.longEdges": "Show long graph edges", + "desktop.git.noCommits": "No commits yet", + "desktop.git.noMatchingReferences": "No matching branches or tags", + "desktop.git.noMatchingUsers": "No matching users", + "desktop.git.notRepository": "This project is not a Git repository", + "desktop.git.olderOutside": "Older commits are outside the loaded history", + "desktop.git.on": "on {date}", + "desktop.git.pathPlaceholder": "Directory or file name", + "desktop.git.pathTitle": "Filter by changed path", + "desktop.git.pushAll.defineRemote": "Define remote", + "desktop.git.pushAll.description": "Check the repositories to push, review destinations and commits, then push.", + "desktop.git.pushAll.detachedHead": "Detached HEAD", + "desktop.git.pushAll.emptyRepository": "Empty repository", + "desktop.git.pushAll.failed": "Push failed: {reason}", + "desktop.git.pushAll.filesFailed": "Cannot load changed files: {reason}", + "desktop.git.pushAll.loadingFiles": "Loading changed files…", + "desktop.git.pushAll.noChangedFiles": "This commit has no changed files", + "desktop.git.pushAll.noCommitSelected": "Select a commit to see its changed files", + "desktop.git.pushAll.noRepositories": "No repositories to push", + "desktop.git.pushAll.push": "Push (P)", + "desktop.git.pushAll.pushTags": "Push tags (T)", + "desktop.git.pushAll.pushed": "Pushed", + "desktop.git.pushAll.readFailed": "Cannot read: {reason}", + "desktop.git.pushAll.skipped": "Not pushed: {repository} failed to push", + "desktop.git.pushAll.someFailed": "Some repositories were not pushed; see the Push Commits dialog.", + "desktop.git.pushAll.tagsAll": "All", + "desktop.git.pushAll.tagsCurrentBranch": "Current Branch", + "desktop.git.pushAll.title": "Push Commits", + "desktop.git.pushAll.upToDate": "Up to date", + "desktop.git.refreshLog": "Refresh Log", + "desktop.git.repo.back": "Back to {name}", + "desktop.git.repo.choose": "Choose Repositories", + "desktop.git.repo.current": "Repository: {name}", + "desktop.git.repo.several": "{count} Repositories", + "desktop.git.searchUsers": "Search users", + "desktop.git.settings.blame": "Show Inline Git Blame", + "desktop.git.settings.blameHelp": "Shows the author, age and commit subject of the line the caret is on, after its text. Git is read when a file is saved or HEAD moves; the previous annotation stays until then. Off by default.", + "desktop.git.settings.changeLists": "Show Change Lists", + "desktop.git.settings.changeListsHelp": "Groups the Commit window's changes by local change list, with the bar that creates, renames and deletes lists. Turned off, every change is listed in one flat list and all staged changes commit together. The lists and their assignments are kept.", + "desktop.git.settings.console.annotate": "Omit Annotate and Line History", + "desktop.git.settings.console.annotateHelp": "The reads of annotate (blame) and line history. Inline blame refreshes automatically and is never recorded.", + "desktop.git.settings.console.checks": "Omit Checks Before Operations", + "desktop.git.settings.console.checksHelp": "The previews, preflight checks and plans before an operation, and the other queries an operation runs for itself, such as the status.", + "desktop.git.settings.console.completedNotice": "Omit the “No Output” Notice", + "desktop.git.settings.console.completedNoticeHelp": "No notice is shown under a command that succeeded without output. IntelliJ IDEA shows none either.", + "desktop.git.settings.console.diff": "Omit Diff Reads", + "desktop.git.settings.console.diffHelp": "The file and commit diffs, comparisons and stageable change blocks read when a Diff tab opens or changes.", + "desktop.git.settings.console.diffRefresh": "Omit Diff Refreshes After Saving", + "desktop.git.settings.console.diffRefreshHelp": "The open Diff tabs of a file read again after the file is saved.", + "desktop.git.settings.console.display": "Git Console: Display", + "desktop.git.settings.console.displayHelp": "These change only how the Git console draws the commands it recorded, not which it records. Copying the whole console still gives the full commands and repositories. Every switch starts as in IntelliJ IDEA.", + "desktop.git.settings.console.foldShortQueries": "Fold Query Output of 10 Lines or Fewer", + "desktop.git.settings.console.foldShortQueriesHelp": "A successful query's output longer than 10 lines is folded whole and opens on a click; turned on, shorter output is folded too. A deletion (of branches, tags, references, remote branches, configuration, files, stashes or worktrees, and clean and prune) never has its output or configuration folded.", + "desktop.git.settings.console.log": "Omit Log Browsing", + "desktop.git.settings.console.logHelp": "The reads of the Git log: its commit history, branches and tags, graph and commit details.", + "desktop.git.settings.console.logPathFilter": "Omit Log Path Filter Reads", + "desktop.git.settings.console.logPathFilterHelp": "The file lists read commit by commit when the log is filtered by path.", + "desktop.git.settings.console.omitted": "Git Console: Omitted Queries", + "desktop.git.settings.console.omittedHelp": "A kind that is on is not written to the Git console and takes none of the records it keeps; turning a kind on also removes the successful queries of it the console already recorded. The commands you run, failed Git requests, the failed queries of the operations you start and unexpected exit codes always show. The reads that refresh automatically as repositories change (status, gutter markers, inline blame and so on) are never recorded. Every switch starts as in IntelliJ IDEA: all omitted.", + "desktop.git.settings.console.panels": "Omit Lists and Panels", + "desktop.git.settings.console.panelsHelp": "The reads of lists and panels such as worktrees, stashes, remotes, pull requests, untracked directories and repository setup.", + "desktop.git.settings.console.references": "Omit Background Branch Reads", + "desktop.git.settings.console.referencesHelp": "The branches and references of each repository read again in the background after a repository changes, for the branch popup and the log's repository groups.", + "desktop.git.settings.console.reload": "Omit Reloads After Operations", + "desktop.git.settings.console.reloadHelp": "The status read again after a Git operation you run (commit, staging, stash, shelf, rebase, branch operations, fetch, update and so on) or when you refresh Changes, and the Diff tabs read again after an operation writes to the working tree or the index.", + "desktop.git.settings.console.repository": "Omit Repository Name", + "desktop.git.settings.console.repositoryHelp": "Each command line starts with the time alone, without the [repository] name.", + "desktop.git.settings.console.temporaryConfig": "Hide Temporary -c Configuration", + "desktop.git.settings.console.temporaryConfigHelp": "The command line no longer shows the -c settings Lithe passes for a single command, not even folded. The -c arguments the command itself names still show, folded.", + "desktop.git.settings.gutter": "Show Git Change Markers", + "desktop.git.settings.gutterHelp": "Marks lines added, changed or removed against the Git index in the editor's gutter. Click a marker to see the earlier text, stage that change, or revert it. Markers update when a file is saved and when the Git status changes.", + "desktop.git.settings.logLimitDefault": "{count} (default)", + "desktop.git.settings.logLimitMerged": "Several repositories", + "desktop.git.settings.logLimitMergedHelp": "The most commits read in all while the log merges several chosen repositories by date. The default is 20,000.", + "desktop.git.settings.logLimitSingle": "One repository", + "desktop.git.settings.logLimitSingleHelp": "The most commits read while the log shows one repository. The default is 5,000.", + "desktop.git.settings.logLimits": "Git Log", + "desktop.git.settings.logLimitsHelp": "The most commits the Git Log reads. When it reaches the limit, the end of the log says older commits are beyond the read limit; a higher limit loads more slowly and uses more memory.", + "desktop.git.settings.parentReferences": "Show Update Parent Repository References", + "desktop.git.settings.parentReferencesHelp": "Shows the option that records the new commits of submodules in their parent repositories. Turned off, the option is hidden and every commit updates the parent references.", + "desktop.git.showAll": "Show all references", + "desktop.git.showBranches": "Show Branches", + "desktop.git.showChanges": "Show Changes", + "desktop.git.showDetails": "Show commit details", + "desktop.git.textOrHash": "Text or hash", + "desktop.git.time.daysAgo": "{count} d ago", + "desktop.git.time.hoursAgo": "{count} h ago", + "desktop.git.time.justNow": "just now", + "desktop.git.time.minutesAgo": "{count} min ago", + "desktop.git.time.monthsAgo": "{count} mo ago", + "desktop.git.time.yearsAgo": "{count} y ago", + "desktop.git.today": "Today", + "desktop.git.updateBranch": "Update Current Branch", + "desktop.git.worktrees.destinationAbsolute": "Enter an absolute path.", + "desktop.git.worktrees.failed": "Worktree operation failed: {reason}", + "desktop.git.worktrees.lockedBecause": "Locked: {reason}", + "desktop.git.worktrees.removed": "Removed worktree '{name}'", + "desktop.git.yesterday": "Yesterday", + "desktop.gitHistory.cherryPicked": "Cherry-picked {hash} onto the current branch", + "desktop.gitHistory.deleteCommit": "Delete Commit…", + "desktop.gitHistory.resetDone": "Reset the current branch to {hash}", + "desktop.gitHistory.reverted": "Reverted {hash} with a new commit", + "desktop.gitHistory.undoCommit": "Undo Commit…", + "desktop.gitReview.blameFailed": "Could not read the annotations: {reason}", + "desktop.gitReview.blameTitle": "Annotations: {file}", + "desktop.gitReview.blockN": "Change {n}", + "desktop.gitReview.cancel": "Cancel", + "desktop.gitReview.close": "Close", + "desktop.gitReview.confirm": "Confirm", + "desktop.gitReview.diffTab": "View", + "desktop.gitReview.menu": "Stashes, Worktrees and Repositories…", + "desktop.gitReview.menuLabel": "More Git actions", + "desktop.gitReview.noRemote": "This repository has no remote to push to.", + "desktop.gitReview.notRepository": "This project is not a Git repository", + "desktop.gitReview.operationFailed": "Git operation failed: {reason}", + "desktop.gitReview.refresh": "Refresh", + "desktop.gitReview.rollbackFailed": "Rollback failed: {reason}", + "desktop.gitReview.stashPush": "Stash Changes", + "desktop.gitReview.untrackedMenu": "Show Untracked Files…", + "desktop.gitReview.untrackedTitle": "Untracked files in {path}", + "desktop.github.approve": "Approve", + "desktop.github.branchExists": "A local branch with this name already exists. Rename or remove it, then review again.", + "desktop.github.cancelSignIn": "Cancel", + "desktop.github.checkFailed": "Failed", + "desktop.github.checkPassed": "Passed", + "desktop.github.checkRunning": "Running", + "desktop.github.checkSkipped": "Skipped", + "desktop.github.checkUnknown": "Completed", + "desktop.github.checkedOut": "Checked out pull request branch {branch}", + "desktop.github.checkedOutHint": "The branch is checked out locally.", + "desktop.github.checkoutBranch": "Local branch: {branch}", + "desktop.github.checks": "Checks", + "desktop.github.checksUnavailable": "Checks are unavailable: the head commit is unknown.", + "desktop.github.comment": "Comment", + "desktop.github.confirmCheckout": "Check Out Branch", + "desktop.github.connectedAs": "Connected as {login}", + "desktop.github.createDetached": "HEAD is detached. Check out a branch before creating a pull request.", + "desktop.github.createPullRequest": "Create Pull Request", + "desktop.github.createUnpublished": "This branch has commits its remote does not have yet. Publish it before creating a pull request.", + "desktop.github.denied": "The authorization was denied on GitHub.", + "desktop.github.draft": "Draft", + "desktop.github.draftChoice": "Create as draft", + "desktop.github.draftFailed": "Could not draft the description: {reason}", + "desktop.github.draftNoProvider": "No AI provider is configured to draft the description.", + "desktop.github.enterCode": "Enter this code on GitHub:", + "desktop.github.expired": "The code expired before it was entered on GitHub. Try again.", + "desktop.github.failed": "GitHub sign-in failed: {reason}", + "desktop.github.filter.closed": "Closed", + "desktop.github.filter.mine": "Mine", + "desktop.github.filter.open": "Open", + "desktop.github.generateDescription": "Generate Description", + "desktop.github.loading": "Loading pull requests…", + "desktop.github.newPullRequest": "New Pull Request…", + "desktop.github.nextBase": "Change Base", + "desktop.github.noChecks": "No checks", + "desktop.github.noPullRequests": "No pull requests match this filter.", + "desktop.github.noReviewThreads": "No review threads", + "desktop.github.openFailed": "Could not open the browser: {reason}", + "desktop.github.openInBrowser": "Open in Browser", + "desktop.github.prBody": "Description (Markdown)", + "desktop.github.prBranches": "{head} → {base}", + "desktop.github.prMeta": "{state} · {head} → {base} · {author}", + "desktop.github.prTitle": "Title", + "desktop.github.publishBranch": "Publish Branch", + "desktop.github.publishDivergent": "The remote branch has diverged. Choose how to publish it in the Push dialog.", + "desktop.github.pullRequests": "Pull Requests", + "desktop.github.reply": "Write a comment", + "desktop.github.requestChanges": "Request Changes", + "desktop.github.reviewCheckout": "Review Checkout", + "desktop.github.reviewNeedsBody": "Write a comment explaining the requested changes.", + "desktop.github.reviewThreads": "Review threads", + "desktop.github.settingsHelp": "Sign in to list, check out and review pull requests of this repository.", + "desktop.github.settingsTitle": "GitHub Account", + "desktop.github.signIn": "Sign In to GitHub", + "desktop.github.signInFirst": "Sign in to GitHub in Settings to list pull requests.", + "desktop.github.signOut": "Sign Out", + "desktop.github.signOutFailed": "Could not remove the GitHub token: {reason}", + "desktop.github.threadLine": "Line {line}", + "desktop.github.threadOutdated": "Outdated", + "desktop.github.unavailable": "GitHub is not available in this build.", + "desktop.github.working": "Connecting to GitHub…", + "desktop.history.close": "Close", + "desktop.history.delete": "Delete", + "desktop.history.empty": "No local history for this file yet.", + "desktop.history.failed": "Local history failed: {reason}", + "desktop.history.labelPlaceholder": "Name this version", + "desktop.history.loading": "Loading history…", + "desktop.history.previewLoading": "Loading snapshot…", + "desktop.history.reasonBaseline": "Project baseline", + "desktop.history.reasonBatchReplace": "Before Replace in Files", + "desktop.history.reasonBeforeDelete": "Before delete", + "desktop.history.reasonBeforeRename": "Before rename", + "desktop.history.reasonExternalChange": "Changed on disk", + "desktop.history.reasonRestored": "Before restore", + "desktop.history.reasonSaved": "Saved", + "desktop.history.reasonUnsavedDiscard": "Discarded unsaved changes", + "desktop.history.rename": "Label", + "desktop.history.restore": "Restore", + "desktop.history.show": "Show Local History", + "desktop.history.title": "Local History", + "desktop.htmlPreview.back": "Back", + "desktop.htmlPreview.failed": "This HTML file can't be previewed.", + "desktop.htmlPreview.forward": "Forward", + "desktop.htmlPreview.reload": "Reload", + "desktop.htmlPreview.tooLarge": "This HTML file is too large to preview.", + "desktop.ideApi.allowConfigure": "Allow configuration", + "desktop.ideApi.allowConfigureHelp": "Lets the client change the project's build options.", + "desktop.ideApi.allowExecute": "Allow execution", + "desktop.ideApi.allowExecuteHelp": "Lets the client start and stop builds and runs. Dependency downloads and plugin execution can happen.", + "desktop.ideApi.copyConfiguration": "Copy stdio client configuration", + "desktop.ideApi.disable": "Disable connection", + "desktop.ideApi.enable": "Enable connection", + "desktop.ideApi.failed": "Could not change the connection: {reason}", + "desktop.ideApi.grantsFixed": "Permissions stay fixed while the connection is on. Disable and enable it again to change them.", + "desktop.ideApi.helperMissing": "Helper program missing", + "desktop.ideApi.intro": "Let plugins and external MCP clients call the capabilities of the open project after you allow it. Each project connects separately, and the connection ends when the project closes.", + "desktop.ideApi.noProject": "Open a project to enable its IDE connection.", + "desktop.ideApi.project": "Project", + "desktop.ideApi.statusDisabled": "Not connected", + "desktop.ideApi.statusEnabled": "Connected", + "desktop.ideApi.title": "IDE Connection", + "desktop.inlineEdit.accept": "Accept", + "desktop.inlineEdit.cancel": "Cancel", + "desktop.inlineEdit.empty": "The model returned an empty replacement. Accepting deletes the selection.", + "desktop.inlineEdit.failed": "AI edit failed: {reason}", + "desktop.inlineEdit.instruction": "What should change? Leave empty to improve the code.", + "desktop.inlineEdit.noSelection": "Select some code first.", + "desktop.inlineEdit.provider": "Provider", + "desktop.inlineEdit.providerClaude": "Claude", + "desktop.inlineEdit.providerCodex": "Codex", + "desktop.inlineEdit.providerDefault": "AI settings default", + "desktop.inlineEdit.readOnly": "This file is read-only.", + "desktop.inlineEdit.reject": "Reject", + "desktop.inlineEdit.reviewTitle": "Review the AI edit", + "desktop.inlineEdit.run": "Generate edit", + "desktop.inlineEdit.running": "Generating…", + "desktop.inlineEdit.stale": "The file changed while the edit was reviewed. Nothing was applied.", + "desktop.inlineEdit.title": "Edit selection with AI", + "desktop.inlineEdit.unchanged": "The model changed nothing.", + "desktop.keymap.add": "Add Shortcut", + "desktop.keymap.cancel": "Cancel", + "desktop.keymap.conflict": "{keys} is already used by “{action}”.", + "desktop.keymap.fullscreenFailed": "Could not change full screen: {reason}", + "desktop.keymap.goToLine": "Go to Line", + "desktop.keymap.groupEditor": "Editor", + "desktop.keymap.help": "Click + and press the new keys. Escape cancels recording. Changes apply at once.", + "desktop.keymap.inlineEdit": "Inline Edit with AI", + "desktop.keymap.modified": "Modified", + "desktop.keymap.noMatch": "No actions match.", + "desktop.keymap.none": "No shortcut", + "desktop.keymap.recording": "Shortcut", + "desktop.keymap.recordingHint": "Press keys…", + "desktop.keymap.remove": "Remove Shortcut", + "desktop.keymap.reset": "Reset", + "desktop.keymap.resetAll": "Restore All Defaults", + "desktop.keymap.search": "Search actions", + "desktop.keymap.searchPlaceholder": "Filter by name or key", + "desktop.keymap.toggleFullscreen": "Toggle Full Screen", + "desktop.keymap.unbindable": "A letter or symbol needs Command, Control or Option so typing never runs an action.", + "desktop.keymapImport.apply": "Create and use scheme", + "desktop.keymapImport.changed": "The source or shortcut settings changed. Choose the file again to refresh the preview.", + "desktop.keymapImport.chooseFile": "Choose shortcut file…", + "desktop.keymapImport.conflictWith": "{key} conflicts with {owner}", + "desktop.keymapImport.conflicts": "Resolve the conflicting shortcuts in the source or current scheme, then choose the file again. No shortcuts will be imported while conflicts remain.", + "desktop.keymapImport.displaced": "Default shortcuts to remove: {keys}", + "desktop.keymapImport.empty": "This file has no supported explicit shortcuts to import.", + "desktop.keymapImport.failed": "Could not import shortcuts. Choose a valid UTF-8 keybindings.json or keymap XML file up to 1 MiB.", + "desktop.keymapImport.fileFilter": "Shortcut configuration", + "desktop.keymapImport.help": "Choose keybindings.json from VS Code or Cursor, or a keymap XML from IntelliJ IDEA. Only explicit bindings for supported actions are imported. IDE defaults, inherited schemes, conditional rules and key sequences are not imported. A preview changes nothing; confirm to create and activate a separate scheme. The source file stays unchanged.", + "desktop.keymapImport.idea": "IntelliJ IDEA (XML)", + "desktop.keymapImport.inherited": "This XML inherits another keymap. Only its explicit action overrides are included.", + "desktop.keymapImport.name": "New scheme name", + "desktop.keymapImport.preview": "Shortcut import preview", + "desktop.keymapImport.skipArguments": "Skipped: this action requires command arguments; its current shortcuts are kept.", + "desktop.keymapImport.skipConditional": "Skipped: this action has a context condition; its current shortcuts are kept.", + "desktop.keymapImport.skipKey": "Skipped: this action uses an unsupported key or rule; its current shortcuts are kept.", + "desktop.keymapImport.skipRemoval": "Skipped: removing an IDE default is not portable to this scheme.", + "desktop.keymapImport.skipSequence": "Skipped: this action uses consecutive keystrokes; its current shortcuts are kept.", + "desktop.keymapImport.skipUnmapped": "Skipped: there is no equivalent supported action.", + "desktop.keymapImport.source": "Source format", + "desktop.keymapImport.summary": "{imported} actions to import · {skipped} rules skipped · {conflicts} conflicts", + "desktop.keymapImport.title": "Import from another IDE…", + "desktop.keymapImport.unbound": "Remove this action’s shortcuts", + "desktop.keymapImport.vscode": "VS Code / Cursor (JSON)", + "desktop.keymapImport.working": "Reading and checking shortcuts…", + "desktop.keymapSchemes.default": "Default", + "desktop.keymapSchemes.delete": "Delete scheme", + "desktop.keymapSchemes.duplicateName": "A scheme with this name already exists.", + "desktop.keymapSchemes.failed": "Could not update keymap schemes. The original scheme is preserved.", + "desktop.keymapSchemes.invalidName": "Enter a scheme name of 1–64 characters.", + "desktop.keymapSchemes.limit": "Up to 16 keymap schemes can be saved.", + "desktop.keymapSchemes.name": "Scheme name", + "desktop.keymapSchemes.newTitle": "Save keymap scheme", + "desktop.keymapSchemes.rename": "Rename scheme…", + "desktop.keymapSchemes.renameTitle": "Rename keymap scheme", + "desktop.keymapSchemes.saveAs": "Save as new scheme…", + "desktop.keymapSchemes.scheme": "Keymap scheme", + "desktop.languageStatus.degraded": "Degraded", + "desktop.languageStatus.failed": "Failed", + "desktop.languageStatus.none": "Not running", + "desktop.languageStatus.ready": "Ready", + "desktop.languageStatus.starting": "Starting", + "desktop.languageStatus.stopped": "Stopped", + "desktop.languageStatus.title": "Language server", + "desktop.legacyImport.confirm": "Import", + "desktop.legacyImport.description": "Read from {source}. The earlier Lithe keeps its data unchanged. Chosen settings replace the current ones; recent projects are added to the current list.", + "desktop.legacyImport.done": "Imported the earlier Lithe settings. Recent projects added: {recent}.", + "desktop.legacyImport.editorFont": "Editor font", + "desktop.legacyImport.failed": "Could not import the earlier Lithe settings: {error}", + "desktop.legacyImport.hidden": "Hidden", + "desktop.legacyImport.language": "Language", + "desktop.legacyImport.menu": "Import Settings from Earlier Lithe…", + "desktop.legacyImport.minimap": "Editor minimap", + "desktop.legacyImport.none": "No settings from an earlier Lithe were found on this computer.", + "desktop.legacyImport.openMarketplace": "Open Plugin Marketplace", + "desktop.legacyImport.plugins": "Plugins installed in the earlier Lithe", + "desktop.legacyImport.pluginsHelp": "Install them again from the plugin marketplace, which checks each one for this version. Their packages are not copied.", + "desktop.legacyImport.pluginsMore": "{count} more", + "desktop.legacyImport.processTermination": "Process termination choices", + "desktop.legacyImport.readFailed": "Could not read the earlier Lithe settings: {error}", + "desktop.legacyImport.recent": "Recent projects", + "desktop.legacyImport.recentCount": "{count} projects", + "desktop.legacyImport.shellAutomatic": "System default", + "desktop.legacyImport.shown": "Shown", + "desktop.legacyImport.tabRows": "Editor tabs", + "desktop.legacyImport.tabsMultiple": "Multiple rows", + "desktop.legacyImport.tabsSingle": "One row", + "desktop.legacyImport.terminalFont": "Terminal font", + "desktop.legacyImport.terminalShell": "Terminal shell", + "desktop.legacyImport.theme": "Theme", + "desktop.legacyImport.themeDark": "Dark", + "desktop.legacyImport.themeLight": "Light", + "desktop.legacyImport.themeSystem": "Follow system", + "desktop.legacyImport.title": "Import from Earlier Lithe", + "desktop.lineHistory.empty": "No commit touched these lines.", + "desktop.lineHistory.inserted": "Lines {lines} were inserted and have no history yet.", + "desktop.lineHistory.lines": "{file}, lines {start}-{end}", + "desktop.lineHistory.loading": "Tracing line history…", + "desktop.lineHistory.outsideRepository": "This file is outside the Git repository.", + "desktop.lineHistory.rewritten": "Lines {lines} were rewritten; their history cannot be matched reliably.", + "desktop.lineHistory.title": "Line History", + "desktop.lineHistory.truncated": "The list is truncated; only the newest commits are shown.", + "desktop.logs.apply": "Apply", + "desktop.logs.choose": "Choose", + "desktop.logs.chooseDirectory": "Choose Log Directory", + "desktop.logs.clearAction": "Clear Logs", + "desktop.logs.clearMessage": "Delete only Lithe-managed logs in the active directory across all modules and sessions. Filters do not limit this action. New events will continue to be recorded.", + "desktop.logs.clearSearch": "Clear search", + "desktop.logs.clearTitle": "Clear collected logs?", + "desktop.logs.diagnostics": "Detailed diagnostics", + "desktop.logs.dropped": "dropped {count}", + "desktop.logs.environmentHint": "App version, {osName} version, architecture, enabled plugins", + "desktop.logs.exportDialog.currentSession": "Current session", + "desktop.logs.exportDialog.export": "Export…", + "desktop.logs.histogramTooltip": "{time} · ERROR {errors} · WARN {warnings} · other {other}", + "desktop.logs.invalidTime": "Enter the time as YYYY-MM-DD HH:MM:SS.", + "desktop.logs.logDirectory": "Log directory", + "desktop.logs.logs": "Logs", + "desktop.logs.newLogs": "↓ {count} new logs, jump to latest", + "desktop.logs.operation": "Op {op} · {count} records · {duration}", + "desktop.logs.paused": "Paused", + "desktop.logs.rejected": "rejected {count} (latest: {event} {code})", + "desktop.logs.repeated": "Repeated {count} times · last {last}", + "desktop.logs.revealInFinder": "Reveal in Finder", + "desktop.logs.savedTo": "Saved to {path}", + "desktop.logs.sourceLine": "line {line}", + "desktop.logs.writeFailures": "write failures {count}", + "desktop.lsp.filterPlaceholder": "Filter log messages", + "desktop.lsp.managePlugins": "Manage Language Server Plugins…", + "desktop.lsp.noFilteredLog": "No log line matches the filter.", + "desktop.lsp.noLog": "This server has reported nothing yet.", + "desktop.lsp.noServers": "No language server is running.", + "desktop.lsp.preparationCancelled": "Language service preparation cancelled", + "desktop.lsp.restartServer": "Restart Server", + "desktop.lsp.state": "State: {state}", + "desktop.lsp.stopServer": "Stop Server", + "desktop.markdown.closeImage": "Close image", + "desktop.markdown.contents": "Contents", + "desktop.markdown.empty": "Nothing to preview", + "desktop.markdown.imagePreview": "Image preview", + "desktop.markdown.markmap": "Mind map", + "desktop.markdown.markmapFailed": "Could not draw this mind map.", + "desktop.markdown.mermaidFailed": "Could not draw this Mermaid diagram.", + "desktop.markdown.preview": "Rendered Markdown", + "desktop.markdown.tooLarge": "This file is too large to preview.", + "desktop.marketplace.cancel": "Cancel", + "desktop.marketplace.communitySource": "Lithe Store", + "desktop.marketplace.confirmInstall": "Install", + "desktop.marketplace.connecting": "Connecting to the download source…", + "desktop.marketplace.downloadProgress": "Downloading plugin… {received} / {total} MiB", + "desktop.marketplace.downloadPrompt": "Download this plugin? After verification, you can review its permissions and programs before installing. If a previous approval still covers this package, installation continues automatically.", + "desktop.marketplace.downloadReceived": "Downloading plugin… {received} MiB", + "desktop.marketplace.downloadTitle": "Download plugin", + "desktop.marketplace.enable": "Enable", + "desktop.marketplace.failureChecksum": "The downloaded package failed integrity verification. Retry to download a fresh copy.", + "desktop.marketplace.failureHelp": "The package could not be downloaded, verified or installed. Retry; if it fails again, open Diagnostics to view the error details.", + "desktop.marketplace.failureNetwork": "Could not download the package. Check your network and proxy settings, then retry.", + "desktop.marketplace.failurePermission": "Lithe could not access the required files. Check folder permissions, then retry.", + "desktop.marketplace.failureTimeout": "The operation timed out. Check your connection and try again.", + "desktop.marketplace.install": "Install", + "desktop.marketplace.installComplete": "Installation complete", + "desktop.marketplace.installCompleteHelp": "The plugin is installed. You can check its enabled state in Installed plugins.", + "desktop.marketplace.installFailed": "The plugin could not be installed.", + "desktop.marketplace.installFromFile": "Install from file…", + "desktop.marketplace.installHelp": "Download and verify the package first, then review its permissions. Installation starts only after you confirm.", + "desktop.marketplace.installTitle": "Install plugin", + "desktop.marketplace.installedSource": "Installed", + "desktop.marketplace.languageServerDisplaced": "Turned off {disabled}: {enabled} also provides the {languages} language server, and only one plugin can serve a language.", + "desktop.marketplace.noFeatures": "This plugin declares no features.", + "desktop.marketplace.officialSource": "Official", + "desktop.marketplace.packageFilter": "Plugin package", + "desktop.marketplace.permissionBackend": "Start the plugin’s background service", + "desktop.marketplace.permissionBuild": "Run build tools for your projects", + "desktop.marketplace.permissionCommandsInstall": "Install the command-line tools the plugin needs (asks you before each installation)", + "desktop.marketplace.permissionDebug": "Start a debugger for your programs", + "desktop.marketplace.permissionGenerate": "Create project files in the location you choose", + "desktop.marketplace.permissionRuntimesInstall": "Download and install the plugin’s declared runtime dependencies. Existing verified installations are reused across plugin updates.", + "desktop.marketplace.programDetails": "Program declarations ({count}) — show / hide details", + "desktop.marketplace.queryTooLong": "Search query is too long", + "desktop.marketplace.reviewConsent": "Install only if you trust this source. Installing approves the permissions and programs declared by this package.", + "desktop.marketplace.reviewEmpty": "This plugin asks for no permissions and starts no programs.", + "desktop.marketplace.reviewPermissions": "Permissions", + "desktop.marketplace.reviewPrograms": "Programs", + "desktop.marketplace.reviewTitle": "Review plugin", + "desktop.marketplace.runtimeChecking": "Checking {dependency}…", + "desktop.marketplace.runtimeDownloading": "Downloading {dependency}… {received} / {total} MiB", + "desktop.marketplace.runtimeExtracting": "Unpacking {dependency}…", + "desktop.marketplace.runtimeFailureHelp": "The runtime environment could not be prepared. Installed plugin versions and verified downloads have been kept. Retry to continue.", + "desktop.marketplace.runtimeReady": "{dependency} is ready", + "desktop.marketplace.runtimeReceived": "Downloading {dependency}… {received} MiB", + "desktop.marketplace.runtimeRepairing": "Repairing {dependency}…", + "desktop.marketplace.runtimeVerifying": "Verifying {dependency}…", + "desktop.marketplace.sourceInvalid": "Enter an HTTPS address for the index.", + "desktop.marketplace.sourceUnavailable": "Source unavailable: {source}", + "desktop.marketplace.tab.settings": "Settings", + "desktop.marketplace.uninstall": "Uninstall", + "desktop.marketplace.verifying": "Extracting and verifying plugin…", + "desktop.memory.belowMegabyte": "< 1 MB", + "desktop.memory.childProcesses": "Other child processes", + "desktop.memory.columnCPU": "CPU", + "desktop.memory.columnCompressed": "Swapped out", + "desktop.memory.columnGPU": "GPU", + "desktop.memory.columnInMemory": "In memory", + "desktop.memory.gigabytes": "{value} GB", + "desktop.memory.help": "Counts the Lithe main process and every process that belongs to it: language servers, plugin services, child processes such as terminals and runs, and the helpers the system starts for Lithe, such as the WebKit processes that show web pages and previews.", + "desktop.memory.helpFigures": "“In memory” is the physical memory the processes hold now; the status bar and the total count only this. “Swapped out” is what the system compressed or wrote to disk for them, which “In memory” does not include. CPU and GPU are the use between two readings at least a second apart, GPU being the busiest graphics engine; the GPU is read only while the details are open, so its use shows a moment after they open.", + "desktop.memory.helpLinux": "“In memory” is the resident memory less its shared pages; “Swapped out” is what was moved to swap, zram included. CPU counts one fully busy core as 100%, as top does; GPU comes from the engine times the DRM driver reports.", + "desktop.memory.helpMacOS": "“In memory” and “Swapped out” add up to what the Memory column of Activity Monitor shows; “Swapped out” is its compressed part. CPU counts one fully busy core as 100%, as Activity Monitor does.", + "desktop.memory.helpWindows": "“In memory” is the private working set, which the Memory column of Task Manager shows. Windows does not report how much of a process it compressed, so “Swapped out” is the private commit outside the working set: memory compressed, written to the page file or not yet touched, an upper bound. “GPU memory” is what the Dedicated GPU memory column of Task Manager shows. CPU counts all logical processors fully busy as 100%, as Task Manager does.", + "desktop.memory.host": "Lithe main process", + "desktop.memory.languageServer": "{plugin} · {language}", + "desktop.memory.languageServers": "Language servers", + "desktop.memory.megabytes": "{value} MB", + "desktop.memory.noOtherProcesses": "Lithe has not started any other process.", + "desktop.memory.omitted": "{count} more, {value} in total", + "desktop.memory.percent": "{value}%", + "desktop.memory.processCount": "{count} processes", + "desktop.memory.processes": "Processes", + "desktop.memory.reading": "Reading processes…", + "desktop.memory.services": "Plugin services", + "desktop.memory.statCPU": "CPU {value}", + "desktop.memory.statCompressed": "Swapped out {value}", + "desktop.memory.statGPU": "GPU {value}", + "desktop.memory.statGPUMemory": "GPU memory {value}", + "desktop.memory.statSeparator": " · ", + "desktop.memory.status": "{total} · Lithe {lithe}", + "desktop.memory.systemHelpers": "System helpers", + "desktop.memory.title": "Memory", + "desktop.memory.tooltip": "Memory: {total} in total, {lithe} of it in the Lithe main process.", + "desktop.memory.unavailable": "Process memory could not be read.", + "desktop.menu.open": "Menu", + "desktop.nativePanel.empty": "Nothing to show.", + "desktop.nativePanel.failed": "The plugin could not run this action.", + "desktop.nativePanel.multipleInstances": "This workspace has several build system instances; the panel cannot choose one.", + "desktop.nativePanel.noInstance": "This workspace has no build system instance for this panel.", + "desktop.nativePanel.sourceFailed": "The plugin could not load this panel.", + "desktop.navigation.historyUnavailable": "That location no longer exists.", + "desktop.navigation.label": "[Line] [:column]:", + "desktop.navigation.title": "Go to Line:Column", + "desktop.nested.collapse": "Collapse Repository", + "desktop.nested.expand": "Expand Repository", + "desktop.nested.refUnchanged": "The parent repository's reference to this submodule is unchanged. Commit here, then update the parent to record it.", + "desktop.nested.rootToggle": "Show {name} in the Log", + "desktop.nested.roots": "Roots", + "desktop.nested.rootsAll": "Select All", + "desktop.newProject.advanced": "Advanced Settings", + "desktop.newProject.archiveInvalid": "The downloaded archive is not a valid project.", + "desktop.newProject.cancel": "Cancel", + "desktop.newProject.choose": "Choose…", + "desktop.newProject.chooseFailed": "Could not open the folder chooser. Enter the location instead.", + "desktop.newProject.commandFailed": "The generator's command failed. See the output below.", + "desktop.newProject.commandMissing": "A tool this generator runs is not installed: {command}.", + "desktop.newProject.create": "Create", + "desktop.newProject.createdInterrupted": "The project folder was created, but the operation was interrupted. You can open the folder.", + "desktop.newProject.creating": "Creating…", + "desktop.newProject.defaultName": "untitled", + "desktop.newProject.description": "A basic project with a free structure.", + "desktop.newProject.downloadFailed": "Could not download the project template. Check the network and the server address.", + "desktop.newProject.empty": "Empty Project", + "desktop.newProject.exists": "A file or folder with this name already exists. Choose another name or location.", + "desktop.newProject.failed": "Could not create the project. Check the location and try again.", + "desktop.newProject.findPlugin": "Find in Marketplace", + "desktop.newProject.generators": "Generators", + "desktop.newProject.git": "Create Git repository", + "desktop.newProject.gitFailed": "The project folder was created, but Git initialization failed. You can open the folder and initialize Git later.", + "desktop.newProject.invalidLocation": "Choose an absolute project location.", + "desktop.newProject.invalidName": "Enter a valid project name without path separators, a leading dash, or surrounding spaces.", + "desktop.newProject.location": "Location", + "desktop.newProject.name": "Name", + "desktop.newProject.noInstallation": "No installation was found.", + "desktop.newProject.none": "None", + "desktop.newProject.openCreated": "Open Created Project", + "desktop.newProject.output": "Output", + "desktop.newProject.pathPreview": "Project will be created in: {path}", + "desktop.newProject.pinFailed": "The project was created, but the tool you selected could not be saved. You can choose it again in the toolchain settings.", + "desktop.newProject.problem.invalidFormat": "The value has an invalid format.", + "desktop.newProject.problem.required": "This field is required.", + "desktop.newProject.problem.tooLong": "The value is too long.", + "desktop.newProject.problem.toolTooOld": "The selected version is too old.", + "desktop.newProject.problem.unsupportedValue": "This value is not supported.", + "desktop.newProject.problem.versionTooHigh": "The value names a newer version than the selected tool supports.", + "desktop.newProject.requiresPlugin": "This generator needs {name}.", + "desktop.newProject.section": "New Project", + "desktop.newProject.stepProgress": "Step {step} of {total}", + "desktop.newProject.timedOut": "The generator took too long and was stopped.", + "desktop.newProject.title": "New Project", + "desktop.newProject.tooOld": "too old", + "desktop.newProject.toolsFailed": "Could not look up the installed tools. Check the plugins and try again.", + "desktop.newProject.usesNetwork": "This generator downloads files from the network.", + "desktop.notifications.clear": "Clear", + "desktop.notifications.empty": "No notifications", + "desktop.notifications.meta": "{time} · {count} times", + "desktop.notifications.repeated": "{message} ({count})", + "desktop.notifications.title": "Notifications", + "desktop.notifications.unread": "Notifications, {count} unread", + "desktop.notifications.viewLogs": "View Logs", + "desktop.outline.empty": "No symbols in this file.", + "desktop.outline.failed": "Could not get the structure of this file.", + "desktop.outline.filter": "Filter symbols", + "desktop.outline.follow": "Select the symbol at the caret", + "desktop.outline.loading": "Loading structure...", + "desktop.outline.matches": "Matches: {matches}/{total}", + "desktop.outline.noFile": "Open a file to see its structure.", + "desktop.outline.noHeadings": "This file has no headings.", + "desktop.outline.noServerHint": "Install a plugin that supports this language to see the file's classes, functions and fields here.", + "desktop.outline.serverDown": "The language server is not running, so the structure cannot be shown.", + "desktop.outline.serverDownHint": "See the language server's status and log in the status bar.", + "desktop.outline.sort": "Sort by name", + "desktop.outline.starting": "Language server is starting…", + "desktop.outline.tooLarge": "This file is too large to show its structure.", + "desktop.outline.unavailable": "No language server provides the structure of this file.", + "desktop.outline.unsupported": "The language server of this file does not provide its structure.", + "desktop.panel.header": "Tool window header", + "desktop.panel.hide": "Hide", + "desktop.panel.placeholder": "This tool window is connected in a later version", + "desktop.pluginHost.contentFailed": "Could not open {uri}: the plugin did not provide its content.", + "desktop.pluginHost.messageDismiss": "Dismiss", + "desktop.pluginHost.messageFrom": "Message from {plugin}", + "desktop.pluginHost.messageOK": "OK", + "desktop.pluginHost.terminalAllow": "Run", + "desktop.pluginHost.terminalConsentDetails": "Program: {program}\nArguments: {arguments}\nDirectory: {directory}", + "desktop.pluginHost.terminalConsentTitle": "{plugin} wants to run a program in a terminal", + "desktop.pluginHost.terminalDeny": "Cancel", + "desktop.pluginSettings.actionCancel": "Cancel", + "desktop.pluginSettings.actionCanceled": "Action canceled.", + "desktop.pluginSettings.actionCompleted": "Action completed. Settings drafts have not been saved.", + "desktop.pluginSettings.actionConfirm": "Run “{action}” in this project? Unsaved settings remain drafts.", + "desktop.pluginSettings.actionContinue": "Run action", + "desktop.pluginSettings.actionDisabled": "Enable this plugin before running its actions.", + "desktop.pluginSettings.actionProviderUnavailable": "The plugin has no running provider for this action in this project. Start its language or build provider, then try again.", + "desktop.pluginSettings.browse": "Browse…", + "desktop.pluginSettings.conflict": "The source, plugin or project changed. Reload before saving; your draft is kept.", + "desktop.pluginSettings.contributor": "Plugin", + "desktop.pluginSettings.discardReload": "Discard draft and reload", + "desktop.pluginSettings.draftLimit": "Save or discard an existing plugin draft before opening another settings form.", + "desktop.pluginSettings.empty": "This plugin declares no settings.", + "desktop.pluginSettings.failed": "Could not read or save settings. Your draft is kept. Reload the source and try again.", + "desktop.pluginSettings.global": "Global", + "desktop.pluginSettings.globalOnly": "This setting can be changed in Global scope.", + "desktop.pluginSettings.invalidDocument": "The settings source is invalid. Correct its JSON before reloading; your draft is kept.", + "desktop.pluginSettings.invalidEdit": "Some draft values do not match the plugin declarations. Correct them and save again.", + "desktop.pluginSettings.invalidStored": "The stored value is invalid; the effective fallback is shown.", + "desktop.pluginSettings.openProject": "Open a project to edit project settings.", + "desktop.pluginSettings.pageUnavailable": "No enabled plugin currently contributes to this page.", + "desktop.pluginSettings.project": "Project", + "desktop.pluginSettings.range": "Range: {minimum}–{maximum} {unit}", + "desktop.pluginSettings.reload": "Reload", + "desktop.pluginSettings.reset": "Reset", + "desktop.pluginSettings.restart": "Restart language server", + "desktop.pluginSettings.restartFailed": "Could not finish restarting the language server. Close and reopen the project before trying again.", + "desktop.pluginSettings.restartRequired": "Saved changes need a language server restart to take effect.", + "desktop.pluginSettings.save": "Save", + "desktop.pluginSettings.saved": "Saved and read back from the source.", + "desktop.pluginSettings.scope": "Settings scope", + "desktop.pluginSettings.scopeHelp": "Global settings apply to every project. Project settings apply to this project only, and each value stored there overrides the global one. Save or reload your draft before switching scope.", + "desktop.pluginSettings.sourceChanged": "Settings changed in another window. Your draft is kept; reload before saving.", + "desktop.pluginSettings.title": "Plugin settings", + "desktop.pluginWeb.dialogTitle": "{plugin}: {title}", + "desktop.pluginWeb.fileFilter": "Files ({extensions})", + "desktop.pluginWeb.loading": "Opening…", + "desktop.pluginWeb.openFileTitle": "Choose a File for {plugin}", + "desktop.pluginWeb.saveFileTitle": "Save a File for {plugin}", + "desktop.pluginWeb.unavailable": "This window cannot be shown: {reason}", + "desktop.plugins.commandInstallCommand": "Command to run", + "desktop.plugins.commandInstallCommandsMissing": "The installation finished, but {commands} was not found in {directory}.", + "desktop.plugins.commandInstallError": "Could not install: {reason}", + "desktop.plugins.commandInstallFailed": "The installation failed with exit code {code}. See the output below.", + "desktop.plugins.commandInstallLocation": "Install location", + "desktop.plugins.commandInstallManaged": "A directory Lithe manages", + "desktop.plugins.commandInstallManagedHelp": "Used by Lithe only and removed with the plugin.", + "desktop.plugins.commandInstallNetwork": "The installation may download from the network.", + "desktop.plugins.commandInstallNoDirectory": "Could not find where {tool} installs by default.", + "desktop.plugins.commandInstallOutput": "Output", + "desktop.plugins.commandInstallPrompt": "{commands} will be installed with {tool}.", + "desktop.plugins.commandInstallStopped": "The installation ended unexpectedly. See the output below.", + "desktop.plugins.commandInstallTimedOut": "The installation did not finish within {seconds} seconds and was stopped.", + "desktop.plugins.commandInstallTitle": "Install {commands}", + "desktop.plugins.commandInstallToolDefault": "{tool}'s default location", + "desktop.plugins.commandInstallToolDefaultHelp": "Also available to the terminal and other programs, and kept when the plugin is removed.", + "desktop.plugins.commandInstallToolMissing": "{tool} not found. Install it first, or set where it is in Settings > Build, Execution, Deployment > Toolchains.", + "desktop.plugins.commandInstalled": "Installed in {directory}.", + "desktop.plugins.commandMissing": "{commands} not found", + "desktop.plugins.commandMissingBanner": "{commands} not found; some of the plugin's features will not work.", + "desktop.plugins.commandMissingHelp": "{commands} not found. Install it in Settings > Plugins, or add it to PATH.", + "desktop.plugins.commandMissingManual": "This plugin offers no way to install it. Install it yourself and make sure it is on PATH.", + "desktop.plugins.installedOnThisComputer": "Uses a program on this computer: {arg1}", + "desktop.problems.group.file": "By file", + "desktop.problems.group.none": "No grouping", + "desktop.problems.group.severity": "By severity", + "desktop.problems.groupHeading": "Group By", + "desktop.problems.noOpenFile": "No file is open.", + "desktop.problems.previewEmpty": "Select a problem to preview its source.", + "desktop.problems.scope.file": "File", + "desktop.problems.scope.fileCount": "File {count}", + "desktop.problems.scope.project": "Project", + "desktop.problems.scope.projectCount": "Project {count}", + "desktop.problems.severity.error": "Errors", + "desktop.problems.severity.hint": "Hints", + "desktop.problems.severity.information": "Information", + "desktop.problems.severity.unknown": "Unknown severity", + "desktop.problems.severity.warning": "Warnings", + "desktop.problems.showErrors": "Errors", + "desktop.problems.showHeading": "Show", + "desktop.problems.showInfo": "Information", + "desktop.problems.showPreview": "Show Editor Preview", + "desktop.problems.showWarnings": "Warnings", + "desktop.problems.viewOptions": "View Options", + "desktop.process.forceStop": "Force Stop", + "desktop.project.empty": "Empty folder", + "desktop.project.expandAllIncomplete": "Some folders were not expanded: the project has too many.", + "desktop.project.loading": "Loading…", + "desktop.project.readFailed": "Could not read: {reason}", + "desktop.project.rootUnavailable": "The project directory is unavailable.", + "desktop.project.watchUnavailable": "Project files may not update automatically.", + "desktop.projectOpen.cancel": "Cancel", + "desktop.projectOpen.newWindowFailed": "Could not open the project in a new window: {reason}", + "desktop.pull.button": "Pull", + "desktop.pull.fastForward": "Fast-forward only", + "desktop.pull.loading": "Reading repositories…", + "desktop.pull.menu": "Pull…", + "desktop.pull.merge": "Merge", + "desktop.pull.noBranch": "The selected remote has no branches.", + "desktop.pull.noRemote": "This repository has no remote.", + "desktop.pull.prompt": "Pull the chosen remote branch into the branch checked out in the repository.", + "desktop.pull.readFailed": "Could not read the repository: {reason}", + "desktop.pull.rebase": "Rebase", + "desktop.pull.remote": "Remote", + "desktop.pull.remoteBranch": "Remote branch", + "desktop.pull.repository": "Repository", + "desktop.pull.strategy": "Strategy", + "desktop.pull.title": "Pull", + "desktop.rebase.abort": "Abort", + "desktop.rebase.action.drop": "Drop", + "desktop.rebase.action.edit": "Edit", + "desktop.rebase.action.fixup": "Fixup", + "desktop.rebase.action.pick": "Pick", + "desktop.rebase.action.reword": "Reword", + "desktop.rebase.action.squash": "Squash", + "desktop.rebase.amend": "Edit Message and Continue", + "desktop.rebase.amendTitle": "Amend Commit Message", + "desktop.rebase.conflicts": "{count} conflicted files", + "desktop.rebase.continue": "Continue", + "desktop.rebase.controlFailed": "Could not continue the rebase: {reason}", + "desktop.rebase.description": "Replay the commits after {hash}.", + "desktop.rebase.empty": "No commits to rebase after this commit.", + "desktop.rebase.fromHere": "Rebase from Here…", + "desktop.rebase.loading": "Reading the commits to rebase…", + "desktop.rebase.messageApply": "Apply", + "desktop.rebase.messageTitle": "Commit Message", + "desktop.rebase.moveDown": "Down", + "desktop.rebase.moveUp": "Up", + "desktop.rebase.skip": "Skip", + "desktop.rebase.slotBusy": "Finish the rebase in progress before starting another one.", + "desktop.rebase.start": "Start Rebase", + "desktop.rebase.status": "Rebase: {status}", + "desktop.rebase.title": "Rebase from Here", + "desktop.recentFiles.edited": "Recent edits", + "desktop.recentFiles.empty": "No matching recent files.", + "desktop.recentFiles.failed": "Could not read recent files.", + "desktop.recentFiles.query": "Search recent files", + "desktop.recentFiles.title": "Recent files", + "desktop.references.closeSearch": "Close Search Results", + "desktop.references.empty": "Run Find Usages (Shift+F12) to list references here.", + "desktop.references.nextUsage": "Next Usage", + "desktop.references.previewEmpty": "Select a usage to preview it.", + "desktop.references.previousUsage": "Previous Usage", + "desktop.references.resultCount": "{count} results", + "desktop.references.resultCountOne": "1 result", + "desktop.references.showPreview": "Show Preview", + "desktop.references.usageCount": "{count} usages", + "desktop.references.usageCountOne": "1 usage", + "desktop.references.usages": "Usages", + "desktop.refs.checkedOutAndRebased": "Checked out {branch} and rebased it onto the previous branch", + "desktop.refs.mergeConfirm": "Merge {branch} into the current branch. If Git stops at conflicts, the Commit tool window shows the merge until you continue or abort it.", + "desktop.refs.merged": "Merged {branch} into the current branch", + "desktop.refs.rebaseConfirm": "Replay the current branch onto {branch}. If Git stops at conflicts, the Commit tool window shows the rebase until you continue or abort it.", + "desktop.refs.rebased": "Rebased the current branch onto {branch}", + "desktop.refs.trackingSet": "{branch} now tracks {upstream}", + "desktop.refs.trackingStopped": "{branch} no longer tracks a remote branch", + "desktop.run.closeSession": "Close", + "desktop.run.durationHours": "{hours} h {minutes} min", + "desktop.run.durationMilliseconds": "{milliseconds} ms", + "desktop.run.durationMinutes": "{minutes} min {seconds} s", + "desktop.run.durationSeconds": "{seconds} s {milliseconds} ms", + "desktop.run.empty": "Output of run configurations and build tasks appears here.", + "desktop.run.ended": "Process finished.", + "desktop.run.exited": "Process finished with exit code {code}.", + "desktop.run.linkMissing": "The linked file was not found in the workspace.", + "desktop.run.linkUnresolved": "The plugin could not resolve this link.", + "desktop.run.performance.cpu": "CPU {percent}%", + "desktop.run.performance.memory": "Memory {megabytes} MB", + "desktop.run.rerun": "Run again", + "desktop.run.signalled": "Process stopped by signal {signal}.", + "desktop.run.snapshot.menu": "Snapshot output", + "desktop.run.snapshot.tab": "{label} (snapshot)", + "desktop.run.startedAt": ": at {time}", + "desktop.run.statusFailed": "Failed", + "desktop.run.statusRunning": "Running", + "desktop.run.statusStopped": "Stopped", + "desktop.run.statusSucceeded": "Succeeded", + "desktop.runConfig.addNew": "Add New…", + "desktop.runConfig.addNewConfiguration": "Add New Run Configuration…", + "desktop.runConfig.allowMultipleInstancesHelp": "Checked, starting the configuration while it runs starts another instance beside the running one; unchecked, the running instance is stopped and started again.", + "desktop.runConfig.apply": "Apply", + "desktop.runConfig.arguments": "Program arguments", + "desktop.runConfig.argumentsPlaceholder": "Arguments for the program, e.g. --port 8080; separate with spaces and quote one that contains spaces", + "desktop.runConfig.arrangeFailed": "Could not save the folders and order: {reason}", + "desktop.runConfig.automaticValue": "Automatic ({value})", + "desktop.runConfig.beforeLaunch.confirmBody": "Before {name} starts, the project's run configuration file asks to run these commands. Run them only if you trust this project.", + "desktop.runConfig.beforeLaunch.confirmRun": "Run Steps", + "desktop.runConfig.beforeLaunch.confirmTitle": "Run steps from the project file?", + "desktop.runConfig.beforeLaunch.exited": "Before-launch step {name} exited with code {code}; the configuration was not started.", + "desktop.runConfig.beforeLaunch.failed": "Before-launch step {name} could not run: {reason}", + "desktop.runConfig.beforeLaunch.refused.cycle": "Before-launch steps form a loop at {step}.", + "desktop.runConfig.beforeLaunch.refused.invalidTaskValues": "The before-launch task {task} of {step} has invalid settings; edit it again in the run configuration.", + "desktop.runConfig.beforeLaunch.refused.notAllowed": "{step} cannot be a before-launch step: only shell, PowerShell, batch and executable runs can.", + "desktop.runConfig.beforeLaunch.refused.notFound": "A before-launch step names configuration {step}, which does not exist.", + "desktop.runConfig.beforeLaunch.refused.other": "Before-launch step {step} cannot run.", + "desktop.runConfig.beforeLaunch.refused.taskNotDeclared": "No installed, enabled plugin provides the before-launch task {task} of {step}.", + "desktop.runConfig.beforeLaunch.refused.tooLong": "Too many before-launch steps at {step}: at most 32 run once nested steps are expanded.", + "desktop.runConfig.beforeLaunch.refused.unavailable": "Before-launch step {step} is not available on this system.", + "desktop.runConfig.beforeLaunch.stepHeader": "Before launch ({index}/{count}): {name}", + "desktop.runConfig.beforeLaunchAdd": "Add task", + "desktop.runConfig.beforeLaunchChooseTitle": "Choose Configuration to Execute", + "desktop.runConfig.beforeLaunchDown": "Move down", + "desktop.runConfig.beforeLaunchEdit": "Edit Task", + "desktop.runConfig.beforeLaunchEmpty": "There are no tasks to run before launch", + "desktop.runConfig.beforeLaunchHelp": "Tasks that run, in order, before this configuration: another run configuration, or a task a plugin provides. It starts only after each of them exits with code 0.", + "desktop.runConfig.beforeLaunchMenuTitle": "Add New Task", + "desktop.runConfig.beforeLaunchMissing": "Missing configuration {id}", + "desktop.runConfig.beforeLaunchNoCandidates": "No script or program runs yet", + "desktop.runConfig.beforeLaunchRemove": "Remove step", + "desktop.runConfig.beforeLaunchRunAnother": "Run Another Configuration", + "desktop.runConfig.beforeLaunchRunStep": "Run '{name}'", + "desktop.runConfig.beforeLaunchTaskMissing": "{name} (its plugin is not installed or is turned off)", + "desktop.runConfig.beforeLaunchUp": "Move up", + "desktop.runConfig.browse": "Browse…", + "desktop.runConfig.builtInGroup": "Scripts and Programs", + "desktop.runConfig.chooseFailed": "Could not open the file chooser.", + "desktop.runConfig.conflict": "The file changed on disk while saving. Close the editor, reopen it and try again.", + "desktop.runConfig.copyConfiguration": "Copy Configuration", + "desktop.runConfig.copyFailed": "Could not copy the run configuration: {reason}", + "desktop.runConfig.copyName": "{name} (Copy)", + "desktop.runConfig.copyPendingHint": "The copy is made when you press Apply or OK; its options can be edited after that.", + "desktop.runConfig.delete": "Delete", + "desktop.runConfig.deleteBody": "Delete “{name}”? It is removed from the run configuration file it is saved in.", + "desktop.runConfig.deleteFailed": "Could not delete the run configuration: {reason}", + "desktop.runConfig.deleteTitle": "Delete Run Configuration", + "desktop.runConfig.dialogTitle": "Run/Debug Configurations", + "desktop.runConfig.documentIgnored": "Not read: {file}", + "desktop.runConfig.emptyHint": "No run configurations yet. Click + to add a script or program run.", + "desktop.runConfig.emptyTree": "No run configurations added.", + "desktop.runConfig.entrypoint": "Entrypoint", + "desktop.runConfig.entrypointPlaceholder": "Provider default", + "desktop.runConfig.environment": "Environment variables", + "desktop.runConfig.environmentInvalid": "Line {line} is not KEY=VALUE.", + "desktop.runConfig.environmentPlaceholder": "One KEY=VALUE per line", + "desktop.runConfig.errorConflict": "Choose either a script file or script text", + "desktop.runConfig.errorDuplicate": "Duplicate variable name", + "desktop.runConfig.errorInvalidCharacter": "Contains a character that is not allowed", + "desktop.runConfig.errorInvalidName": "Invalid variable name", + "desktop.runConfig.errorInvalidPath": "Invalid path", + "desktop.runConfig.errorInvalidTaskValues": "The task settings are invalid; edit it again", + "desktop.runConfig.errorInvalidValue": "Invalid value", + "desktop.runConfig.errorNotAllowed": "Not allowed for this kind of configuration", + "desktop.runConfig.errorNotFound": "File or folder not found", + "desktop.runConfig.errorOther": "Invalid value ({code})", + "desktop.runConfig.errorOutsideProject": "The working directory must be inside the project", + "desktop.runConfig.errorRequired": "Required", + "desktop.runConfig.errorTaskNotDeclared": "No enabled plugin provides this task", + "desktop.runConfig.errorTooLong": "Too long", + "desktop.runConfig.errorUnavailable": "Not available on this system", + "desktop.runConfig.fieldAllowMultipleInstances": "Allow multiple instances", + "desktop.runConfig.fieldBeforeLaunch": "Before launch", + "desktop.runConfig.fieldExecutionPolicyBypass": "Bypass execution policy (-ExecutionPolicy Bypass)", + "desktop.runConfig.fieldInterpreter": "Interpreter path", + "desktop.runConfig.fieldInterpreterArguments": "Interpreter options", + "desktop.runConfig.fieldName": "Name", + "desktop.runConfig.fieldProgram": "Program path", + "desktop.runConfig.fieldScript": "Script path", + "desktop.runConfig.fieldScriptOptions": "Script options", + "desktop.runConfig.fieldSource": "Execute", + "desktop.runConfig.fieldStoreAsProjectFile": "Store as project file", + "desktop.runConfig.fieldText": "Script text", + "desktop.runConfig.folderHint": "Folders only organize the list and are saved with the configurations in them; an empty folder is not saved.", + "desktop.runConfig.folderNameEmpty": "Enter a folder name.", + "desktop.runConfig.folderNameInvalid": "A folder name can be at most 256 bytes and cannot contain control characters.", + "desktop.runConfig.folderNameTaken": "This kind already has a folder with this name.", + "desktop.runConfig.formTooNew": "Editing this run configuration needs a newer version of Lithe.", + "desktop.runConfig.interpreterArgumentsHelp": "Options placed before the script path and handled by the interpreter itself, such as bash's -x, which prints each command as it runs. The script does not see them. Left empty, the automatic options shown in brackets are used.", + "desktop.runConfig.interpreterArgumentsPlaceholder": "Options for the interpreter, e.g. -x", + "desktop.runConfig.interpreterAutomatic": "Automatic", + "desktop.runConfig.interpreterCustom": "Custom…", + "desktop.runConfig.interpreterCustomField": "Custom interpreter", + "desktop.runConfig.interpreterHelp": "Automatic uses the interpreter shown in brackets. You can also pick a shell of this kind that the terminal found, or choose Custom… to enter a command name, found on PATH, or the path of an executable.", + "desktop.runConfig.interpreterShell": "{name} ({path})", + "desktop.runConfig.loadFailed": "Run configurations are unavailable: {reason}", + "desktop.runConfig.newConfiguration": "New Configuration", + "desktop.runConfig.newConfigurationEllipsis": "New Run Configuration…", + "desktop.runConfig.newFolder": "New Folder", + "desktop.runConfig.newFolderName": "New Folder", + "desktop.runConfig.notEditable": "This run configuration can be edited once its plugin is available.", + "desktop.runConfig.noteWindowsOnly": "Takes effect on Windows only; other systems ignore it.", + "desktop.runConfig.ok": "OK", + "desktop.runConfig.optionDefault": "Default", + "desktop.runConfig.optionReadOnly": "Not editable here", + "desktop.runConfig.orSelectToEdit": "or select a run configuration to edit", + "desktop.runConfig.programArgumentsHelp": "Command-line arguments placed after the program path when it starts. Separate them with spaces; quote an argument that contains spaces.", + "desktop.runConfig.programArgumentsPlaceholder": "Arguments for the program, e.g. --port 8080", + "desktop.runConfig.programNotFound": "“{program}” was not found on PATH. Enter the full path of the interpreter or program.", + "desktop.runConfig.removeConfiguration": "Remove Configuration", + "desktop.runConfig.run": "Run", + "desktop.runConfig.runtimeArguments": "Runtime arguments", + "desktop.runConfig.runtimeArgumentsPlaceholder": "One argument per line", + "desktop.runConfig.saveFailed": "Could not save: {reason}", + "desktop.runConfig.scope": "Save to", + "desktop.runConfig.scopeLocal": "This machine (.lithe/run/local.yaml)", + "desktop.runConfig.scopeProject": "Project, shared (.lithe/run/configurations.yaml)", + "desktop.runConfig.scriptOptionsHelpBatch": "Arguments placed after the script path and passed to the script, which reads them as %1, %2… Separate them with spaces; quote an argument that contains spaces.", + "desktop.runConfig.scriptOptionsHelpPowerShell": "Arguments placed after the script path and passed to the script, which reads them through $args or param(). Separate them with spaces; quote an argument that contains spaces.", + "desktop.runConfig.scriptOptionsHelpShell": "Arguments placed after the script path and passed to the script, which reads them as $1, $2… Separate them with spaces; quote an argument that contains spaces.", + "desktop.runConfig.scriptOptionsPlaceholder": "Arguments for the script, e.g. --verbose input.txt", + "desktop.runConfig.sortAlphabetically": "Sort Alphabetically", + "desktop.runConfig.sourceFile": "Script file", + "desktop.runConfig.sourceText": "Script text", + "desktop.runConfig.storeAsProjectFileHelp": "Checked, the configuration is saved in .lithe/run/configurations.yaml and can be committed with the project; unchecked, it stays on this machine in .lithe/run/local.yaml.", + "desktop.runConfig.taskAddTitle": "Add Task: {name}", + "desktop.runConfig.taskCheckFailed": "Could not check the task: {reason}", + "desktop.runConfig.taskEditTitle": "Edit Task: {name}", + "desktop.runConfig.toolPath": "{arg1} {arg2}", + "desktop.runConfig.toolPathPlaceholder": "Empty uses automatic selection", + "desktop.runConfig.toolPick": "Tool installation", + "desktop.runConfig.toolPickNone": "Choose an installation…", + "desktop.runConfig.typeBatch": "Batch Script (cmd)", + "desktop.runConfig.typeExecutable": "Program", + "desktop.runConfig.typeNotRunnableHere": "Cannot run on this computer", + "desktop.runConfig.typePowerShell": "PowerShell Script", + "desktop.runConfig.typeShell": "Shell Script", + "desktop.runConfig.unavailableBatchPlatform": "Batch scripts run only on Windows. You can edit and save this configuration here, but not run it.", + "desktop.runConfig.unavailableInvalid": "The run configuration is invalid: {reason}", + "desktop.runConfig.unavailableMissingDirectory": "The working directory “{directory}” no longer exists. Edit the configuration to change it.", + "desktop.runConfig.unavailableOther": "This run configuration cannot run now: {reason}", + "desktop.runConfig.unavailablePlatform": "{type} cannot run on this system. You can edit and save this configuration, but not run it.", + "desktop.runConfig.unavailablePluginMissing": "Needs the plugin “{plugin}”, which is not installed or not enabled.", + "desktop.runConfig.unavailableRepositoryMismatch": "The installed “{plugin}” is not the plugin from {repository} the configuration records.", + "desktop.runConfig.unavailableVersionUnsupported": "The installed “{plugin}” does not meet the version requirement {requirement}.", + "desktop.runConfig.unnamed": "Unnamed", + "desktop.runConfig.variableAdd": "Add variable", + "desktop.runConfig.variableName": "Name", + "desktop.runConfig.variableRemove": "Remove variable", + "desktop.runConfig.variableValue": "Value", + "desktop.runConfig.windowsOnlyType": "Windows only", + "desktop.runConfig.workingDirectory": "Working directory", + "desktop.runConfig.workingDirectoryPlaceholder": "Path inside the workspace; empty uses the default", + "desktop.search.collapseFile": "Hide details", + "desktop.search.expandFile": "Show details", + "desktop.search.fileMaskPlaceholder": "File mask, e.g. *.java, *.kt", + "desktop.search.first200": "Showing the first 200 results. Narrow your search to see more.", + "desktop.search.noReplacements": "Nothing to replace.", + "desktop.search.replace": "Replace", + "desktop.search.replaceAll": "Replace All…", + "desktop.search.replaceConflict": "a file changed on disk while replacing", + "desktop.search.replaceDone": "Replaced in {files} files", + "desktop.search.replaceFailed": "Could not prepare the replacement: {reason}", + "desktop.search.replaceFile": "Replacement file", + "desktop.search.replacePartlyFailed": "Replaced in {changed} files; {failed} failed: {reason}", + "desktop.search.replacePlaceholder": "Replace with", + "desktop.search.replacePreviewTitle": "Replace in Files", + "desktop.search.replacePreviewing": "Finding replacements…", + "desktop.search.replaceSkipped": "Replaced in {changed} files; {skipped} files were left unchanged because they changed or are not UTF-8", + "desktop.search.replaceSummary": "{occurrences} occurrences in {files} files", + "desktop.search.replaceToggle": "Toggle Replace", + "desktop.search.watchUnavailable": "Could not monitor project changes. Refresh search results to check for changes.", + "desktop.semantics.completion": "Completion suggestions", + "desktop.semantics.completionFailed": "The completion could not be applied.", + "desktop.semantics.definitions": "Definitions", + "desktop.semantics.formatFailed": "The document could not be formatted.", + "desktop.semantics.formatNothing": "Nothing to format.", + "desktop.semantics.hover": "Hover information", + "desktop.semantics.noDefinition": "No definition found.", + "desktop.semantics.noReferences": "No references found.", + "desktop.semantics.noServer": "No language server is available for this file.", + "desktop.semantics.operationFailed": "The language server could not complete the request.", + "desktop.semantics.references": "References", + "desktop.semantics.renameApplied": "Renamed in {count} files.", + "desktop.semantics.renameButton": "Rename", + "desktop.semantics.renameCancel": "Cancel", + "desktop.semantics.renameDescription": "Rename every reference to this symbol.", + "desktop.semantics.renameFailed": "The rename could not be applied; files already written were restored.", + "desktop.semantics.renameName": "New name", + "desktop.semantics.renameNothing": "The language server returned no changes.", + "desktop.semantics.renamePartial": "Some open documents changed during the rename and were not updated.", + "desktop.semantics.renameRejected": "The rename touches files outside the project or read-only documents, so nothing was changed.", + "desktop.semantics.renameTitle": "Rename Symbol", + "desktop.semantics.targetUnavailable": "The target is not a local file and cannot be opened yet.", + "desktop.settings.about": "About", + "desktop.settings.about.build": "Build", + "desktop.settings.about.buildUnknown": "Not recorded", + "desktop.settings.about.community": "Community", + "desktop.settings.about.copied": "Copied", + "desktop.settings.about.copy": "Copy", + "desktop.settings.about.copyFailed": "Couldn't copy: {reason}", + "desktop.settings.about.copyHelp": "Copies the version, platform, build and runtime, ready to paste into an issue.", + "desktop.settings.about.core": "Rust Core", + "desktop.settings.about.coreHelp": "The Rust core the desktop clients share: projects, builds and plugins.", + "desktop.settings.about.info": "Version Info", + "desktop.settings.about.issues": "Report an Issue", + "desktop.settings.about.issuesHelp": "Report a bug or suggest a feature on GitHub.", + "desktop.settings.about.platform": "Platform", + "desktop.settings.about.project": "Project", + "desktop.settings.about.qq": "QQ Group", + "desktop.settings.about.qqHelp": "Group {number}: questions, feedback and chat.", + "desktop.settings.about.repo": "Source Code", + "desktop.settings.about.repoHelp": "Source, releases and discussions on GitHub.", + "desktop.settings.about.runtime": "Runtime", + "desktop.settings.about.tagline": "A lightweight, general-purpose, cross-platform IDE, flexibly configured with plugins", + "desktop.settings.about.version": "Version", + "desktop.settings.about.viva": "Viva", + "desktop.settings.about.vivaHelp": "Upstream of the Go-first, GPU-native desktop framework Lithe is drawn with.", + "desktop.settings.about.wechat": "WeChat Group", + "desktop.settings.about.wechatHelp": "Scan the QR code on the Feishu page to join.", + "desktop.settings.aiGeneration.help": "The provider and options for commit message generation and inline edits. These are Lithe's own preferences: they affect only this app and do not change the Codex or Claude configuration.", + "desktop.settings.aiGeneration.includeBody": "Generate a commit body", + "desktop.settings.aiGeneration.language": "Output language", + "desktop.settings.aiGeneration.languageChinese": "Simplified Chinese", + "desktop.settings.aiGeneration.languageEnglish": "English", + "desktop.settings.aiGeneration.languageInterface": "Follow the interface language", + "desktop.settings.aiGeneration.loading": "Loading…", + "desktop.settings.aiGeneration.page": "Generation", + "desktop.settings.aiGeneration.provider": "Provider", + "desktop.settings.aiGeneration.providerAuto": "Automatic (Codex, then Claude)", + "desktop.settings.aiGeneration.providerClaude": "Claude Code only", + "desktop.settings.aiGeneration.providerCodex": "Codex only", + "desktop.settings.aiGeneration.sourceReady": "{source}: {name}, model {model}, configuration {path}", + "desktop.settings.aiGeneration.sourceUnavailable": "{source}: no usable provider with a key", + "desktop.settings.aiGeneration.title": "Generation options", + "desktop.settings.appearanceHelp": "The appearance mode applies to every Lithe window at once", + "desktop.settings.categories": "Settings pages", + "desktop.settings.editor.tabLimit": "Tab limit", + "desktop.settings.editor.tabLimitCount": "Maximum open file tabs", + "desktop.settings.editor.tabLimitHelp": "Opening a file past the limit closes another file tab. Tabs with unsaved changes, terminals and Agent conversations are never closed.", + "desktop.settings.editor.tabLimitNone": "No limit", + "desktop.settings.editor.tabPolicy": "When the limit is reached, close", + "desktop.settings.editor.tabPolicyOldest": "The tab opened first", + "desktop.settings.editor.tabPolicyRecent": "The least recently used tab", + "desktop.settings.editorSemantic": "Semantic Highlighting", + "desktop.settings.editorSemanticHelp": "The language server colors classes, methods and variables. Turn this off to keep only the editor's syntax colors.", + "desktop.settings.editorTabs": "Editor Tabs", + "desktop.settings.editorTabsHelp": "How the tabs of an editor group are laid out when they do not all fit in one row", + "desktop.settings.followSystemEffective": "Follow System ({effective})", + "desktop.settings.fonts": "Fonts", + "desktop.settings.fontsEditHelp": "Check the places to change in the list above, one or more. Changes here take effect when you click Save, and the checked places then share them; Revert drops unsaved changes. Run output includes the output of runs, builds and tests and the Git console.", + "desktop.settings.fontsLigaturesHelp": "Draws character groups such as -> and != as one glyph. The font must support ligatures; run output does not show them yet.", + "desktop.settings.fontsLineSpacing": "Line Spacing", + "desktop.settings.fontsLineSpacingAuto": "Automatic ({value})", + "desktop.settings.fontsLineSpacingDecrease": "Decrease Line Spacing", + "desktop.settings.fontsLineSpacingIncrease": "Increase Line Spacing", + "desktop.settings.fontsLineSpacingScope": "{scope} {value}", + "desktop.settings.fontsLoading": "Reading installed fonts…", + "desktop.settings.fontsNoneChecked": "No Place Checked", + "desktop.settings.fontsNotInstalled": "{family} (not installed)", + "desktop.settings.fontsOverview": "Each Place", + "desktop.settings.fontsOverviewHelp": "The fonts the editor, the terminal and the run output are drawn with now. Check the places to change, then adjust them below and save.", + "desktop.settings.fontsPreview": "Preview", + "desktop.settings.fontsScopeEditor": "Editor", + "desktop.settings.fontsScopeOutput": "Run Output", + "desktop.settings.fontsScopeSeparator": ", ", + "desktop.settings.fontsScopeTerminal": "Terminal", + "desktop.settings.fontsSearch": "Search fonts", + "desktop.settings.fontsSizeDecrease": "Decrease Font Size", + "desktop.settings.fontsSizeIncrease": "Increase Font Size", + "desktop.settings.fontsSizeValue": "{size} pt", + "desktop.settings.fontsSummary": "{family} · {size} pt · line spacing {spacing}", + "desktop.settings.fontsSystemDefault": "System Default", + "desktop.settings.languageHelp": "The language of menus, buttons and messages", + "desktop.settings.layoutHint": "Drag the buttons on the stripes, title bar and status bar to rearrange them", + "desktop.settings.localHistory.builtInsHelp": "Folders hidden from the project tree are listed here too: Lithe's own, such as `**/.git/`, and those enabled plugins declare, such as a build's output folder. Files in a hidden folder are never recorded, even after you delete its line. A deleted line shows as a \"!\" line after Apply; delete that line to restore the rule.", + "desktop.settings.localHistory.help": "Local history keeps versions of a project's files as you save and edit them, in Lithe's own data folder. Ignore rules only keep files out of local history; the project tree still shows them.", + "desktop.settings.localHistory.invalidLimit": "Enter the limit as a whole number of megabytes, 1 or more, or leave it empty for the default.", + "desktop.settings.localHistory.regexHelp": "One per line, case-insensitive, matched anywhere in the project-relative path with `/` separators, for example `^build/` or `(test|spec)/`.", + "desktop.settings.localHistory.wildcardHelp": "One pattern per line, matched against the path inside the project, for example `*.log` or `**/generated/`.", + "desktop.settings.network.apply": "Apply", + "desktop.settings.network.clearPassword": "Remove Password", + "desktop.settings.network.custom": "Manual proxy configuration", + "desktop.settings.network.direct": "No proxy", + "desktop.settings.network.exclusions": "No proxy for", + "desktop.settings.network.exclusionsHelp": "Comma-separated hosts, domain suffixes (*.example.com), IP addresses, CIDR blocks, or for names without a dot.", + "desktop.settings.network.host": "Host", + "desktop.settings.network.ignoredExclusions": "These exclusions have none of the supported forms and are ignored: {entries}", + "desktop.settings.network.invalidPort": "The port must be a number from 1 to 65535.", + "desktop.settings.network.mode": "Connection", + "desktop.settings.network.password": "Password", + "desktop.settings.network.passwordStored": "Saved — leave empty to keep", + "desktop.settings.network.port": "Port", + "desktop.settings.network.proxy": "Proxy", + "desktop.settings.network.proxyHelp": "How Lithe's own requests (marketplace, downloads, AI providers, registries) reach the internet. Terminals and run processes keep their own environment.", + "desktop.settings.network.revert": "Revert", + "desktop.settings.network.system": "Use system proxy settings", + "desktop.settings.network.type": "Protocol", + "desktop.settings.network.username": "Username", + "desktop.settings.noMatches": "No matching settings", + "desktop.settings.ok": "OK", + "desktop.settings.pageLater": "This page is not available in the new desktop client yet", + "desktop.settings.processTermination.askBeforeEnding": "Ask before ending", + "desktop.settings.processTermination.askBeforeStopping": "Ask before stopping", + "desktop.settings.processTermination.confirmTabClose": "Ask before closing a tab or project with running programs", + "desktop.settings.processTermination.endWithoutAsking": "End without asking", + "desktop.settings.processTermination.leftoverTerminals": "Terminals left running", + "desktop.settings.processTermination.onQuit": "When Lithe quits", + "desktop.settings.processTermination.runServices": "Run services", + "desktop.settings.processTermination.runServicesHelp": "Run configurations and build tasks started in Lithe. They always stop when their project closes or Lithe quits, together with the processes they started; this only decides whether Lithe lists them and asks first.", + "desktop.settings.processTermination.seconds": "seconds", + "desktop.settings.processTermination.startupSweepHelp": "When Lithe crashes or is force quit, the next launch finds the programs it started that are still running. Runs, builds, debug adapters and tools are ended then; this decides whether terminals left running are listed and asked about first, or ended too.", + "desktop.settings.processTermination.stopTimeLonger": "Lengthen time to exit", + "desktop.settings.processTermination.stopTimeShorter": "Shorten time to exit", + "desktop.settings.processTermination.stopWithoutAsking": "Stop without asking", + "desktop.settings.processTermination.terminals": "Terminals with running programs", + "desktop.settings.processTermination.terminalsHelp": "A terminal is busy when a program other than the shell runs in it, such as a dev server or npm run dev. Idle terminals always close without asking. Ending a terminal ends the programs started in it; closing a project ends its terminals as if their tabs were closed.", + "desktop.settings.projectColors": "Differentiate projects with color", + "desktop.settings.projectColorsHelp": "Tints the title bar and the space around the panels with the project's color, the same color as its badge.", + "desktop.settings.projectOpen": "Open project in", + "desktop.settings.projectOpenAsk": "Ask", + "desktop.settings.resetLayout": "Restore Default Layout", + "desktop.settings.semanticHighlight": "Use semantic colors", + "desktop.settings.stepping.adapter": "Debugger", + "desktop.settings.stepping.apply": "Apply", + "desktop.settings.stepping.classFilters": "Do not step into classes", + "desktop.settings.stepping.classFiltersHelp": "One pattern per line, in the debugger's own syntax, for example java.*. The call stack dims the frames that match.", + "desktop.settings.stepping.customized": "Customized", + "desktop.settings.stepping.description": "Classes and methods the debugger steps over. Changes apply to the next debug session.", + "desktop.settings.stepping.hideFilteredFrames": "Collapse filtered frames in the call stack", + "desktop.settings.stepping.loadFailed": "Could not read the installed debuggers: {reason}", + "desktop.settings.stepping.loading": "Reading the installed debuggers…", + "desktop.settings.stepping.none": "No installed debugger takes stepping filters.", + "desktop.settings.stepping.restoreDefaults": "Use Plugin Defaults", + "desktop.settings.stepping.saveFailed": "Could not apply the stepping filters: {reason}", + "desktop.settings.stepping.saving": "Applying…", + "desktop.settings.stepping.skipConstructors": "Skip constructors", + "desktop.settings.stepping.skipStaticInitializers": "Skip static initializers", + "desktop.settings.stepping.skipSynthetics": "Skip synthetic methods", + "desktop.settings.stepping.title": "Debugger stepping", + "desktop.settings.stepping.usingDefaults": "Using the plugin's defaults", + "desktop.settings.system": "Follow System", + "desktop.settings.tabsMultipleRows": "Multiple rows", + "desktop.settings.tabsOneRow": "One row, if tabs don't fit:", + "desktop.settings.tabsScroll": "Scroll tab panel", + "desktop.settings.tabsShowIn": "Show tabs in:", + "desktop.settings.tabsSqueeze": "Squeeze tabs", + "desktop.settings.terminal.behavior": "Behavior", + "desktop.settings.terminal.clickMove": "Click to move cursor", + "desktop.settings.terminal.clickMoveHelp": "Clicking on the command being typed moves the cursor to where you clicked. Needs shell integration. Open terminals change at once.", + "desktop.settings.terminal.cursor": "Cursor", + "desktop.settings.terminal.cursorHelp": "The shape the cursor takes until a program asks for its own, and how thick the bar and underline draw. Open terminals change at once.", + "desktop.settings.terminal.cursorNormal": "Normal", + "desktop.settings.terminal.cursorShape": "Shape", + "desktop.settings.terminal.cursorShapeBar": "Bar", + "desktop.settings.terminal.cursorShapeBlock": "Block", + "desktop.settings.terminal.cursorShapeUnderline": "Underline", + "desktop.settings.terminal.cursorThick": "Thick", + "desktop.settings.terminal.cursorThickness": "Thickness", + "desktop.settings.terminal.cursorThin": "Thin", + "desktop.settings.terminal.optionAsMeta": "Use Option as Meta key", + "desktop.settings.terminal.optionAsMetaHelp": "Option with a letter sends Escape and the letter, so Option+B and Option+F move by word in shells and Emacs. Option then no longer types special characters or accents. Open terminals change at once.", + "desktop.settings.terminal.scrollback": "Scrollback", + "desktop.settings.terminal.scrollbackDefault": "Default", + "desktop.settings.terminal.scrollbackHelp": "How many lines of history a new terminal keeps above its screen (100–50,000). Open terminals keep their current limit.", + "desktop.settings.terminal.scrollbackLess": "Fewer lines", + "desktop.settings.terminal.scrollbackLines": "Lines kept", + "desktop.settings.terminal.scrollbackMore": "More lines", + "desktop.settings.terminal.shellIntegration": "Shell integration", + "desktop.settings.terminal.shellIntegrationHelp": "Lets the shell report its prompt, commands and current folder to Lithe. Clicking to move the cursor and keeping the prompt intact when a terminal is resized rely on it. Turned off, the shell starts as it is and those features stop. Terminals opened or restarted afterwards change.", + "desktop.settings.terminalShellHelp": "The shell a new terminal runs, including the one the Terminal tool window opens by itself. The ⌄ menu beside + opens a terminal in another installed shell.", + "desktop.settings.terminalShellMissing": "{path} (not found)", + "desktop.settings.unknownKept": "The settings file has {count} settings this version does not recognize ({keys}). This version ignores them but keeps them, so they still apply when you switch back to a version that knows them.", + "desktop.settings.updates.applying": "Building Lithe {version} from the delta update…", + "desktop.settings.updates.auto": "Check for updates automatically", + "desktop.settings.updates.autoHelp": "Checks 5 seconds after launch, then every hour. Checks pause while the window is in the background and catch up when it returns. The update server sees your IP address when Lithe checks.", + "desktop.settings.updates.available": "Lithe {version} is available.", + "desktop.settings.updates.availableDelta": "Lithe {version} is available as a {size} delta update ({full} in full).", + "desktop.settings.updates.channel": "Update channel", + "desktop.settings.updates.channelBusy": "The channel and feeds can't change while an update downloads or installs.", + "desktop.settings.updates.channelFollowsBuild": "Automatic ({channel})", + "desktop.settings.updates.channelHelp": "Stable gets released versions only. AutoBuild is built from every merge to main: newer, but it may break. Both channels share settings.", + "desktop.settings.updates.check": "Check Now", + "desktop.settings.updates.checking": "Checking for updates…", + "desktop.settings.updates.cross": "Lithe {version} from {channel} can be installed and replaces this build in full.", + "desktop.settings.updates.downloading": "Downloading Lithe {version}… {percent}%", + "desktop.settings.updates.downloadingDelta": "Downloading the Lithe {version} delta update… {percent}%", + "desktop.settings.updates.downloadingFull": "The delta update could not be used. Downloading Lithe {version} in full… {percent}%", + "desktop.settings.updates.failed": "Update failed: {reason}", + "desktop.settings.updates.help": "Lithe checks a signed release feed and installs the new version after you confirm. When the feed offers a delta update, only what changed is downloaded. The current version stays in place until the new one starts.", + "desktop.settings.updates.installing": "Installing and restarting…", + "desktop.settings.updates.lastChecked": "Last checked {time}", + "desktop.settings.updates.local": "This is a local development build. It belongs to no update channel and does not check for updates.", + "desktop.settings.updates.notConfigured": "This build has no update feed. Install new versions from the release page.", + "desktop.settings.updates.notes": "Release Notes", + "desktop.settings.updates.ready": "Lithe {version} is downloaded. Click Update to install and restart.", + "desktop.settings.updates.restore": "Restore my settings from when I last used {channel}", + "desktop.settings.updates.restoreHelp": "The new build starts with the snapshot saved then; update settings keep their current values. Leave it off to keep your current settings.", + "desktop.settings.updates.row": "Check for Updates", + "desktop.settings.updates.skipped": "Lithe {version} is skipped. You'll be told about the next one.", + "desktop.settings.updates.source": "{channel} feed", + "desktop.settings.updates.sourceCustom": "Custom feed. Its releases must still be signed with a key this build trusts.", + "desktop.settings.updates.sourceDefault": "Default ({repo})", + "desktop.settings.updates.sourceHelp": "A feed is a signed JSON file. Lithe installs only releases whose signature this build can verify.", + "desktop.settings.updates.sourceInvalid": "A feed must be an https:// address.", + "desktop.settings.updates.sourceReset": "Restore Default", + "desktop.settings.updates.sourceSave": "Save", + "desktop.settings.updates.title": "Updates", + "desktop.settings.updates.toAutoBuild.body": "AutoBuild is built from every merge to main without release testing, so it may have bugs. Lithe checks AutoBuild's latest build at once and shows what changed before you choose to download it; it replaces this build in full.", + "desktop.settings.updates.toAutoBuild.confirm": "Switch to AutoBuild", + "desktop.settings.updates.toAutoBuild.title": "Switch to AutoBuild?", + "desktop.settings.updates.toStable.body": "Wait for the first stable release after {version}, so nothing older is installed, or install the latest stable release now, which may be older than this build.", + "desktop.settings.updates.toStable.now": "Switch Now", + "desktop.settings.updates.toStable.title": "Switch Back to Stable?", + "desktop.settings.updates.toStable.wait": "Wait for Next Release", + "desktop.settings.updates.upToDate": "Lithe {version} is up to date.", + "desktop.settings.updates.update": "Update", + "desktop.settings.updates.waiting": "Lithe moves back to Stable with the first stable release after {version}.", + "desktop.sourceSettings.add": "Add override", + "desktop.sourceSettings.allEntriesShown": "All available entries are shown.", + "desktop.sourceSettings.cancel": "Cancel", + "desktop.sourceSettings.chooseNone": "Everything that can be added is already listed.", + "desktop.sourceSettings.chooseTitle": "Add {title}", + "desktop.sourceSettings.close": "Back", + "desktop.sourceSettings.compilerTitle": "{compiler} Compiler", + "desktop.sourceSettings.effective": "Effective: {value}", + "desktop.sourceSettings.entryAdd": "Add", + "desktop.sourceSettings.entryDown": "Move down", + "desktop.sourceSettings.entryEmpty": "No entries", + "desktop.sourceSettings.entryKind": "{title}…", + "desktop.sourceSettings.entryRemove": "Remove", + "desktop.sourceSettings.entryUp": "Move up", + "desktop.sourceSettings.fileCount": "{count} entries", + "desktop.sourceSettings.inherit": "Inherit ({value})", + "desktop.sourceSettings.modules": "Modules", + "desktop.sourceSettings.noValue": "Not determined", + "desktop.sourceSettings.remove": "Inherit project defaults", + "desktop.startupSweep.body": "{arg1} processes started by an earlier run of Lithe are still running. Ending them stops them.", + "desktop.startupSweep.end": "End them", + "desktop.startupSweep.item": "{arg1} PID {arg2} {arg3}", + "desktop.startupSweep.keep": "Keep them running", + "desktop.startupSweep.kind.build": "Build", + "desktop.startupSweep.kind.debug": "Debug", + "desktop.startupSweep.kind.process": "Process", + "desktop.startupSweep.kind.run": "Run", + "desktop.startupSweep.kind.terminal": "Terminal", + "desktop.startupSweep.title": "Leftover processes", + "desktop.status.caret": "Caret position", + "desktop.status.encoding": "Text encoding", + "desktop.status.fPS": "Frame rate", + "desktop.status.fpsTooltip": "Frame rate: frames the UI thread was free to show in the last second. At rest it is the display's refresh rate; it drops while the UI thread is held up, not while work is still running in the background.", + "desktop.status.healthy": "Running normally", + "desktop.status.indent": "Indentation", + "desktop.status.indentSpaces": "{count} spaces", + "desktop.status.indentTab": "Tab width: {width}", + "desktop.status.lSPNotStarted": "LSP not started", + "desktop.status.lineEnding": "Line separator", + "desktop.status.lineEndingCRLF": "CRLF", + "desktop.status.lineEndingLF": "LF", + "desktop.status.lspFailed": "LSP failed", + "desktop.status.lspReady": "LSP ready", + "desktop.status.lspStarting": "LSP starting", + "desktop.status.lspStopped": "LSP stopped", + "desktop.status.memory": "Memory", + "desktop.status.noChanges": "No changes", + "desktop.status.oneProblem": "1 problem", + "desktop.status.path": "Path", + "desktop.status.problems": "{count} problems", + "desktop.status.readOnly": "Read-only", + "desktop.status.vim": "Vim", + "desktop.status.writable": "Editable", + "desktop.svg.tooLarge": "This SVG file is too large to preview.", + "desktop.sync.allRemotes": "Fetch all remotes", + "desktop.sync.authFailed": "Git could not sign in to the remote. Set up a credential helper or SSH key for it, run git fetch once in the terminal to confirm, then retry. Git said: {reason}", + "desktop.sync.cancel": "Cancel", + "desktop.sync.cancelled": "Cancelled", + "desktop.sync.divergedPrompt": "{name} and {upstream} have diverged: {ahead} commit(s) ahead, {behind} behind. Choose how to combine them.", + "desktop.sync.divergedTitle": "Branch has diverged", + "desktop.sync.fetchButton": "Fetch", + "desktop.sync.fetchFailed": "Fetch failed: {reason}", + "desktop.sync.fetchPrompt": "These choices apply to this fetch only. Git configuration stays unchanged.", + "desktop.sync.fetchTitle": "Fetch Options", + "desktop.sync.fetched": "Fetched Git remotes", + "desktop.sync.fetching": "Fetching remotes…", + "desktop.sync.inherit": "Git default", + "desktop.sync.merge": "Merge", + "desktop.sync.merged": "Merged upstream into {name}", + "desktop.sync.no": "None", + "desktop.sync.noUpstream": "{name} tracks no remote branch", + "desktop.sync.onDemand": "On demand", + "desktop.sync.progress": "{stage} {percent}%", + "desktop.sync.prune": "Remove stale remote-tracking branches", + "desktop.sync.rebase": "Rebase", + "desktop.sync.rebased": "Rebased {name} onto upstream", + "desktop.sync.remoteName": "Configured remote name", + "desktop.sync.settingsFailed": "Could not read the fetch settings, so defaults are shown: {reason}", + "desktop.sync.settingsHint": "These choices show what this repository's Git configuration selects (lithe.fetch.*); choices it does not set use the application defaults. Fetching here never changes the configuration.", + "desktop.sync.settingsInvalid": "This repository's fetch settings are invalid, so defaults are shown: {reason}", + "desktop.sync.settingsInvalidNoReason": "This repository's fetch settings are invalid, so defaults are shown.", + "desktop.sync.settingsLoading": "Reading this repository's fetch settings…", + "desktop.sync.stage.compressing": "Compressing objects", + "desktop.sync.stage.counting": "Counting objects", + "desktop.sync.stage.enumerating": "Enumerating objects", + "desktop.sync.stage.receiving": "Receiving objects", + "desktop.sync.stage.resolving": "Resolving deltas", + "desktop.sync.stage.updating": "Updating files", + "desktop.sync.stage.writing": "Writing objects", + "desktop.sync.submodules": "Submodules", + "desktop.sync.tagBehavior": "Tags Git will actually fetch: {behavior}", + "desktop.sync.tagBehavior.all": "all tags", + "desktop.sync.tagBehavior.custom": "custom refspecs", + "desktop.sync.tagBehavior.none": "no tags", + "desktop.sync.tagBehavior.prune": "all tags, removing stale ones", + "desktop.sync.tagBehavior.reachable": "only tags of fetched commits", + "desktop.sync.tagBehavior.remoteDependent": "depends on the remote", + "desktop.sync.tagBehavior.unavailable": "unavailable", + "desktop.sync.tags": "Tags", + "desktop.sync.tagsAll": "All tags", + "desktop.sync.tagsNone": "No tags", + "desktop.sync.tagsPrune": "All tags, remove stale local tags", + "desktop.sync.upToDate": "{name} is already up to date", + "desktop.sync.updateFailed": "Update failed: {reason}", + "desktop.sync.updated": "Updated {name}", + "desktop.sync.updating": "Updating {name}…", + "desktop.sync.yes": "All", + "desktop.tab.close": "Close", + "desktop.tab.closeAllButPinned": "Close All but Pinned", + "desktop.tab.pin": "Pin Tab", + "desktop.tab.selectInProject": "Select in Project View", + "desktop.tab.unpin": "Unpin Tab", + "desktop.tags.annotated": "Annotated tag with a message", + "desktop.tags.create": "Create Tag", + "desktop.tags.createAt": "The tag is put on commit {hash}.", + "desktop.tags.createFrom": "The tag is put on the current commit (HEAD).", + "desktop.tags.createTitle": "New Tag", + "desktop.tags.created": "Created tag {name}", + "desktop.tags.delete": "Delete", + "desktop.tags.deleteFailed": "Could not delete the tag: {reason}", + "desktop.tags.deletePrompt": "Delete tag {name}?", + "desktop.tags.deleteTitle": "Delete Tag", + "desktop.tags.deleted": "Deleted tag {name}", + "desktop.tags.failed": "Could not create the tag: {reason}", + "desktop.tags.message": "Message", + "desktop.tags.name": "Tag name", + "desktop.tags.newTag": "New Tag…", + "desktop.terminal.closeBusyBody": "“{terminal}” is still running a program. Closing the tab ends it.", + "desktop.terminal.closeBusyConfirm": "Close", + "desktop.terminal.closeBusyTitle": "Close the terminal?", + "desktop.terminal.find": "Find in terminal", + "desktop.terminal.findClose": "Close Find", + "desktop.terminal.findCount": "{current} of {total}", + "desktop.terminal.findNext": "Next Match", + "desktop.terminal.findNone": "No matches", + "desktop.terminal.findPrevious": "Previous Match", + "desktop.terminal.label": "Terminal", + "desktop.terminal.localNumber": "Local ({number})", + "desktop.terminal.noTerminals": "All terminals are in the editor. Click + to open a new one here.", + "desktop.terminal.openLinkFailed": "Could not open the link: {reason}", + "desktop.terminal.pasteImageFailed": "Could not save the clipboard image: {reason}", + "desktop.terminal.pasteImageTooLarge": "The clipboard image is too large to paste.", + "desktop.terminal.restartHint": "Press Enter to start a new session.", + "desktop.terminal.runSelection": "Run Selection in Terminal", + "desktop.terminal.scrollbarLabel": "Terminal scrollback", + "desktop.terminal.sessionEnded": "Session ended.", + "desktop.terminal.sessionEndedStatus": "Session ended with exit status {status}.", + "desktop.terminal.shellWithPath": "{name} ({path})", + "desktop.terminal.startFailed": "Could not start the shell: {reason}", + "desktop.tests.cancelled": "Test run cancelled", + "desktop.tests.empty": "Run tests to see results.", + "desktop.tests.exitedWithError": "Tests ended with an error before reporting a result.", + "desktop.tests.noSystems": "No build system in this workspace declares tests.", + "desktop.tests.noTestsFound": "No tests were found.", + "desktop.tests.noTestsMatched": "No test matched the selected scope.", + "desktop.tests.openLocation": "Open the failing test's source location", + "desktop.tests.preparing": "Preparing tests…", + "desktop.tests.rerun": "Run tests again", + "desktop.tests.resultsUnavailable": "Test results are unavailable: {error}", + "desktop.tests.run": "Run tests", + "desktop.tests.running": "Running tests…", + "desktop.tests.stop": "Stop the running tests", + "desktop.tests.stopping": "Stopping the test run…", + "desktop.tests.summary": "{passed} passed, {failed} failed, {skipped} skipped", + "desktop.tests.timedOut": "Tests timed out", + "desktop.title.branchMenu": "Branch menu", + "desktop.title.cloneLater": "Cloning repositories comes later", + "desktop.title.configurationNotStartable": "{name} cannot be started: no build plugin runs it.", + "desktop.title.currentFileNotRunnable": "The current file has no entrypoint to run, such as a class with a main method. Open such a file, or choose a run configuration from the run configuration menu.", + "desktop.title.hiddenRunConfigurations": "{count} saved configurations hidden (not runnable)", + "desktop.title.keymapLater": "The keymap page comes later", + "desktop.title.logsUnavailable": "The log could not be opened when Lithe started", + "desktop.title.newProjectLater": "Creating projects comes later", + "desktop.title.noRecentProjects": "No recent projects", + "desktop.title.noRunConfigurations": "No run configurations", + "desktop.title.notDebuggable": "{name} cannot be debugged: its plugin declares no debug adapter for this run.", + "desktop.title.pluginsLater": "The plugins page comes later", + "desktop.title.projectMenu": "Project menu", + "desktop.title.runBusy": "The Run window is still running another operation. Wait for it to finish or stop it first.", + "desktop.toolchains.automatic": "Automatic ({value})", + "desktop.toolchains.chooseHelp": "Selecting a row only changes the draft. Save writes the choice to this project's .lithe/toolchains/local.json; Cancel leaves the file unchanged.", + "desktop.toolchains.conflict": "{tool} is defined by {plugins}; disable all but one of those plugins.", + "desktop.toolchains.custom": "Custom…", + "desktop.toolchains.description": "Tools declared by enabled plugins. The effective value and its source come from the shared Core resolver; nothing is written until Save.", + "desktop.toolchains.directory": "Installation directory", + "desktop.toolchains.directoryHelp": "Choose the installation root containing the tool executable, such as a JDK directory rather than its bin folder. Checking the version only updates the draft; Save writes the project selection.", + "desktop.toolchains.effective": "Effective: {value}", + "desktop.toolchains.global": "Global defaults", + "desktop.toolchains.globalHelp": "Manage detected and manually added SDKs for all projects. Save writes to the application’s user settings; projects can override the default. Existing processes use the new SDK after restarting.", + "desktop.toolchains.installation": "{home} · {version} · {provider}", + "desktop.toolchains.invalidDirectory": "The selected directory does not contain a usable installation. Check the directory and try again.", + "desktop.toolchains.layerAutomatic": "Automatic", + "desktop.toolchains.layerGlobal": "Global", + "desktop.toolchains.layerPinned": "Pinned", + "desktop.toolchains.layerProject": "Project", + "desktop.toolchains.loadFailed": "Could not read toolchains: {reason}", + "desktop.toolchains.loading": "Reading toolchains…", + "desktop.toolchains.noInstallations": "No installations found.", + "desktop.toolchains.noProject": "Open a project to read its toolchains.", + "desktop.toolchains.pinSource": "Pinned in {directory}", + "desktop.toolchains.project": "Current project", + "desktop.toolchains.projectCandidateBlocked": "{path} · Requires trusting this project", + "desktop.toolchains.projectTrustRequiredNotice": "Project tool environments were detected and will not be probed or run until this project is trusted.", + "desktop.toolchains.providerUnsupported": "This build cannot query plugin backends yet; provider-reported installations are not shown.", + "desktop.toolchains.reasonNotExecutable": "File is not executable", + "desktop.toolchains.reasonProbeFailed": "Version check failed", + "desktop.toolchains.reasonProjectTrustRequired": "Requires trusting this project", + "desktop.toolchains.reasonUnsafePath": "Unsafe or outside allowed root", + "desktop.toolchains.reasonVersionUnsatisfied": "Does not meet minimum version", + "desktop.toolchains.reload": "Reload", + "desktop.toolchains.reloadAfterSave": "The save step completed, but its source could not be reloaded or closed cleanly. Reload before saving again; your draft has been kept.", + "desktop.toolchains.reset": "Use automatic", + "desktop.toolchains.save": "Save", + "desktop.toolchains.saveFailed": "Could not save toolchains: {reason}", + "desktop.toolchains.saved": "Saved", + "desktop.toolchains.saving": "Saving…", + "desktop.toolchains.sourceChanged": "The project or toolchain file changed. Reload before saving; your draft has been kept.", + "desktop.toolchains.sourceInvalid": "The toolchain or ignore configuration is invalid, too large, or cannot be accessed safely. Check the source files, then reload.", + "desktop.toolchains.title": "Toolchains", + "desktop.toolchains.trustProject": "Trust tool environments in this project", + "desktop.toolchains.trustProjectHelp": "Allows Lithe to probe versions of and run tool environments (such as virtual environments) and wrappers located inside this project folder. Trust applies only to this workspace on this machine, is saved in local application settings rather than .lithe/, and can be revoked at any time. Enable this only for projects from sources you trust; running processes use updated toolchains after restarting.", + "desktop.toolchains.trustStatusTrusted": "This project on this machine · Trusted", + "desktop.toolchains.trustStatusUntrusted": "This project on this machine · Not trusted", + "desktop.toolchains.unavailable": "Unavailable: {reason}", + "desktop.toolchains.updatingTrust": "Updating project trust…", + "desktop.toolchains.useDirectory": "Use directory", + "desktop.tools.background": "Background", + "desktop.tools.dragHint": "Drag to move elsewhere", + "desktop.tools.moveTo": "Move to", + "desktop.tools.moveToTitleBar": "Move to Title Bar", + "desktop.tools.structure": "Structure", + "desktop.tools.withShortcut": "{name} {keys}", + "desktop.updates.arrow.available": "Lithe {version} is available. Click to see what changed", + "desktop.updates.arrow.downloading": "Downloading Lithe {version}… {percent}%", + "desktop.updates.arrow.ready": "Lithe {version} is downloaded. Click to review and restart", + "desktop.updates.available": "Lithe {version} is available. Click the green arrow at the top right of the title bar to see what changed.", + "desktop.updates.channel.autobuild": "AutoBuild", + "desktop.updates.channel.stable": "Stable", + "desktop.updates.dialog.cross": "This release is from the {channel} channel and replaces this build in full. Both channels share settings; a snapshot of your current settings is saved before it installs.", + "desktop.updates.dialog.current": "You have {version} · {channel}", + "desktop.updates.dialog.download": "Download and Install", + "desktop.updates.dialog.downloads": "Open Downloads Page", + "desktop.updates.dialog.fullNotes": "Full Notes on GitHub", + "desktop.updates.dialog.later": "Later", + "desktop.updates.dialog.noNotes": "This release has no notes.", + "desktop.updates.dialog.notesLoading": "Loading what's new…", + "desktop.updates.dialog.restart": "Restart and Update", + "desktop.updates.dialog.sizeDelta": "Delta update {size} (full package {full})", + "desktop.updates.dialog.sizeFull": "Full package {size}", + "desktop.updates.dialog.skip": "Skip This Version", + "desktop.updates.dialog.title": "Lithe {version} Is Available", + "desktop.updates.dialog.titleReady": "Lithe {version} Is Ready to Install", + "desktop.updates.manual.managed": "This copy of Lithe is managed by a package manager. Update it there, or install the new version from the downloads page.", + "desktop.updates.manual.notWritable": "Lithe can't replace the app where it is installed. Install the new version from the downloads page.", + "desktop.updates.viewChanges": "View Changes", + "desktop.vcs.commitDirectly": "Commits are sent to the repository right away; there is no separate push.", + "desktop.viewer.binaryHint": "This file is not text. Its first bytes are shown in hex, read only.", + "desktop.viewer.close": "Close", + "desktop.viewer.externalHint": "Lithe cannot show this kind of file. Open it in the system's default application.", + "desktop.viewer.failed": "Could not show this file: {reason}", + "desktop.viewer.imageFailed": "Could not load this image", + "desktop.viewer.openExternally": "Open in Default App", + "desktop.viewer.openFailed": "Could not open the file: {reason}", + "desktop.viewer.resetZoom": "Reset to actual size (100%)", + "desktop.viewer.resetZoomHint": "Reset to actual size", + "desktop.viewer.tooLarge": "This file is too large to show here. Open it in the system's default application.", + "desktop.viewer.truncated": "Only the first 64 KB are shown.", + "desktop.viewer.zoom": "Image zoom", + "desktop.viewer.zoomIn": "Zoom in", + "desktop.viewer.zoomOut": "Zoom out", + "desktop.welcome.dropFolderOnly": "Drop a folder to open it as a project.", + "desktop.welcome.emptyHint": "Open a local folder to start working.", + "desktop.welcome.emptyTitle": "No recent projects", + "desktop.welcome.menuPin": "Pin to Top", + "desktop.welcome.menuReveal": "Show in Finder", + "desktop.welcome.menuRevealOther": "Show in File Manager", + "desktop.welcome.menuRevealWindows": "Show in File Explorer", + "desktop.welcome.menuUnpin": "Unpin", + "desktop.welcome.missing": "Folder no longer exists", + "desktop.welcome.noMatches": "No matching projects", + "desktop.welcome.unavailable": "Not available in the new desktop client yet", + "desktop.workbenchBackground.close": "Close", + "desktop.workbenchBackground.failed": "Could not use that image: {reason}", + "desktop.workbenchBackground.help": "An image of your own shown behind the whole workbench. Lithe keeps a copy in its own data folder, so moving or deleting the original does not change the background.", + "desktop.workbenchBackground.imageFilter": "PNG and JPEG images", + "desktop.workbenchBackground.loading": "Loading the background image…", + "desktop.workbenchBackground.medium": "Medium", + "desktop.workbenchBackground.remove": "Remove", + "desktop.workbenchBackground.status": "{name}, {width}×{height}", + "desktop.workbenchBackground.strong": "Strong", + "desktop.workbenchBackground.subtle": "Subtle", + "desktop.workbenchBackground.tooLarge": "The image file is larger than 30 MB.", + "desktop.workbenchBackground.tooManyPixels": "The image has more than 64 million pixels.", + "desktop.workbenchBackground.unsupported": "Only PNG and JPEG images are supported.", + "desktop.workbenchBackground.visibility": "Image visibility", + "desktop.worktree.openNewWindow": "Open in New Window", + "desktop.worktree.openNewWindowFailed": "Could not open the worktree in a new window: {reason}", + "diagnostics.goToProblem": "Go to Problem", "document.fileAccess.isHardLinkedChangesAreNotSavedAutomaticallySaveManuallyToChooseHowToUpdateTheFile": "{arg1} is hard-linked. Changes are not saved automatically. Save manually to choose how to update the file.", "document.fileAccess.onlyRegularFilesCanBeOpenedAsTextDevicesSocketsAndNamedPipesAreNotSupported": "Only regular files can be opened as text. Devices, sockets and named pipes are not supported.", "document.fileAccess.openTheTargetFileDirectlySymbolicLinkEditingIsNotSupportedByThisFileAdapter": "Open the target file directly. Symbolic-link editing is not supported by this file adapter.", @@ -2993,2069 +3007,2083 @@ var sharedCatalogs = map[string]map[string]string{ "workbench.terminal": "Terminal", }, "zh-CN": { - "ai.add": "添加", - "debugger.console": "控制台", - "debugger.disableBreakpoint": "禁用断点", - "debugger.disassembly.copyAddress": "复制地址", - "debugger.disassembly.copyInstruction": "复制指令", - "debugger.disassembly.readMemoryAtAddress": "读取此地址的内存", - "debugger.disassembly.removeBreakpoint": "移除指令断点", - "debugger.disassembly.setBreakpoint": "设置指令断点", - "debugger.disassembly.showDisassembly": "显示反汇编", - "debugger.enableBreakpoint": "启用断点", - "debugger.removeBreakpoint": "移除断点", - "debugger.stackEmpty": "启动会话后可查看栈帧。", - "debugger.threadsAndVariables": "线程和变量", - "desktop.ai.inlineEdit.editCurrentLine": "编辑当前行", - "desktop.ai.inlineEdit.editSelection": "编辑选中内容", - "desktop.aiCommit.cancel": "取消生成", - "desktop.aiCommit.failed": "生成提交信息失败:{reason}", - "desktop.aiCommit.generate": "生成提交信息", - "desktop.aiCommit.generating": "生成中…", - "desktop.aiCommit.httpStatus": "AI 服务商返回 HTTP {status}。", - "desktop.aiCommit.keep": "保留我的", - "desktop.aiCommit.noProvider": "在 Codex 或 Claude 配置中没有找到带凭据的 AI 服务商。", - "desktop.aiCommit.replace": "替换", - "desktop.aiCommit.replaceBody": "生成的提交说明将替换已输入的文字。", - "desktop.aiCommit.replaceTitle": "替换提交说明?", - "desktop.aiCommit.responseTooLarge": "AI 服务商的响应超过 2 MiB。", - "desktop.aiCommit.stale": "生成期间暂存的更改发生了变化,请重新生成。", - "desktop.aiCommit.timeout": "AI 服务商在 45 秒内没有响应。", - "desktop.app.devBadge": "Dev", - "desktop.app.previewVersion": "{version} 预览版", - "desktop.branch.alreadyOn": "已在“{name}”上", - "desktop.branch.branchName": "分支名称", - "desktop.branch.checkedOut": "已检出“{name}”", - "desktop.branch.checkoutAfter": "创建后检出分支", - "desktop.branch.checkoutFailed": "检出失败:{reason}", - "desktop.branch.checkoutFailedIn": "在 {repository} 中检出“{name}”失败:{reason}", - "desktop.branch.checkoutRevision": "检出标签或修订版本…", - "desktop.branch.commonCheckedOut": "已在所有仓库检出“{name}”", - "desktop.branch.commonCreated": "已在所有仓库创建分支“{name}”", - "desktop.branch.commonLocal": "共同本地分支", - "desktop.branch.commonRemote": "共同远程分支", - "desktop.branch.conflictHint": "智能检出会先贮藏你的更改,切换分支后再恢复。强制检出会直接切换并丢弃这些更改。", - "desktop.branch.conflictPrompt": "你对这些文件的更改与“{name}”冲突:", - "desktop.branch.conflictTitle": "本地更改将被覆盖", - "desktop.branch.createFailed": "创建分支失败:{reason}", - "desktop.branch.createFailedIn": "在 {repository} 中创建分支“{name}”失败:{reason}", - "desktop.branch.createFrom": "从“{name}”创建。", - "desktop.branch.createFromInAll": "在所有仓库中从“{name}”创建。", - "desktop.branch.created": "已创建分支“{name}”", - "desktop.branch.current": "当前分支", - "desktop.branch.deleteFailed": "删除分支失败:{reason}", - "desktop.branch.deletePrompt": "删除本地分支“{name}”?即使它尚未合并也会删除,只在这个分支上的提交将不再属于任何分支。", - "desktop.branch.deleteTitle": "删除分支?", - "desktop.branch.deleted": "已删除分支“{name}”(原指向 {target})", - "desktop.branch.detached": "已检出“{revision}”,处于 detached HEAD 状态", - "desktop.branch.detachedNote": "仓库将以 detached HEAD 状态打开。", - "desktop.branch.forceCheckout": "强制检出", - "desktop.branch.keepButton": "不回滚", - "desktop.branch.loadFailed": "加载分支失败:{reason}", - "desktop.branch.loading": "正在加载分支…", - "desktop.branch.localIn": "{repository} 中的本地分支", - "desktop.branch.newBranchFrom": "从“{name}”新建分支…", - "desktop.branch.recent": "最近", - "desktop.branch.recentIn": "{repository} 中的最近分支", - "desktop.branch.remoteIn": "{repository} 中的远程分支", - "desktop.branch.rename": "重命名…", - "desktop.branch.renameButton": "重命名", - "desktop.branch.renameFailed": "重命名分支失败:{reason}", - "desktop.branch.renameFrom": "重命名“{name}”。", - "desktop.branch.renameTitle": "重命名分支", - "desktop.branch.renamed": "分支已重命名为“{name}”", - "desktop.branch.repositoryPanel": "{repository},位于 {branch}", - "desktop.branch.repositorySeparator": "、", - "desktop.branch.revision": "标签或修订版本", - "desktop.branch.revisionPrompt": "输入标签名、分支名、提交 Hash 或其他 Git 修订版本。", - "desktop.branch.revisionTitle": "检出标签或修订版本", - "desktop.branch.rollbackButton": "回滚", - "desktop.branch.rollbackFailed": "在 {repository} 中回滚失败:{reason}", - "desktop.branch.rollbackImpossible": "{repositories} 在操作前不在任何分支上,无法回滚。", - "desktop.branch.rollbackPrompt": "已在这些仓库中完成:{repositories}。回滚后,所有仓库会回到原来的分支。", - "desktop.branch.rollbackTitle": "只在部分仓库中完成", - "desktop.branch.rolledBack": "已回滚:{repositories}", - "desktop.branch.rowMenu": "{name} 的操作", - "desktop.branch.search": "搜索分支和操作", - "desktop.branch.smartCheckout": "智能检出", - "desktop.branch.tagsIn": "{repository} 中的标签", - "desktop.build.ambiguousConnectionDebugAdapter": "有多个已启用的“{type}”类型调试适配器都能连接这个运行({adapters})。请在 设置 > 插件 中只保留一个。", - "desktop.build.argumentsRequired": "此任务需要额外参数,当前窗口尚不能收集。", - "desktop.build.cancelled": "构建已取消", - "desktop.build.chooseTask": "请先选择一个构建任务。", - "desktop.build.chooseTaskScope": "请先选择此任务可以运行的项目或目标。", - "desktop.build.commandUnsupported": "此构建系统返回了命令计划;当前接入需要提供者驱动的任务。", - "desktop.build.connectionDebugAdapterGone": "调试适配器“{name}”在运行就绪前被停用或更新,运行已停止。请重新调试。", - "desktop.build.debugPortTimeout": "运行在 {seconds} 秒内没有等待调试器连接,已停止。输出见运行窗口。", - "desktop.build.debugSessionRunning": "已有调试会话在运行。请先停止它,再调试其他运行。", - "desktop.build.debugTarget": "调试", - "desktop.build.dependenciesHelp": "第一次展开时才让构建工具读取依赖树,构建工具运行期间可能要等一会儿。读到的依赖会一直保留,直到重新检测构建系统,或在构建系统或“依赖”上选“重新加载”。", - "desktop.build.detection": "检测", - "desktop.build.emptyOutput": "运行构建任务以查看输出。", - "desktop.build.executableMissing": "未找到此构建系统可用的构建程序。", - "desktop.build.exited": "构建以代码 {code} 退出。", - "desktop.build.filter": "筛选构建系统、任务与目标", - "desktop.build.group.build": "构建", - "desktop.build.group.documentation": "文档", - "desktop.build.group.lifecycle": "生命周期", - "desktop.build.group.other": "其他", - "desktop.build.group.run": "运行", - "desktop.build.group.test": "测试", - "desktop.build.group.verification": "验证", - "desktop.build.ignoredPaths": "忽略路径", - "desktop.build.ignoredPathsDefault": "当前使用默认设置;修改后只保存在本机。", - "desktop.build.ignoredPathsHelp": "一行一条规则,写法同 .gitignore,相对项目根目录,只匹配文件夹。后面的规则优先,以 ! 开头的规则让文件夹重新参与检测,包括被 Git 忽略的文件夹。默认忽略所有以 . 开头的文件夹,例如 .claude/worktrees;依赖缓存和构建输出始终跳过。最多 256 条。", - "desktop.build.ignoredPathsLocal": "当前使用本机保存的设置。", - "desktop.build.ignoredPathsTeam": "当前使用团队文件 {file} 中的设置;修改后只保存在本机。", - "desktop.build.invalidIgnoredPath": "第 {line} 行不是可用的忽略规则。规则要符合 .gitignore 写法,首尾不能有空格,不能以 # 开头或只写 !,每条最长 1024 字节,最多 256 条。", - "desktop.build.invalidIgnoredPaths": "这些忽略规则不能一起使用,请检查写法。", - "desktop.build.loadingModel": "正在加载构建模型…", - "desktop.build.modelFailed": "构建模型加载失败:{error}", - "desktop.build.modelStopped": "构建模型加载已停止", - "desktop.build.noBuildSystems": "没有检测到由提供者驱动的构建系统。", - "desktop.build.noConnectionDebugAdapter": "没有已启用的插件能调试这个运行:它需要一个类型为“{type}”、能连接到运行中程序的调试适配器。请在 设置 > 插件 中安装或启用。", - "desktop.build.noDebugAdapter": "该构建插件所属的插件没有声明可以启动已准备程序的调试适配器。", - "desktop.build.noMatches": "没有匹配的构建项", - "desktop.build.noOptions": "此构建系统没有声明可配置的选项。", - "desktop.build.noTasks": "没有构建任务", - "desktop.build.optionChoiceDefault": "默认", - "desktop.build.optionChoiceDefaultLabel": "{title}(默认)", - "desktop.build.options": "选项", - "desktop.build.optionsTitle": "构建选项", - "desktop.build.output": "构建输出", - "desktop.build.pluginsUnavailable": "此窗口无法使用构建插件。", - "desktop.build.preparing": "正在准备…", - "desktop.build.processFailed": "进程结束:{error}", - "desktop.build.projectMissing": "所选项目已不在构建模型中,请刷新构建系统。", - "desktop.build.refresh": "重新检测构建系统", - "desktop.build.runSelected": "运行所选任务", - "desktop.build.runTarget": "运行 {name}", - "desktop.build.running": "正在运行…", - "desktop.build.showSyncOutput": "在运行窗口中查看输出", - "desktop.build.stop": "停止构建任务", - "desktop.build.stopping": "正在停止…", - "desktop.build.succeeded": "构建成功", - "desktop.build.syncSession": "同步 {name}", - "desktop.build.syncSessionAt": "同步 {name}({root})", - "desktop.build.systems": "构建系统", - "desktop.build.targetMissing": "所选目标已不在构建模型中,请刷新构建系统。", - "desktop.build.targets": "目标", - "desktop.build.testDiscoveryFailed": "无法发现测试:{error}", - "desktop.build.toggleOptionChoice": "切换 {option}:{choice}", - "desktop.build.toolchainGap": "提供者准备了 {toolchain}。当前构建尚不能启动工具链引用。", - "desktop.build.treeFailed": "无法显示构建树:{error}", - "desktop.build.treeTruncated": "构建项太多,只列出了前面一部分。", - "desktop.build.versionTooOld": "构建工具版本为 {version},低于要求的 {minimum}。", - "desktop.changelists.moveSelected": "将所选 {count} 个变更移到变更列表", - "desktop.clone.busy": "正在克隆…", - "desktop.clone.cancel": "取消", - "desktop.clone.choose": "选择…", - "desktop.clone.failed": "克隆失败。请检查仓库地址、访问权限和目标目录后重试。", - "desktop.clone.invalidName": "请选择绝对路径的目标文件夹,并输入单个文件夹名称", - "desktop.clone.more": "更多", - "desktop.clone.name": "文件夹名称", - "desktop.clone.namePlaceholder": "project-name", - "desktop.clone.parent": "目标文件夹", - "desktop.clone.source": "仓库 URL", - "desktop.clone.sourcePlaceholder": "https://github.com/example/project.git", - "desktop.clone.submit": "克隆", - "desktop.clone.title": "克隆仓库", - "desktop.command.addNextOccurrence": "添加下一处匹配", - "desktop.command.branches": "分支…", - "desktop.command.clone": "克隆仓库…", - "desktop.command.cloneCaretAbove": "在上方添加光标", - "desktop.command.cloneCaretBelow": "在下方添加光标", - "desktop.command.closeProject": "关闭项目", - "desktop.command.commit": "提交…", - "desktop.command.commitAndPush": "提交并推送…", - "desktop.command.debug": "调试", - "desktop.command.findAction": "查找操作", - "desktop.command.findInFiles": "在文件中查找…", - "desktop.command.fold": "折叠", - "desktop.command.foldAll": "全部折叠", - "desktop.command.gitConsole": "显示 Git 控制台", - "desktop.command.gitNextChange": "转到下一处变更", - "desktop.command.gitPreviousChange": "转到上一处变更", - "desktop.command.groupApp": "应用", - "desktop.command.groupEditor": "编辑器", - "desktop.command.groupGit": "Git", - "desktop.command.groupProject": "项目", - "desktop.command.groupRun": "运行", - "desktop.command.groupSearch": "搜索", - "desktop.command.groupTerminal": "终端", - "desktop.command.groupToolWindows": "工具窗口", - "desktop.command.groupView": "视图", - "desktop.command.importLegacy": "从旧版 Lithe 导入设置…", - "desktop.command.languageChinese": "语言:简体中文", - "desktop.command.languageEnglish": "语言:English", - "desktop.command.logs": "显示日志", - "desktop.command.newProject": "新建项目…", - "desktop.command.newTerminal": "新建终端", - "desktop.command.noActions": "没有匹配的操作", - "desktop.command.openProject": "打开项目…", - "desktop.command.plugins": "插件…", - "desktop.command.replaceInFiles": "在文件中替换…", - "desktop.command.run": "运行", - "desktop.command.saveAll": "全部保存", - "desktop.command.searchEverywhere": "随处搜索", - "desktop.command.selectAllOccurrences": "选择所有匹配", - "desktop.command.settings": "设置…", - "desktop.command.showTool": "显示{name}", - "desktop.command.themeDark": "主题:深色", - "desktop.command.themeLight": "主题:浅色", - "desktop.command.themeSystem": "主题:跟随系统", - "desktop.command.toggleBreakpoint": "切换行断点", - "desktop.command.toggleVim": "切换 Vim 模式", - "desktop.command.unfold": "展开", - "desktop.command.unfoldAll": "全部展开", - "desktop.command.unselectOccurrence": "取消上一处匹配", - "desktop.commit.amendNote": "修订提交仅作用于有已选文件的仓库。", - "desktop.commit.author": "作者", - "desktop.commit.authorHelp": "把提交记在其他人名下。留空时使用 Git 配置的身份;提交成功后会清空。", - "desktop.commit.authorInvalid": "作者需要写成“名字 <邮箱>”。", - "desktop.commit.authorLine": "作者:{author}", - "desktop.commit.authorPlaceholder": "名字 <邮箱>", - "desktop.commit.chooseTarget": "推送前请选择要更新的分支。", - "desktop.commit.clean": "工作区没有更改", - "desktop.commit.commitAndPush": "提交并推送…", - "desktop.commit.commitFailed": "提交失败", - "desktop.commit.committing": "正在提交…", - "desktop.commit.dismiss": "清除结果", - "desktop.commit.enterMessage": "请输入提交说明", - "desktop.commit.failed": "提交更改失败:{reason}", - "desktop.commit.instructions": "生成提示词", - "desktop.commit.instructionsHelp": "生成提交信息时一并交给 AI 的要求,例如语气、格式或要省略的内容。留空时不附加。", - "desktop.commit.instructionsPlaceholder": "例如:不要写冗长的描述", - "desktop.commit.messageLine": "提交说明:{message}", - "desktop.commit.noCommits": "新仓库", - "desktop.commit.openSettings": "在设置中打开…", - "desktop.commit.options": "提交选项", - "desktop.commit.optionsAI": "AI", - "desktop.commit.optionsGit": "Git", - "desktop.commit.order": "每个仓库会分别提交。某个仓库失败时,已完成的步骤仍会保留。", - "desktop.commit.parentsHelp": "提交子模块后,同时在父仓库提交新的子模块引用;推送时先推子模块再推父仓库。", - "desktop.commit.partlyStagedState": "部分暂存", - "desktop.commit.pushTo": "推送到 {upstream}", - "desktop.commit.refresh": "刷新更改", - "desktop.commit.result": "{repository}:{status}", - "desktop.commit.retry": "查看并重试…", - "desktop.commit.reviewPushTitle": "检查提交并推送", - "desktop.commit.reviewRequired": "需要确认", - "desktop.commit.reviewRetry": "确认剩余步骤", - "desktop.commit.reviewTitle": "确认各仓库提交", - "desktop.commit.signOff": "添加 Signed-off-by", - "desktop.commit.signOffHelp": "在提交说明末尾加上带你 Git 身份的 Signed-off-by 行。勾选后会一直保持,直到手动取消。", - "desktop.commit.signOffNote": "会加上 Signed-off-by 行。", - "desktop.commit.stageAll": "暂存当前更改列表中的所有文件", - "desktop.commit.stageFailed": "暂存文件失败:{reason}", - "desktop.commit.stageFile": "暂存 {path}", - "desktop.commit.step": "{number}. {action}:{repository}", - "desktop.commit.stepPush": "提交并推送", - "desktop.commit.stepPushOnly": "仅推送", - "desktop.commit.tracksDifferent": "分支“{local}”跟踪的是名称不同的“{upstream}”。请选择要更新哪个分支。", - "desktop.commit.unstageFailed": "取消暂存文件失败:{reason}", - "desktop.commit.unstageFile": "取消暂存 {path}", - "desktop.commit.where": "{branch} · {head}", - "desktop.credentials.importLegacy": "从旧版 Lithe 导入插件凭据…", - "desktop.credentials.importLegacyBusy": "正在导入插件凭据…", - "desktop.credentials.importLegacyConfirm": "导入", - "desktop.credentials.importLegacyDescription": "复制旧版 Lithe 保存的插件凭据。系统可能会逐项请求你允许访问。这里已保存的凭据不会被替换,旧版 Lithe 的凭据保持不变。", - "desktop.credentials.importLegacyDone": "已导入 {imported} 项插件凭据;保留 {kept} 项已有凭据;{failed} 项无法读取。", - "desktop.credentials.importLegacyFailed": "无法导入插件凭据:{error}", - "desktop.credentials.importLegacyNone": "旧版 Lithe 没有保存插件凭据。", - "desktop.credentials.importLegacyTitle": "导入插件凭据", - "desktop.debug.adapter": "调试适配器", - "desktop.debug.addWatch": "添加监视", - "desktop.debug.attachHost": "主机", - "desktop.debug.attachInvalid": "请输入主机名和 1 到 65535 之间的端口。", - "desktop.debug.attachPort": "端口", - "desktop.debug.breakpoint.addFunction": "添加", - "desktop.debug.breakpoint.breakOnChange": "值变化时中断", - "desktop.debug.breakpoint.condition": "条件", - "desktop.debug.breakpoint.conditionPlaceholder": "仅当此表达式为真时暂停", - "desktop.debug.breakpoint.conditional": "条件", - "desktop.debug.breakpoint.dataRow": "◆ {label}", - "desktop.debug.breakpoint.dataUnavailable": "适配器无法在此变量变化时中断。", - "desktop.debug.breakpoint.edit": "编辑断点…", - "desktop.debug.breakpoint.functionName": "方法或函数", - "desktop.debug.breakpoint.functionPlaceholder": "例如 example.Main.run", - "desktop.debug.breakpoint.functionRow": "ƒ {name}", - "desktop.debug.breakpoint.hitCondition": "命中次数", - "desktop.debug.breakpoint.hitConditionPlaceholder": "例如 >= 5", - "desktop.debug.breakpoint.logMessage": "日志消息", - "desktop.debug.breakpoint.logMessagePlaceholder": "要记录的文本,{表达式} 会被求值", - "desktop.debug.breakpoint.logPoint": "日志点", - "desktop.debug.breakpoint.removeData": "移除数据断点", - "desktop.debug.breakpoint.removeFunction": "移除方法断点", - "desktop.debug.breakpoint.title": "断点 {file}:{line}", - "desktop.debug.breakpoints": "断点", - "desktop.debug.bufferLimit": "调试适配器没有及时读取数据,待发送队列已超出上限。", - "desktop.debug.child.needsConfirmation": "子调试会话指向未经确认的远程端点,Lithe 没有启动它。", - "desktop.debug.child.startedBy": "由 {parent} 启动", - "desktop.debug.child.stopped": "子调试会话在启动前已被停止。", - "desktop.debug.child.unavailable": "Lithe 无法启动子调试会话。", - "desktop.debug.connectFailed": "无法连接到 {endpoint} 的调试适配器。", - "desktop.debug.connectionClosed": "调试连接已断开。", - "desktop.debug.consoleEmpty": "调试会话的输出会显示在这里。", - "desktop.debug.continue": "继续", - "desktop.debug.disassembly": "反汇编", - "desktop.debug.disassemblyRetry": "重试", - "desktop.debug.editValue": "新值", - "desktop.debug.evaluateFailed": "无法对该表达式求值", - "desktop.debug.evaluatePlaceholder": "对表达式求值({evaluate})或添加监视({watch})", - "desktop.debug.exceptionInfo": "异常信息", - "desktop.debug.exceptions": "异常断点", - "desktop.debug.failed": "调试会话失败", - "desktop.debug.filteredFrames": "已过滤的帧({count})", - "desktop.debug.frames": "调用栈", - "desktop.debug.initialized": "调试适配器已初始化", - "desktop.debug.invalidEndpoint": "调试适配器的端点无效。", - "desktop.debug.loadMore": "加载更多", - "desktop.debug.loadingVariables": "正在加载…", - "desktop.debug.memory": "内存", - "desktop.debug.memoryAddress": "内存地址", - "desktop.debug.memoryAddressPlaceholder": "地址,如 0x1000", - "desktop.debug.memoryBytesPerRow": "每行字节数", - "desktop.debug.memoryGoToAddress": "跳转到地址", - "desktop.debug.memoryRadix": "显示进制", - "desktop.debug.memoryRadixBinary": "二进制", - "desktop.debug.memoryRadixDecimal": "十进制", - "desktop.debug.memoryRadixHex": "十六进制", - "desktop.debug.memoryRadixOctal": "八进制", - "desktop.debug.memoryRowBytes": "每行 {bytes} 字节", - "desktop.debug.memoryTypeAddress": "选中的栈帧没有指令地址,请在上方输入要读取的地址", - "desktop.debug.memoryUnreadableBytes": "无法读取的字节:{bytes}", - "desktop.debug.noAdapters": "已安装的插件没有声明此客户端能启动的调试适配器。", - "desktop.debug.noBreakpoints": "没有断点", - "desktop.debug.noDisassembly": "暂停在支持反汇编的栈帧后可在这里查看指令。", - "desktop.debug.noDocument": "请先打开一个文件,再切换它的断点。", - "desktop.debug.noEndpoint": "语言服务器没有返回有效的调试端口。", - "desktop.debug.noExceptionFilters": "此调试适配器没有可选的异常断点。", - "desktop.debug.noFrames": "没有栈帧", - "desktop.debug.noMemory": "适配器无法读取当前栈帧的内存。", - "desktop.debug.noVariables": "暂停后在这里查看变量。", - "desktop.debug.notAnnounced": "调试适配器还没输出它监听的端口就退出了。", - "desktop.debug.openFrame": "打开栈帧的源码位置", - "desktop.debug.pause": "暂停", - "desktop.debug.paused": "已暂停", - "desktop.debug.pluginsUnavailable": "此窗口无法使用调试插件。", - "desktop.debug.registers": "寄存器", - "desktop.debug.reload": "回到当前指令", - "desktop.debug.remoteAttach": "附加", - "desktop.debug.remoteCancel": "取消", - "desktop.debug.remotePrompt": "要附加到 {endpoint} 吗?它不是本机地址,而且明文 TCP 既不验证对端也不加密。", - "desktop.debug.remoteTitle": "附加到远程目标", - "desktop.debug.removeBreakpoint": "移除断点", - "desktop.debug.removeWatch": "移除监视", - "desktop.debug.running": "运行中", - "desktop.debug.session": "会话", - "desktop.debug.setValue": "设置", - "desktop.debug.settingsUnreadable": "无法读取调试插件配置。请检查其设置文件,重新加载项目后重试。", - "desktop.debug.start": "开始调试", - "desktop.debug.starting": "正在启动调试适配器…", - "desktop.debug.stepInto": "单步进入", - "desktop.debug.stepOut": "单步跳出", - "desktop.debug.stepOver": "单步跳过", - "desktop.debug.stop": "停止调试", - "desktop.debug.targetUnavailable": "没有找到可运行的调试目标,请先构建程序。", - "desktop.debug.terminated": "调试会话已终止", - "desktop.debug.threadFallback": "线程 {id}", - "desktop.debug.threadRunning": "{name}(运行中)", - "desktop.debug.threads": "线程", - "desktop.debug.timedOut": "调试适配器没有及时响应。", - "desktop.debug.toggleBreakpoint": "在当前行切换断点", - "desktop.debug.unmuteBreakpoints": "恢复断点", - "desktop.debug.variables": "变量", - "desktop.debug.viewJson": "JSON", - "desktop.debug.viewTree": "树", - "desktop.debug.waitingServer": "正在启动语言服务器…", - "desktop.debug.watchPlaceholder": "求值表达式", - "desktop.debug.watches": "监视", - "desktop.debug.writeTimedOut": "向调试适配器写入超时。", - "desktop.diff.keepWhitespace": "不忽略空白", - "desktop.diffFind.close": "关闭查找", - "desktop.diffFind.field": "在差异中查找", - "desktop.diffFind.next": "下一个匹配", - "desktop.diffFind.open": "在差异中查找", - "desktop.diffFind.previous": "上一个匹配", - "desktop.document.closeConflict": "文件已在 Lithe 外部更改或删除,编辑器内容仍会保留。", - "desktop.document.externalReadFailed": "无法检查文件的外部变化。", - "desktop.document.hardLinkCancel": "取消", - "desktop.document.watchUnavailable": "无法监听打开文件的外部变化。保存时仍会检查磁盘内容。", - "desktop.drafts.conflict": "已恢复草稿;磁盘文件已更改,请比较后决定保留哪一份。", - "desktop.drafts.discard": "丢弃草稿", - "desktop.drafts.empty": "没有临时草稿。", - "desktop.drafts.failed": "无法保存恢复副本,未保存内容仍保留在编辑器中。", - "desktop.drafts.list": "临时草稿", - "desktop.drafts.new": "新建临时草稿", - "desktop.drafts.recovered": "已恢复未保存内容。", - "desktop.drafts.saveAs": "另存为…", - "desktop.drafts.saved": "草稿已另存为文件。", - "desktop.drafts.untitled": "临时草稿 {number}", - "desktop.editor.dropFiles": "将文件拖到此处打开", - "desktop.editor.goToFile": "转到文件", - "desktop.editor.hiddenTabs": "显示隐藏的标签页", - "desktop.editor.hideMinimap": "隐藏缩略图", - "desktop.editor.horizontalScrollbar": "水平滚动条", - "desktop.editor.lineEditFailed": "无法执行行操作。", - "desktop.editor.linkOpenFailed": "无法打开链接:{reason}", - "desktop.editor.minimap": "缩略图", - "desktop.editor.noLineComment": "此文件类型没有行注释符号。", - "desktop.editor.notText": "不是文本文件", - "desktop.editor.openFailed": "无法打开 {name}:{reason}", - "desktop.editor.recentFiles": "最近文件", - "desktop.editor.saveFailed": "无法保存 {name}:{reason}", - "desktop.editor.showMinimap": "显示缩略图", - "desktop.editor.softWrap": "自动换行", - "desktop.editor.tooLarge": "文件过大,编辑器无法打开", - "desktop.editor.unsupportedEncoding": "不是有效的 UTF-8,请使用支持该编码的编辑器打开", - "desktop.editor.verticalScrollbar": "垂直滚动条", - "desktop.editor.vim.insert": "插入", - "desktop.editor.vim.normal": "普通", - "desktop.editor.vim.notFound": "未找到:{pattern}", - "desktop.editor.vim.replace": "替换", - "desktop.editor.vim.unknown": "不是编辑器命令:{name}", - "desktop.editor.vim.visual": "可视", - "desktop.editor.vim.visualLine": "可视行", - "desktop.editor.vimMode": "Vim 模式", - "desktop.editor.vimModeHelp": "使用 Vim 按键编辑:普通、插入和可视模式。", - "desktop.editorActions.failed": "插件无法执行此动作。", - "desktop.editorActions.stale": "文档已变化,请等待动作更新。", - "desktop.editorFind.case": "区分大小写", - "desktop.editorFind.close": "关闭查找", - "desktop.editorFind.count": "{current}/{total}", - "desktop.editorFind.failed": "无法完成查找或替换。", - "desktop.editorFind.find": "查找", - "desktop.editorFind.invalidPattern": "正则表达式无效。", - "desktop.editorFind.loading": "正在查找…", - "desktop.editorFind.next": "下一个匹配", - "desktop.editorFind.previous": "上一个匹配", - "desktop.editorFind.regex": "正则表达式", - "desktop.editorFind.replace": "替换", - "desktop.editorFind.replaceAll": "全部替换", - "desktop.editorFind.replaceOne": "替换当前", - "desktop.editorFind.replaced": "已替换 {count} 处。", - "desktop.editorFind.replacementTooLarge": "替换结果过大,请缩小范围。", - "desktop.editorFind.selection": "仅在选区中", - "desktop.editorFind.stale": "文档已更改,请重试替换。", - "desktop.editorFind.tooLarge": "此文件超过查找的 64 MiB 上限。", - "desktop.editorFind.tooMany": "匹配超过 10000 处;请缩小范围后再全部替换。", - "desktop.editorFind.word": "整词匹配", - "desktop.editorMenu.back": "后退", - "desktop.editorMenu.deleteLine": "删除行", - "desktop.editorMenu.duplicateLine": "复制行", - "desktop.editorMenu.findUsages": "查找用法", - "desktop.editorMenu.forward": "前进", - "desktop.editorMenu.goToDefinition": "跳转到定义", - "desktop.editorMenu.goToLine": "跳转到行…", - "desktop.editorMenu.lineHistory": "显示行历史", - "desktop.editorMenu.moveLineDown": "下移行", - "desktop.editorMenu.moveLineUp": "上移行", - "desktop.editorMenu.openInBrowser": "在浏览器中打开", - "desktop.editorMenu.openInBrowserFailed": "无法在浏览器中打开文件:{reason}", - "desktop.editorMenu.reformat": "格式化代码", - "desktop.editorMenu.rename": "重命名符号", - "desktop.editorMenu.toggleComment": "切换行注释", - "desktop.editorPrefs.block": "方块", - "desktop.editorPrefs.cursorBlink": "光标闪烁", - "desktop.editorPrefs.cursorStyle": "光标样式", - "desktop.editorPrefs.failed": "无法更新编辑器设置。", - "desktop.editorPrefs.line": "竖线", - "desktop.editorPrefs.lineNumbers": "显示行号", - "desktop.editorPrefs.saveDelay": "自动保存延迟(毫秒)", - "desktop.editorPrefs.saveDelayHelp": "停止输入后等待此时间再自动保存。范围为 250–60000 毫秒;关闭自动保存时不执行。草稿恢复独立保留。", - "desktop.editorPrefs.title": "编辑器显示", - "desktop.editorPrefs.underline": "下划线", - "desktop.editorPrefs.whitespace": "显示空白字符", - "desktop.encoding.reopen": "按编码重新打开", - "desktop.encoding.reopenDirty": "请先保存或放弃修改,再按其他编码重新打开。", - "desktop.encoding.reopenFailed": "无法按该编码重新打开文件。", - "desktop.encoding.reopenLossy": "部分字节在该编码下无效,已显示为替换字符。", - "desktop.encoding.saveAs": "按编码保存", - "desktop.encoding.unmappable": "文本含有 {encoding} 无法表示的字符,未写入任何内容。", - "desktop.errors.core": "内核调用失败:{reason}", - "desktop.errors.dismiss": "关闭", - "desktop.errors.folderMissing": "文件夹不存在:{path}", - "desktop.errors.logsFailed": "无法打开日志窗口:{reason}", - "desktop.errors.openFailed": "无法打开项目:{reason}", - "desktop.errors.saveFailed": "无法保存设置:{reason}", - "desktop.errors.settingsFailed": "无法打开设置窗口:{reason}", - "desktop.everywhere.actions": "操作", - "desktop.everywhere.all": "全部", - "desktop.everywhere.classes": "类", - "desktop.everywhere.files": "文件", - "desktop.everywhere.limit": "显示前 500 条结果。请缩小搜索范围以查看更多。", - "desktop.everywhere.more": "加载更多", - "desktop.everywhere.retry": "重试", - "desktop.everywhere.symbols": "符号", - "desktop.everywhere.text": "文本", - "desktop.everywhere.title": "全局搜索", - "desktop.everywhere.watchUnavailable": "无法监听项目变化。请重新打开搜索以刷新结果。", - "desktop.exit.body": "关闭后将结束下列由 Lithe 启动的程序:\n{processes}", - "desktop.exit.cancel": "取消", - "desktop.exit.debugSession": "调试会话({adapter})", - "desktop.exit.stopAndClose": "结束并关闭", - "desktop.exit.terminal": "终端“{terminal}”", - "desktop.exit.title": "仍有程序在运行", - "desktop.files.batchDelete": "删除 {count} 项…", - "desktop.files.batchDeletePrompt": "删除 {count} 个项目?其中已打开的标签会先保存再关闭。移到废纸篓后还能恢复,永久删除无法撤销。", - "desktop.files.batchDeleteTitle": "删除项目", - "desktop.files.cancel": "取消", - "desktop.files.compareBranch": "与分支比较", - "desktop.files.copy": "复制", - "desktop.files.copyFailed": "无法复制路径:{reason}", - "desktop.files.create": "创建", - "desktop.files.createFailed": "无法创建条目:{reason}", - "desktop.files.crossBoundaryMove": "不支持在不同 WSL 发行版之间、或在发行版与本地文件夹之间移动或重命名", - "desktop.files.cut": "剪切", - "desktop.files.delete": "删除…", - "desktop.files.deleteFailed": "无法删除条目:{reason}", - "desktop.files.deleteMessage": "删除“{name}”?其中已打开的标签会先保存再关闭。移到废纸篓后还能恢复,永久删除无法撤销。", - "desktop.files.deletePermanently": "永久删除", - "desktop.files.deleteTitle": "删除条目", - "desktop.files.duplicate": "重复", - "desktop.files.duplicateFailed": "无法重复该项目:{reason}", - "desktop.files.excludeFailed": "无法排除该文件夹:{reason}", - "desktop.files.excludeFromSearch": "从搜索中排除", - "desktop.files.gitSubmenu": "Git", - "desktop.files.invalidName": "请输入不含斜杠的文件或目录名称。", - "desktop.files.moveFailed": "无法移动该项目:{reason}", - "desktop.files.moveToTrash": "移到废纸篓", - "desktop.files.name": "名称", - "desktop.files.nameExists": "已有同名条目。", - "desktop.files.newDirectory": "新建目录…", - "desktop.files.newDirectoryTitle": "新建目录", - "desktop.files.newFile": "新建文件…", - "desktop.files.newFileTitle": "新建文件", - "desktop.files.open": "打开", - "desktop.files.openIn": "打开于", - "desktop.files.openInExplorer": "资源管理器", - "desktop.files.openInFinder": "访达", - "desktop.files.openInTerminal": "终端", - "desktop.files.openWith": "打开方式", - "desktop.files.openWithAppPath": "{name}({path})", - "desktop.files.openWithDefault": "{name}(默认)", - "desktop.files.openWithFailed": "无法打开文件:{reason}", - "desktop.files.openWithFinding": "正在查找应用…", - "desktop.files.openWithGone": "“{name}”已不能打开这类文件", - "desktop.files.openWithOther": "其他…", - "desktop.files.openWithTitle": "选择应用程序", - "desktop.files.paste": "粘贴", - "desktop.files.pasteFailed": "无法粘贴该项目:{reason}", - "desktop.files.refresh": "刷新", - "desktop.files.rename": "重命名…", - "desktop.files.renameAction": "重命名", - "desktop.files.renameFailed": "无法重命名条目:{reason}", - "desktop.files.renameTitle": "重命名", - "desktop.files.revealFailed": "无法显示条目:{reason}", - "desktop.files.revealInExplorer": "在资源管理器中显示", - "desktop.files.revealInFinder": "在访达中显示", - "desktop.files.showDiff": "显示 Git 差异", - "desktop.files.showHistory": "显示历史", - "desktop.files.showRepositoryChanges": "显示仓库变更", - "desktop.files.stage": "暂存文件", - "desktop.files.stageAndCommit": "暂存并打开提交…", - "desktop.files.trashFailed": "无法移到废纸篓:{reason}", - "desktop.files.unstage": "取消暂存文件", - "desktop.git.actions": "Git 工具窗口操作", - "desktop.git.allReferences": "所有引用", - "desktop.git.anyTime": "任意时间", - "desktop.git.apply": "应用", - "desktop.git.blame.annotation": "{author} · {time} · {subject}", - "desktop.git.blame.uncommitted": "未提交的更改", - "desktop.git.branchSearch": "分支或标签", - "desktop.git.branchSettings": "分支面板设置", - "desktop.git.cancel": "取消", - "desktop.git.clear": "清除", - "desktop.git.clearFilter": "清除筛选", - "desktop.git.collapseAll": "折叠所有分支", - "desktop.git.compareBranch": "将当前分支与工作树比较", - "desktop.git.compareChanges": "比较更改", - "desktop.git.compareWithCurrent": "与当前分支比较", - "desktop.git.compareWorkingTree": "与工作树比较", - "desktop.git.console.collapse": "收起", - "desktop.git.console.exitCode": "退出码 {code}", - "desktop.git.console.expand": "展开", - "desktop.git.console.expandConfiguration": "显示 {count} 项临时配置", - "desktop.git.console.queryOutput": "读取结果,共 {count} 行", - "desktop.git.console.queryOutputOne": "读取结果,共 {count} 行", - "desktop.git.console.settings": "Git 控制台设置", - "desktop.git.decorations": "显示引用标签", - "desktop.git.deleteBranch": "删除所选分支", - "desktop.git.excludeFailed": "无法排除该项目:{reason}", - "desktop.git.excludeLocally": "从 Git 排除(仅本地)", - "desktop.git.expandAll": "展开所有分支", - "desktop.git.failed": "Git 读取失败:{reason}", - "desktop.git.fetchAll": "获取所有远程", - "desktop.git.fetchOptions": "获取选项…", - "desktop.git.fileHistory": "显示文件历史", - "desktop.git.filesFailed": "无法加载更改的文件", - "desktop.git.filterDate": "日期", - "desktop.git.filterPaths": "路径", - "desktop.git.filterUser": "用户", - "desktop.git.filterValue": "{filter}:{value}", - "desktop.git.findBranch": "查找分支", - "desktop.git.findInLog": "在日志中查找", - "desktop.git.gutter.before": "修改前", - "desktop.git.gutter.next": "下一处", - "desktop.git.gutter.noEarlier": "(修改前无内容)", - "desktop.git.gutter.previous": "上一处", - "desktop.git.gutter.revert": "回退此修改", - "desktop.git.gutter.saveFirst": "保存文件后才能暂存此修改。", - "desktop.git.gutter.stage": "暂存此修改", - "desktop.git.hideBranches": "隐藏分支", - "desktop.git.last30Days": "最近 30 天", - "desktop.git.last7Days": "最近 7 天", - "desktop.git.loadMoreFailed": "无法加载更早的提交。刷新历史", - "desktop.git.loading": "正在读取…", - "desktop.git.locateBranch": "在日志中定位所选分支", - "desktop.git.log": "日志", - "desktop.git.log.adjustLimit": "调整上限…", - "desktop.git.log.limitReached": "已读取 {count} 条提交,更早的提交超出可读取范围", - "desktop.git.logTab": "日志: {reference}", - "desktop.git.longEdges": "显示长边", - "desktop.git.noCommits": "还没有提交", - "desktop.git.noMatchingReferences": "没有匹配的分支或标签", - "desktop.git.noMatchingUsers": "没有匹配的用户", - "desktop.git.notRepository": "此项目不是 Git 仓库", - "desktop.git.olderOutside": "更早的提交不在已加载的历史中", - "desktop.git.on": "于 {date}", - "desktop.git.pathPlaceholder": "目录或文件名", - "desktop.git.pathTitle": "按更改路径筛选", - "desktop.git.pushAll.defineRemote": "定义远程", - "desktop.git.pushAll.description": "勾选要推送的仓库,确认目标和提交后推送。", - "desktop.git.pushAll.detachedHead": "分离 HEAD", - "desktop.git.pushAll.emptyRepository": "空仓库", - "desktop.git.pushAll.failed": "推送失败:{reason}", - "desktop.git.pushAll.filesFailed": "无法加载变更文件:{reason}", - "desktop.git.pushAll.loadingFiles": "正在加载变更文件…", - "desktop.git.pushAll.noChangedFiles": "此提交没有变更文件", - "desktop.git.pushAll.noCommitSelected": "选择一个提交查看变更文件", - "desktop.git.pushAll.noRepositories": "没有可推送的仓库", - "desktop.git.pushAll.push": "推送(P)", - "desktop.git.pushAll.pushTags": "推送标记(T)", - "desktop.git.pushAll.pushed": "已推送", - "desktop.git.pushAll.readFailed": "无法读取:{reason}", - "desktop.git.pushAll.skipped": "未推送:{repository} 推送失败", - "desktop.git.pushAll.someFailed": "有仓库没有推送成功,详情见推送对话框。", - "desktop.git.pushAll.tagsAll": "所有", - "desktop.git.pushAll.tagsCurrentBranch": "当前分支", - "desktop.git.pushAll.title": "推送提交", - "desktop.git.pushAll.upToDate": "已是最新", - "desktop.git.refreshLog": "刷新日志", - "desktop.git.repo.back": "切回 {name}", - "desktop.git.repo.choose": "选择仓库", - "desktop.git.repo.current": "仓库:{name}", - "desktop.git.repo.several": "{count} 个仓库", - "desktop.git.searchUsers": "搜索用户", - "desktop.git.settings.blame": "显示行尾 Git Blame", - "desktop.git.settings.blameHelp": "在光标所在行末尾显示作者、时间和提交标题。仅在保存文件或 HEAD 变化时重新读取 Git,刷新期间保留旧注释。默认关闭。", - "desktop.git.settings.changeLists": "显示变更列表", - "desktop.git.settings.changeListsHelp": "在提交窗口按本地更改列表分组变更,并显示创建、重命名和删除列表的工具栏。关闭后所有变更平铺显示,已暂存的变更可一起提交;列表及其分配会保留。", - "desktop.git.settings.console.annotate": "省略注解与行历史", - "desktop.git.settings.console.annotateHelp": "打开注解(Blame)或查看行历史时的读取。行尾 Blame 随文件自动刷新,从不记录。", - "desktop.git.settings.console.checks": "省略操作前检查", - "desktop.git.settings.console.checksHelp": "操作前的预览、预检和计划,以及操作为自己读取的状态等其他查询。", - "desktop.git.settings.console.completedNotice": "省略“执行成功,没有输出”提示", - "desktop.git.settings.console.completedNoticeHelp": "命令成功结束但没有输出时,不在命令下方显示这条提示。IntelliJ IDEA 也不显示。", - "desktop.git.settings.console.diff": "省略差异读取", - "desktop.git.settings.console.diffHelp": "打开或切换差异标签页时读取的文件差异、提交差异、比较结果和可暂存的变更块。", - "desktop.git.settings.console.diffRefresh": "省略保存后的差异刷新", - "desktop.git.settings.console.diffRefreshHelp": "保存文件后重新读取该文件已打开的差异标签页。", - "desktop.git.settings.console.display": "Git 控制台:显示", - "desktop.git.settings.console.displayHelp": "只改变已记录命令在 Git 控制台里的显示方式,不影响记录哪些命令。复制全部内容时仍包含完整命令和仓库。初始状态与 IntelliJ IDEA 一致。", - "desktop.git.settings.console.foldShortQueries": "折叠 10 行以内的查询输出", - "desktop.git.settings.console.foldShortQueriesHelp": "成功查询的输出超过 10 行时整段折叠,点击可展开;打开此项后,10 行以内的输出也折叠。删除类命令(删除分支、标签、引用、远程分支、配置、文件、贮藏或工作树,以及 clean、prune)的输出和配置从不折叠。", - "desktop.git.settings.console.log": "省略日志浏览", - "desktop.git.settings.console.logHelp": "Git 日志的提交历史、分支与标签、提交图和提交详情的读取。", - "desktop.git.settings.console.logPathFilter": "省略日志路径筛选", - "desktop.git.settings.console.logPathFilterHelp": "按路径筛选日志时逐个读取的提交文件列表。", - "desktop.git.settings.console.omitted": "Git 控制台:省略的查询", - "desktop.git.settings.console.omittedHelp": "打开的类别不写入 Git 控制台,也不占用控制台保留的记录;打开某个类别时,控制台已记录的该类成功查询也一并移除。你执行的命令、失败的 Git 请求、你发起的操作中失败的查询和意外的退出码始终显示。随仓库变化自动刷新的读取(状态、行号区标记、行尾 Blame 等)从不记录。初始状态与 IntelliJ IDEA 一致:全部省略。", - "desktop.git.settings.console.panels": "省略列表与面板", - "desktop.git.settings.console.panelsHelp": "工作树、储藏、远程仓库、拉取请求、未跟踪目录和仓库设置等列表与面板的读取。", - "desktop.git.settings.console.references": "省略后台分支读取", - "desktop.git.settings.console.referencesHelp": "仓库变化后在后台重新读取的各仓库分支与引用,供分支弹窗和日志的仓库分组使用。", - "desktop.git.settings.console.reload": "省略操作后的自动重新加载", - "desktop.git.settings.console.reloadHelp": "你执行 Git 操作(提交、暂存、贮藏、搁置、变基、分支操作、获取、更新等)后或刷新更改列表时重新读取的状态,以及操作写入工作区或暂存区后重新读取的差异标签页。", - "desktop.git.settings.console.repository": "省略仓库名", - "desktop.git.settings.console.repositoryHelp": "命令行开头只显示时间,不显示 [仓库名]。", - "desktop.git.settings.console.temporaryConfig": "完全隐藏临时 -c 配置", - "desktop.git.settings.console.temporaryConfigHelp": "命令行不再显示 Lithe 为单次命令传入的 -c 配置,折叠后的提示也不显示。命令本身写明的 -c 参数仍折叠显示。", - "desktop.git.settings.gutter": "显示 Git 变更标记", - "desktop.git.settings.gutterHelp": "在编辑器行号区标出相对 Git 索引新增、修改或删除的行。点击标记可查看修改前的内容、暂存或回退这处修改。保存文件或 Git 状态变化时更新。", - "desktop.git.settings.logLimitDefault": "{count}(默认)", - "desktop.git.settings.logLimitMerged": "多个仓库混排", - "desktop.git.settings.logLimitMergedHelp": "勾选多个仓库按时间混排时,所有仓库合计最多读取的提交数,默认 20000。", - "desktop.git.settings.logLimitSingle": "单个仓库", - "desktop.git.settings.logLimitSingleHelp": "只查看一个仓库时最多读取的提交数,默认 5000。", - "desktop.git.settings.logLimits": "Git 日志", - "desktop.git.settings.logLimitsHelp": "Git 日志最多读取多少条提交。读到上限后,日志末尾会提示更早的提交超出可读取范围;上限越大,加载越慢,占用内存越多。", - "desktop.git.settings.parentReferences": "显示更新父仓库引用", - "desktop.git.settings.parentReferencesHelp": "显示是否在父仓库中记录子模块新提交的选项。关闭后隐藏该选项,每次提交都会更新父仓库引用。", - "desktop.git.showAll": "显示所有引用", - "desktop.git.showBranches": "显示分支", - "desktop.git.showChanges": "显示更改", - "desktop.git.showDetails": "显示提交详情", - "desktop.git.textOrHash": "文本或哈希", - "desktop.git.time.daysAgo": "{count} 天前", - "desktop.git.time.hoursAgo": "{count} 小时前", - "desktop.git.time.justNow": "刚刚", - "desktop.git.time.minutesAgo": "{count} 分钟前", - "desktop.git.time.monthsAgo": "{count} 个月前", - "desktop.git.time.yearsAgo": "{count} 年前", - "desktop.git.today": "今天", - "desktop.git.updateBranch": "更新当前分支", - "desktop.git.worktrees.destinationAbsolute": "请输入绝对路径。", - "desktop.git.worktrees.failed": "工作树操作失败:{reason}", - "desktop.git.worktrees.lockedBecause": "已锁定:{reason}", - "desktop.git.worktrees.removed": "已删除工作树“{name}”", - "desktop.git.yesterday": "昨天", - "desktop.gitHistory.cherryPicked": "已将 {hash} 拣选到当前分支", - "desktop.gitHistory.deleteCommit": "删除提交…", - "desktop.gitHistory.resetDone": "已将当前分支重置到 {hash}", - "desktop.gitHistory.reverted": "已用新提交还原 {hash}", - "desktop.gitHistory.undoCommit": "撤销提交…", - "desktop.gitReview.blameFailed": "无法读取注释:{reason}", - "desktop.gitReview.blameTitle": "注释:{file}", - "desktop.gitReview.blockN": "变更 {n}", - "desktop.gitReview.cancel": "取消", - "desktop.gitReview.close": "关闭", - "desktop.gitReview.confirm": "确认", - "desktop.gitReview.diffTab": "视图", - "desktop.gitReview.menu": "贮藏、工作树与仓库…", - "desktop.gitReview.menuLabel": "更多 Git 操作", - "desktop.gitReview.noRemote": "此仓库没有可推送的远程。", - "desktop.gitReview.notRepository": "此项目不是 Git 仓库", - "desktop.gitReview.operationFailed": "Git 操作失败:{reason}", - "desktop.gitReview.refresh": "刷新", - "desktop.gitReview.rollbackFailed": "回滚失败:{reason}", - "desktop.gitReview.stashPush": "贮藏更改", - "desktop.gitReview.untrackedMenu": "显示未跟踪文件…", - "desktop.gitReview.untrackedTitle": "{path} 中的未跟踪文件", - "desktop.github.approve": "批准", - "desktop.github.branchExists": "同名本地分支已存在。请先重命名或删除它,然后重新审阅。", - "desktop.github.cancelSignIn": "取消", - "desktop.github.checkFailed": "失败", - "desktop.github.checkPassed": "通过", - "desktop.github.checkRunning": "进行中", - "desktop.github.checkSkipped": "已跳过", - "desktop.github.checkUnknown": "已完成", - "desktop.github.checkedOut": "已检出 Pull Request 分支 {branch}", - "desktop.github.checkedOutHint": "分支已在本地检出。", - "desktop.github.checkoutBranch": "本地分支:{branch}", - "desktop.github.checks": "检查", - "desktop.github.checksUnavailable": "无法读取检查:未知的提交。", - "desktop.github.comment": "评论", - "desktop.github.confirmCheckout": "检出分支", - "desktop.github.connectedAs": "已连接为 {login}", - "desktop.github.createDetached": "HEAD 处于分离状态,创建 Pull Request 前请先检出分支。", - "desktop.github.createPullRequest": "创建 Pull Request", - "desktop.github.createUnpublished": "此分支有远程尚未包含的提交,请先发布再创建 Pull Request。", - "desktop.github.denied": "GitHub 上的授权被拒绝。", - "desktop.github.draft": "草稿", - "desktop.github.draftChoice": "创建为草稿", - "desktop.github.draftFailed": "无法生成描述:{reason}", - "desktop.github.draftNoProvider": "没有可用的 AI 提供方来生成描述。", - "desktop.github.enterCode": "在 GitHub 上输入此代码:", - "desktop.github.expired": "代码在 GitHub 上输入前已过期,请重试。", - "desktop.github.failed": "GitHub 登录失败:{reason}", - "desktop.github.filter.closed": "已关闭", - "desktop.github.filter.mine": "我的", - "desktop.github.filter.open": "打开", - "desktop.github.generateDescription": "生成描述", - "desktop.github.loading": "正在读取 Pull Request…", - "desktop.github.newPullRequest": "新建 Pull Request…", - "desktop.github.nextBase": "更换基础分支", - "desktop.github.noChecks": "没有检查", - "desktop.github.noPullRequests": "没有符合此筛选的 Pull Request。", - "desktop.github.noReviewThreads": "没有评审线程", - "desktop.github.openFailed": "无法打开浏览器:{reason}", - "desktop.github.openInBrowser": "在浏览器中打开", - "desktop.github.prBody": "描述(Markdown)", - "desktop.github.prBranches": "{head} → {base}", - "desktop.github.prMeta": "{state} · {head} → {base} · {author}", - "desktop.github.prTitle": "标题", - "desktop.github.publishBranch": "发布分支", - "desktop.github.publishDivergent": "远程分支已分叉,请在推送对话框中选择发布方式。", - "desktop.github.pullRequests": "Pull Request", - "desktop.github.reply": "写评论", - "desktop.github.requestChanges": "请求修改", - "desktop.github.reviewCheckout": "审阅检出", - "desktop.github.reviewNeedsBody": "请写明需要修改的内容。", - "desktop.github.reviewThreads": "评审线程", - "desktop.github.settingsHelp": "登录后可以查看、检出和评审本仓库的 Pull Request。", - "desktop.github.settingsTitle": "GitHub 账号", - "desktop.github.signIn": "登录 GitHub", - "desktop.github.signInFirst": "请先在设置中登录 GitHub 以查看 Pull Request。", - "desktop.github.signOut": "退出登录", - "desktop.github.signOutFailed": "无法删除 GitHub 令牌:{reason}", - "desktop.github.threadLine": "第 {line} 行", - "desktop.github.threadOutdated": "锚点已过期", - "desktop.github.unavailable": "此构建无法使用 GitHub。", - "desktop.github.working": "正在连接 GitHub…", - "desktop.history.close": "关闭", - "desktop.history.delete": "删除", - "desktop.history.empty": "此文件还没有本地历史。", - "desktop.history.failed": "本地历史操作失败:{reason}", - "desktop.history.labelPlaceholder": "为此版本命名", - "desktop.history.loading": "正在读取历史…", - "desktop.history.previewLoading": "正在读取快照…", - "desktop.history.reasonBaseline": "项目基线", - "desktop.history.reasonBatchReplace": "批量替换前", - "desktop.history.reasonBeforeDelete": "删除前", - "desktop.history.reasonBeforeRename": "重命名前", - "desktop.history.reasonExternalChange": "磁盘上被修改", - "desktop.history.reasonRestored": "恢复前", - "desktop.history.reasonSaved": "保存", - "desktop.history.reasonUnsavedDiscard": "放弃的未保存修改", - "desktop.history.rename": "标签", - "desktop.history.restore": "恢复", - "desktop.history.show": "显示本地历史", - "desktop.history.title": "本地历史", - "desktop.htmlPreview.back": "后退", - "desktop.htmlPreview.failed": "无法预览此 HTML 文件。", - "desktop.htmlPreview.forward": "前进", - "desktop.htmlPreview.reload": "重新加载", - "desktop.htmlPreview.tooLarge": "此 HTML 文件过大,无法预览。", - "desktop.ideApi.allowConfigure": "允许配置", - "desktop.ideApi.allowConfigureHelp": "允许客户端修改项目的构建选项。", - "desktop.ideApi.allowExecute": "允许执行", - "desktop.ideApi.allowExecuteHelp": "允许客户端启动和停止构建与运行。这可能下载依赖或执行插件。", - "desktop.ideApi.copyConfiguration": "复制 stdio 客户端配置", - "desktop.ideApi.disable": "关闭连接", - "desktop.ideApi.enable": "开启连接", - "desktop.ideApi.failed": "无法更改连接:{reason}", - "desktop.ideApi.grantsFixed": "授权在连接期间固定;关闭后再开启才能修改。", - "desktop.ideApi.helperMissing": "辅助程序缺失", - "desktop.ideApi.intro": "让插件和外部 MCP 客户端在你授权后,调用已打开项目的 IDE 能力。连接按项目单独开启,关闭项目即结束。", - "desktop.ideApi.noProject": "打开一个项目后,才能为它开启 IDE 连接。", - "desktop.ideApi.project": "项目", - "desktop.ideApi.statusDisabled": "未连接", - "desktop.ideApi.statusEnabled": "已连接", - "desktop.ideApi.title": "IDE 连接", - "desktop.inlineEdit.accept": "接受", - "desktop.inlineEdit.cancel": "取消", - "desktop.inlineEdit.empty": "模型返回了空的替换内容,接受将删除所选代码。", - "desktop.inlineEdit.failed": "AI 编辑失败:{reason}", - "desktop.inlineEdit.instruction": "希望如何修改?留空则优化这段代码。", - "desktop.inlineEdit.noSelection": "请先选中一段代码。", - "desktop.inlineEdit.provider": "供应商", - "desktop.inlineEdit.providerClaude": "Claude", - "desktop.inlineEdit.providerCodex": "Codex", - "desktop.inlineEdit.providerDefault": "跟随 AI 设置", - "desktop.inlineEdit.readOnly": "该文件是只读的。", - "desktop.inlineEdit.reject": "拒绝", - "desktop.inlineEdit.reviewTitle": "审阅 AI 修改", - "desktop.inlineEdit.run": "生成修改", - "desktop.inlineEdit.running": "生成中…", - "desktop.inlineEdit.stale": "审阅期间文件已变化,未应用任何修改。", - "desktop.inlineEdit.title": "用 AI 编辑所选代码", - "desktop.inlineEdit.unchanged": "模型没有做任何修改。", - "desktop.keymap.add": "添加快捷键", - "desktop.keymap.cancel": "取消", - "desktop.keymap.conflict": "{keys} 已被“{action}”使用。", - "desktop.keymap.fullscreenFailed": "无法切换全屏:{reason}", - "desktop.keymap.goToLine": "跳转到行", - "desktop.keymap.groupEditor": "编辑器", - "desktop.keymap.help": "点击 + 后按下新的按键,Esc 取消录制。修改立即生效。", - "desktop.keymap.inlineEdit": "AI 行内编辑", - "desktop.keymap.modified": "已修改", - "desktop.keymap.noMatch": "没有匹配的操作。", - "desktop.keymap.none": "无快捷键", - "desktop.keymap.recording": "快捷键", - "desktop.keymap.recordingHint": "请按下按键…", - "desktop.keymap.remove": "移除快捷键", - "desktop.keymap.reset": "恢复默认", - "desktop.keymap.resetAll": "全部恢复默认", - "desktop.keymap.search": "搜索操作", - "desktop.keymap.searchPlaceholder": "按名称或按键筛选", - "desktop.keymap.toggleFullscreen": "切换全屏", - "desktop.keymap.unbindable": "字母或符号需要配合 Command、Control 或 Option,避免普通输入触发操作。", - "desktop.keymapImport.apply": "创建并使用方案", - "desktop.keymapImport.changed": "来源文件或快捷键设置已变化,请重新选择文件刷新预览。", - "desktop.keymapImport.chooseFile": "选择快捷键文件…", - "desktop.keymapImport.conflictWith": "{key} 与“{owner}”冲突", - "desktop.keymapImport.conflicts": "请先在来源文件或当前方案中解决冲突,再重新选择文件。存在冲突时不会导入任何快捷键。", - "desktop.keymapImport.displaced": "将移除的默认快捷键:{keys}", - "desktop.keymapImport.empty": "此文件没有可导入的受支持显式快捷键。", - "desktop.keymapImport.failed": "无法导入快捷键。请选择不超过 1 MiB、UTF-8 编码的有效 keybindings.json 或键位 XML 文件。", - "desktop.keymapImport.fileFilter": "快捷键配置", - "desktop.keymapImport.help": "选择 VS Code 或 Cursor 的 keybindings.json,或 IntelliJ IDEA 的键位 XML。仅导入已支持操作的显式绑定,不导入来源 IDE 默认键、继承方案、条件规则和连续按键。预览不会修改设置;确认后创建并启用独立方案,来源文件保持不变。", - "desktop.keymapImport.idea": "IntelliJ IDEA(XML)", - "desktop.keymapImport.inherited": "此 XML 继承了其他键位方案,本次仅包含文件中显式配置的操作。", - "desktop.keymapImport.name": "新方案名称", - "desktop.keymapImport.preview": "快捷键导入预览", - "desktop.keymapImport.skipArguments": "已跳过:此操作需要命令参数,保留现有快捷键。", - "desktop.keymapImport.skipConditional": "已跳过:此操作包含条件规则,保留现有快捷键。", - "desktop.keymapImport.skipKey": "已跳过:此操作包含不支持的按键或规则,保留现有快捷键。", - "desktop.keymapImport.skipRemoval": "已跳过:无法将来源 IDE 默认键的移除规则直接应用到当前方案。", - "desktop.keymapImport.skipSequence": "已跳过:此操作包含连续按键,保留现有快捷键。", - "desktop.keymapImport.skipUnmapped": "已跳过:没有对应的受支持操作。", - "desktop.keymapImport.source": "来源格式", - "desktop.keymapImport.summary": "可导入 {imported} 项操作 · 跳过 {skipped} 条规则 · {conflicts} 处冲突", - "desktop.keymapImport.title": "从其他 IDE 导入…", - "desktop.keymapImport.unbound": "清除此操作的快捷键", - "desktop.keymapImport.vscode": "VS Code / Cursor(JSON)", - "desktop.keymapImport.working": "正在读取并检查快捷键…", - "desktop.keymapSchemes.default": "默认方案", - "desktop.keymapSchemes.delete": "删除方案", - "desktop.keymapSchemes.duplicateName": "此方案名称已存在。", - "desktop.keymapSchemes.failed": "无法更新快捷键方案,原方案仍然保留。", - "desktop.keymapSchemes.invalidName": "请输入 1–64 个字符的方案名称。", - "desktop.keymapSchemes.limit": "最多可保存 16 套快捷键方案。", - "desktop.keymapSchemes.name": "方案名称", - "desktop.keymapSchemes.newTitle": "保存快捷键方案", - "desktop.keymapSchemes.rename": "重命名方案…", - "desktop.keymapSchemes.renameTitle": "重命名快捷键方案", - "desktop.keymapSchemes.saveAs": "保存为新方案…", - "desktop.keymapSchemes.scheme": "快捷键方案", - "desktop.languageStatus.degraded": "功能受限", - "desktop.languageStatus.failed": "失败", - "desktop.languageStatus.none": "未运行", - "desktop.languageStatus.ready": "就绪", - "desktop.languageStatus.starting": "正在启动", - "desktop.languageStatus.stopped": "已停止", - "desktop.languageStatus.title": "语言服务", - "desktop.legacyImport.confirm": "导入", - "desktop.legacyImport.description": "读取自 {source}。旧版 Lithe 的数据保持不变。所选设置会替换当前设置;最近项目会加入当前列表。", - "desktop.legacyImport.done": "已导入旧版 Lithe 的设置。新增最近项目:{recent} 个。", - "desktop.legacyImport.editorFont": "编辑器字体", - "desktop.legacyImport.failed": "导入旧版 Lithe 设置失败:{error}", - "desktop.legacyImport.hidden": "隐藏", - "desktop.legacyImport.language": "界面语言", - "desktop.legacyImport.menu": "从旧版 Lithe 导入设置…", - "desktop.legacyImport.minimap": "编辑器小地图", - "desktop.legacyImport.none": "这台电脑上没有找到旧版 Lithe 的设置。", - "desktop.legacyImport.openMarketplace": "打开插件市场", - "desktop.legacyImport.plugins": "旧版 Lithe 安装过的插件", - "desktop.legacyImport.pluginsHelp": "请在插件市场重新安装,市场会检查每个插件是否适用于此版本。不会复制旧的安装包。", - "desktop.legacyImport.pluginsMore": "另有 {count} 个", - "desktop.legacyImport.processTermination": "进程终止选项", - "desktop.legacyImport.readFailed": "读取旧版 Lithe 设置失败:{error}", - "desktop.legacyImport.recent": "最近项目", - "desktop.legacyImport.recentCount": "{count} 个项目", - "desktop.legacyImport.shellAutomatic": "系统默认", - "desktop.legacyImport.shown": "显示", - "desktop.legacyImport.tabRows": "编辑器标签", - "desktop.legacyImport.tabsMultiple": "多行", - "desktop.legacyImport.tabsSingle": "单行", - "desktop.legacyImport.terminalFont": "终端字体", - "desktop.legacyImport.terminalShell": "终端 Shell", - "desktop.legacyImport.theme": "主题", - "desktop.legacyImport.themeDark": "深色", - "desktop.legacyImport.themeLight": "浅色", - "desktop.legacyImport.themeSystem": "跟随系统", - "desktop.legacyImport.title": "从旧版 Lithe 导入", - "desktop.lineHistory.empty": "这些行没有提交历史。", - "desktop.lineHistory.inserted": "第 {lines} 行是新插入的,尚无提交历史。", - "desktop.lineHistory.lines": "{file},第 {start}-{end} 行", - "desktop.lineHistory.loading": "正在查询行历史…", - "desktop.lineHistory.outsideRepository": "此文件不在 Git 仓库内。", - "desktop.lineHistory.rewritten": "第 {lines} 行被改写,无法可靠对应提交历史。", - "desktop.lineHistory.title": "行历史", - "desktop.lineHistory.truncated": "结果已截断,仅显示最近的提交。", - "desktop.logs.apply": "应用", - "desktop.logs.choose": "选择", - "desktop.logs.chooseDirectory": "选择日志目录", - "desktop.logs.clearAction": "清空日志", - "desktop.logs.clearMessage": "仅删除生效目录中由 Lithe 管理的所有模块和会话日志。筛选条件不限制清理范围,后续事件仍会继续记录。", - "desktop.logs.clearSearch": "清除搜索", - "desktop.logs.clearTitle": "清空已收集的日志?", - "desktop.logs.diagnostics": "详细诊断", - "desktop.logs.dropped": "已丢弃 {count}", - "desktop.logs.environmentHint": "应用版本、{osName} 版本、架构、已启用插件", - "desktop.logs.exportDialog.currentSession": "当前会话", - "desktop.logs.exportDialog.export": "导出…", - "desktop.logs.histogramTooltip": "{time} · ERROR {errors} · WARN {warnings} · 其它 {other}", - "desktop.logs.invalidTime": "请按 YYYY-MM-DD HH:MM:SS 输入时间。", - "desktop.logs.logDirectory": "日志目录", - "desktop.logs.logs": "日志", - "desktop.logs.newLogs": "↓ {count} 条新日志,回到最新", - "desktop.logs.operation": "操作 {op} · {count} 条 · 共 {duration}", - "desktop.logs.paused": "已暂停", - "desktop.logs.rejected": "被拒绝 {count}(最近:{event} {code})", - "desktop.logs.repeated": "重复 {count} 次 · 末次 {last}", - "desktop.logs.revealInFinder": "在 Finder 中显示", - "desktop.logs.savedTo": "已保存到 {path}", - "desktop.logs.sourceLine": "第 {line} 行", - "desktop.logs.writeFailures": "写入失败 {count}", - "desktop.lsp.filterPlaceholder": "筛选日志", - "desktop.lsp.managePlugins": "管理语言服务器插件…", - "desktop.lsp.noFilteredLog": "没有匹配筛选条件的日志。", - "desktop.lsp.noLog": "此服务器暂无日志。", - "desktop.lsp.noServers": "没有正在运行的语言服务器。", - "desktop.lsp.preparationCancelled": "语言服务准备已取消", - "desktop.lsp.restartServer": "重启服务器", - "desktop.lsp.state": "状态:{state}", - "desktop.lsp.stopServer": "停止服务器", - "desktop.markdown.closeImage": "关闭图片", - "desktop.markdown.contents": "目录", - "desktop.markdown.empty": "没有可预览的内容", - "desktop.markdown.imagePreview": "图片预览", - "desktop.markdown.markmap": "思维导图", - "desktop.markdown.markmapFailed": "无法绘制此思维导图。", - "desktop.markdown.mermaidFailed": "无法绘制此 Mermaid 图表。", - "desktop.markdown.preview": "渲染后的 Markdown", - "desktop.markdown.tooLarge": "此文件过大,无法预览。", - "desktop.marketplace.cancel": "取消", - "desktop.marketplace.communitySource": "Lithe Store", - "desktop.marketplace.confirmInstall": "安装", - "desktop.marketplace.connecting": "正在连接下载源…", - "desktop.marketplace.downloadProgress": "正在下载插件… {received} / {total} MiB", - "desktop.marketplace.downloadPrompt": "是否下载此插件?校验完成后,你可以查看权限和程序并确认安装。如果已有批准仍适用于此插件包,安装会自动继续。", - "desktop.marketplace.downloadReceived": "正在下载插件… {received} MiB", - "desktop.marketplace.downloadTitle": "下载插件", - "desktop.marketplace.enable": "启用", - "desktop.marketplace.failureChecksum": "下载的插件包未通过完整性校验,请重试以重新下载。", - "desktop.marketplace.failureHelp": "插件包下载、校验或安装失败。请重试;若仍失败,可打开诊断查看错误详情。", - "desktop.marketplace.failureNetwork": "无法下载插件包,请检查网络和代理设置后重试。", - "desktop.marketplace.failurePermission": "无法访问所需文件,请检查目录权限后重试。", - "desktop.marketplace.failureTimeout": "操作超时,请检查网络后重试。", - "desktop.marketplace.install": "安装", - "desktop.marketplace.installComplete": "安装完成", - "desktop.marketplace.installCompleteHelp": "插件已安装,可在“已安装”中查看启用状态。", - "desktop.marketplace.installFailed": "插件安装失败。", - "desktop.marketplace.installFromFile": "从文件安装…", - "desktop.marketplace.installHelp": "先下载并校验插件包,再确认它申请的权限。只有确认后才会安装。", - "desktop.marketplace.installTitle": "安装插件", - "desktop.marketplace.installedSource": "已安装", - "desktop.marketplace.languageServerDisplaced": "已停用「{disabled}」:「{enabled}」也提供 {languages} 语言服务器,同一语言只能启用一个插件。", - "desktop.marketplace.noFeatures": "此插件未声明功能。", - "desktop.marketplace.officialSource": "官方", - "desktop.marketplace.packageFilter": "插件包", - "desktop.marketplace.permissionBackend": "启动插件的后台服务", - "desktop.marketplace.permissionBuild": "为项目运行构建工具", - "desktop.marketplace.permissionCommandsInstall": "安装插件所需的命令行工具(每次安装前都会征得你的同意)", - "desktop.marketplace.permissionDebug": "启动程序调试器", - "desktop.marketplace.permissionGenerate": "在你选择的位置生成项目文件", - "desktop.marketplace.permissionRuntimesInstall": "下载并安装插件声明的运行依赖。插件更新时会复用已有且验证合格的环境。", - "desktop.marketplace.programDetails": "程序声明({count} 项)· 展开/收起详情", - "desktop.marketplace.queryTooLong": "搜索内容过长", - "desktop.marketplace.reviewConsent": "请仅安装可信来源的插件。确认安装将批准这个包所声明的权限和程序。", - "desktop.marketplace.reviewEmpty": "该插件不申请权限,也不启动任何程序。", - "desktop.marketplace.reviewPermissions": "权限", - "desktop.marketplace.reviewPrograms": "程序", - "desktop.marketplace.reviewTitle": "审查插件", - "desktop.marketplace.runtimeChecking": "正在检查 {dependency}…", - "desktop.marketplace.runtimeDownloading": "正在下载 {dependency}… {received} / {total} MiB", - "desktop.marketplace.runtimeExtracting": "正在解压 {dependency}…", - "desktop.marketplace.runtimeFailureHelp": "运行环境准备失败。已安装的插件版本和校验合格的下载缓存均已保留,可重试继续。", - "desktop.marketplace.runtimeReady": "{dependency} 已就绪", - "desktop.marketplace.runtimeReceived": "正在下载 {dependency}… {received} MiB", - "desktop.marketplace.runtimeRepairing": "正在修复 {dependency}…", - "desktop.marketplace.runtimeVerifying": "正在验证 {dependency}…", - "desktop.marketplace.sourceInvalid": "请输入 HTTPS 格式的索引地址。", - "desktop.marketplace.sourceUnavailable": "来源不可用:{source}", - "desktop.marketplace.tab.settings": "设置", - "desktop.marketplace.uninstall": "卸载", - "desktop.marketplace.verifying": "正在解压并校验插件…", - "desktop.memory.belowMegabyte": "< 1 MB", - "desktop.memory.childProcesses": "其他子进程", - "desktop.memory.columnCPU": "CPU", - "desktop.memory.columnCompressed": "压缩/换出", - "desktop.memory.columnGPU": "GPU", - "desktop.memory.columnInMemory": "内存中", - "desktop.memory.gigabytes": "{value} GB", - "desktop.memory.help": "统计 Lithe 主进程和属于它的全部进程:语言服务器、插件服务、终端和运行任务等子进程,以及系统代 Lithe 启动的辅助进程,例如显示网页和预览的 WebKit 进程。", - "desktop.memory.helpFigures": "“内存中”是进程现在占用的物理内存,状态栏和总计都只算这一项。“压缩/换出”是系统为这些进程压缩或写到磁盘上的内存,不计入“内存中”。CPU 和 GPU 是相隔至少 1 秒的两次读取之间的占用率,GPU 取最忙的那个图形引擎;面板打开后才读取 GPU,所以 GPU 占用要稍等片刻才显示。", - "desktop.memory.helpLinux": "“内存中”是常驻内存减去共享页,“压缩/换出”是换出到交换区(包括 zram)的部分。CPU 以一个核心占满为 100%,与 top 一致;GPU 来自 DRM 驱动报告的引擎时间。", - "desktop.memory.helpMacOS": "“内存中”加“压缩/换出”就是活动监视器“内存”一列的值,“压缩/换出”是其中被压缩的部分。CPU 以一个核心占满为 100%,与活动监视器一致。", - "desktop.memory.helpWindows": "“内存中”是专用工作集,即任务管理器“内存”一列的值。Windows 不单独报告进程被压缩了多少,“压缩/换出”是已提交的专用内存中不在工作集里的部分:被压缩、写入页面文件或尚未用到的内存,所以它是上限。“显存”是任务管理器“专用 GPU 内存”一列的值。CPU 以全部逻辑处理器占满为 100%,与任务管理器一致。", - "desktop.memory.host": "Lithe 主进程", - "desktop.memory.languageServer": "{plugin} · {language}", - "desktop.memory.languageServers": "语言服务器", - "desktop.memory.megabytes": "{value} MB", - "desktop.memory.noOtherProcesses": "Lithe 目前没有启动其他进程。", - "desktop.memory.omitted": "另有 {count} 项,共 {value}", - "desktop.memory.percent": "{value}%", - "desktop.memory.processCount": "{count} 个进程", - "desktop.memory.processes": "进程", - "desktop.memory.reading": "正在读取进程…", - "desktop.memory.services": "插件服务", - "desktop.memory.statCPU": "CPU {value}", - "desktop.memory.statCompressed": "压缩/换出 {value}", - "desktop.memory.statGPU": "GPU {value}", - "desktop.memory.statGPUMemory": "显存 {value}", - "desktop.memory.statSeparator": " · ", - "desktop.memory.status": "{total} · Lithe {lithe}", - "desktop.memory.systemHelpers": "系统辅助进程", - "desktop.memory.title": "内存", - "desktop.memory.tooltip": "内存:共 {total},其中 Lithe 主进程 {lithe}。", - "desktop.memory.unavailable": "无法读取进程内存。", - "desktop.menu.open": "菜单", - "desktop.nativePanel.empty": "没有可显示的内容。", - "desktop.nativePanel.failed": "插件无法执行此操作。", - "desktop.nativePanel.multipleInstances": "此工作区有多个构建系统实例,面板无法选择。", - "desktop.nativePanel.noInstance": "此工作区没有该面板需要的构建系统实例。", - "desktop.nativePanel.sourceFailed": "插件无法加载此面板。", - "desktop.navigation.historyUnavailable": "该位置已不存在。", - "desktop.navigation.label": "[行] [:列]:", - "desktop.navigation.title": "跳转到行:列", - "desktop.nested.collapse": "折叠仓库", - "desktop.nested.expand": "展开仓库", - "desktop.nested.refUnchanged": "父仓库中该子模块的引用没有变化。在此提交后需要在父仓库中更新引用。", - "desktop.nested.rootToggle": "在日志中显示 {name}", - "desktop.nested.roots": "仓库根目录", - "desktop.nested.rootsAll": "全选", - "desktop.newProject.advanced": "高级设置", - "desktop.newProject.archiveInvalid": "下载的压缩包不是有效的项目。", - "desktop.newProject.cancel": "取消", - "desktop.newProject.choose": "选择…", - "desktop.newProject.chooseFailed": "无法打开文件夹选择器,请直接输入位置。", - "desktop.newProject.commandFailed": "生成器的命令执行失败,请查看下方输出。", - "desktop.newProject.commandMissing": "此生成器需要的工具尚未安装:{command}。", - "desktop.newProject.create": "创建", - "desktop.newProject.createdInterrupted": "项目文件夹已创建,但操作被中断。你可以打开该文件夹。", - "desktop.newProject.creating": "正在创建…", - "desktop.newProject.defaultName": "untitled", - "desktop.newProject.description": "具有自由结构的基本项目。", - "desktop.newProject.downloadFailed": "无法下载项目模板,请检查网络和服务器地址。", - "desktop.newProject.empty": "空项目", - "desktop.newProject.exists": "同名文件或文件夹已存在,请选择其他名称或位置。", - "desktop.newProject.failed": "无法创建项目,请检查位置后重试。", - "desktop.newProject.findPlugin": "在插件市场中查找", - "desktop.newProject.generators": "生成器", - "desktop.newProject.git": "创建 Git 仓库", - "desktop.newProject.gitFailed": "项目文件夹已创建,但 Git 初始化失败。你可以打开该文件夹,稍后再初始化 Git。", - "desktop.newProject.invalidLocation": "请选择绝对路径作为项目位置。", - "desktop.newProject.invalidName": "请输入有效的项目名称,不要包含路径分隔符、开头的连字符或首尾空格。", - "desktop.newProject.location": "位置", - "desktop.newProject.name": "名称", - "desktop.newProject.noInstallation": "未找到已安装的版本。", - "desktop.newProject.none": "无", - "desktop.newProject.openCreated": "打开已创建的项目", - "desktop.newProject.output": "输出", - "desktop.newProject.pathPreview": "项目将在以下位置创建:{path}", - "desktop.newProject.pinFailed": "项目已创建,但无法保存你选择的工具。你可以稍后在工具链设置中重新选择。", - "desktop.newProject.problem.invalidFormat": "格式无效。", - "desktop.newProject.problem.required": "此项必填。", - "desktop.newProject.problem.tooLong": "内容过长。", - "desktop.newProject.problem.toolTooOld": "所选版本过旧。", - "desktop.newProject.problem.unsupportedValue": "不支持此值。", - "desktop.newProject.problem.versionTooHigh": "该值的版本高于所选工具所支持的版本。", - "desktop.newProject.requiresPlugin": "此生成器需要 {name}。", - "desktop.newProject.section": "新建项目", - "desktop.newProject.stepProgress": "第 {step} 步,共 {total} 步", - "desktop.newProject.timedOut": "生成器耗时过长,已被停止。", - "desktop.newProject.title": "新建项目", - "desktop.newProject.tooOld": "版本过旧", - "desktop.newProject.toolsFailed": "无法查找已安装的工具,请检查插件后重试。", - "desktop.newProject.usesNetwork": "此生成器会从网络下载文件。", - "desktop.notifications.clear": "清空", - "desktop.notifications.empty": "没有通知", - "desktop.notifications.meta": "{time} · {count} 次", - "desktop.notifications.repeated": "{message}({count})", - "desktop.notifications.title": "通知", - "desktop.notifications.unread": "通知,{count} 条未读", - "desktop.notifications.viewLogs": "查看日志", - "desktop.outline.empty": "此文件没有符号。", - "desktop.outline.failed": "无法获取此文件的结构。", - "desktop.outline.filter": "筛选符号", - "desktop.outline.follow": "选中光标所在的符号", - "desktop.outline.loading": "正在加载结构…", - "desktop.outline.matches": "匹配:{matches}/{total}", - "desktop.outline.noFile": "打开文件后可查看其结构。", - "desktop.outline.noHeadings": "此文件没有标题。", - "desktop.outline.noServerHint": "安装支持此语言的插件后,这里会显示文件里的类、函数和字段。", - "desktop.outline.serverDown": "语言服务器未在运行,无法显示结构。", - "desktop.outline.serverDownHint": "可在状态栏查看语言服务器状态和日志。", - "desktop.outline.sort": "按名称排序", - "desktop.outline.starting": "语言服务器正在启动…", - "desktop.outline.tooLarge": "此文件过大,无法显示结构。", - "desktop.outline.unavailable": "没有语言服务器为此文件提供结构。", - "desktop.outline.unsupported": "此文件的语言服务器不提供结构。", - "desktop.panel.header": "工具窗口标题栏", - "desktop.panel.hide": "隐藏", - "desktop.panel.placeholder": "此工具窗口将在后续版本接入", - "desktop.pluginHost.contentFailed": "无法打开 {uri}:插件没有提供其内容。", - "desktop.pluginHost.messageDismiss": "关闭", - "desktop.pluginHost.messageFrom": "来自 {plugin} 的消息", - "desktop.pluginHost.messageOK": "好", - "desktop.pluginHost.terminalAllow": "运行", - "desktop.pluginHost.terminalConsentDetails": "程序:{program}\n参数:{arguments}\n目录:{directory}", - "desktop.pluginHost.terminalConsentTitle": "{plugin} 想在终端中运行程序", - "desktop.pluginHost.terminalDeny": "取消", - "desktop.pluginSettings.actionCancel": "取消", - "desktop.pluginSettings.actionCanceled": "操作已取消。", - "desktop.pluginSettings.actionCompleted": "操作已完成。设置草稿未保存。", - "desktop.pluginSettings.actionConfirm": "在此项目中执行“{action}”?未保存的设置仍保留为草稿。", - "desktop.pluginSettings.actionContinue": "执行操作", - "desktop.pluginSettings.actionDisabled": "请先启用插件,再执行其操作。", - "desktop.pluginSettings.actionProviderUnavailable": "此项目中没有可执行该操作的插件提供方会话。请启动其语言或构建提供方后重试。", - "desktop.pluginSettings.browse": "浏览…", - "desktop.pluginSettings.conflict": "来源、插件或项目已变化。草稿已保留,请重新加载后再保存。", - "desktop.pluginSettings.contributor": "插件", - "desktop.pluginSettings.discardReload": "放弃草稿并重新加载", - "desktop.pluginSettings.draftLimit": "请先保存或放弃已有插件草稿,再打开其他设置表单。", - "desktop.pluginSettings.empty": "此插件未声明设置项。", - "desktop.pluginSettings.failed": "无法读取或保存设置。草稿已保留,请重新加载来源后重试。", - "desktop.pluginSettings.global": "全局", - "desktop.pluginSettings.globalOnly": "此设置仅可在全局范围修改。", - "desktop.pluginSettings.invalidDocument": "设置来源无效,请修正其中的 JSON 后重新加载,草稿已保留。", - "desktop.pluginSettings.invalidEdit": "部分草稿值不符合插件声明,请更正后重新保存。", - "desktop.pluginSettings.invalidStored": "已存储的值无效,当前显示生效的回退值。", - "desktop.pluginSettings.openProject": "打开项目后可编辑项目设置。", - "desktop.pluginSettings.pageUnavailable": "当前没有已启用的插件向此页提供设置。", - "desktop.pluginSettings.project": "项目", - "desktop.pluginSettings.range": "范围:{minimum}–{maximum} {unit}", - "desktop.pluginSettings.reload": "重新加载", - "desktop.pluginSettings.reset": "重置", - "desktop.pluginSettings.restart": "重启语言服务器", - "desktop.pluginSettings.restartFailed": "无法完成语言服务器重启,请关闭并重新打开项目后再试。", - "desktop.pluginSettings.restartRequired": "已保存的更改需要重启语言服务器后生效。", - "desktop.pluginSettings.save": "保存", - "desktop.pluginSettings.saved": "已保存并从来源重新读取。", - "desktop.pluginSettings.scope": "设置范围", - "desktop.pluginSettings.scopeHelp": "全局设置对所有项目生效;项目设置只对当前项目生效,存了值的项会覆盖全局值。切换范围前,请保存或重新加载草稿。", - "desktop.pluginSettings.sourceChanged": "设置已在其他窗口更改。草稿已保留;请重新加载后再保存。", - "desktop.pluginSettings.title": "插件设置", - "desktop.pluginWeb.dialogTitle": "{plugin}:{title}", - "desktop.pluginWeb.fileFilter": "文件({extensions})", - "desktop.pluginWeb.loading": "正在打开…", - "desktop.pluginWeb.openFileTitle": "为 {plugin} 选择文件", - "desktop.pluginWeb.saveFileTitle": "为 {plugin} 保存文件", - "desktop.pluginWeb.unavailable": "无法显示此窗口:{reason}", - "desktop.plugins.commandInstallCommand": "将要运行的命令", - "desktop.plugins.commandInstallCommandsMissing": "安装已完成,但在 {directory} 中没有找到 {commands}。", - "desktop.plugins.commandInstallError": "无法安装:{reason}", - "desktop.plugins.commandInstallFailed": "安装失败,退出码 {code}。请查看下面的输出。", - "desktop.plugins.commandInstallLocation": "安装位置", - "desktop.plugins.commandInstallManaged": "Lithe 管理的目录", - "desktop.plugins.commandInstallManagedHelp": "只供 Lithe 使用,卸载插件时一并删除。", - "desktop.plugins.commandInstallNetwork": "安装时可能会从网络下载。", - "desktop.plugins.commandInstallNoDirectory": "无法确定 {tool} 的默认安装位置。", - "desktop.plugins.commandInstallOutput": "输出", - "desktop.plugins.commandInstallPrompt": "将用 {tool} 安装 {commands}。", - "desktop.plugins.commandInstallStopped": "安装程序意外结束。请查看下面的输出。", - "desktop.plugins.commandInstallTimedOut": "安装超过 {seconds} 秒仍未完成,已停止。", - "desktop.plugins.commandInstallTitle": "安装 {commands}", - "desktop.plugins.commandInstallToolDefault": "{tool} 的默认位置", - "desktop.plugins.commandInstallToolDefaultHelp": "终端和其他程序也能使用,卸载插件时保留。", - "desktop.plugins.commandInstallToolMissing": "未找到 {tool}。请先安装它,或在 设置 > 构建、执行、部署 > 工具链 中指定它的位置。", - "desktop.plugins.commandInstalled": "已安装到 {directory}。", - "desktop.plugins.commandMissing": "未找到 {commands}", - "desktop.plugins.commandMissingBanner": "未找到 {commands},插件的部分功能无法使用。", - "desktop.plugins.commandMissingHelp": "未找到 {commands}。请在 设置 > 插件 中安装,或把它加入 PATH。", - "desktop.plugins.commandMissingManual": "这个插件没有提供安装方式。请自行安装,并确保它在 PATH 中。", - "desktop.plugins.installedOnThisComputer": "使用本机程序:{arg1}", - "desktop.problems.group.file": "按文件", - "desktop.problems.group.none": "不分组", - "desktop.problems.group.severity": "按严重级别", - "desktop.problems.groupHeading": "分组", - "desktop.problems.noOpenFile": "没有打开的文件。", - "desktop.problems.previewEmpty": "选择一个问题以预览源码。", - "desktop.problems.scope.file": "文件", - "desktop.problems.scope.fileCount": "文件 {count}", - "desktop.problems.scope.project": "项目", - "desktop.problems.scope.projectCount": "项目 {count}", - "desktop.problems.severity.error": "错误", - "desktop.problems.severity.hint": "提示", - "desktop.problems.severity.information": "信息", - "desktop.problems.severity.unknown": "未知严重级别", - "desktop.problems.severity.warning": "警告", - "desktop.problems.showErrors": "错误", - "desktop.problems.showHeading": "显示", - "desktop.problems.showInfo": "信息", - "desktop.problems.showPreview": "显示编辑器预览", - "desktop.problems.showWarnings": "警告", - "desktop.problems.viewOptions": "视图选项", - "desktop.process.forceStop": "强制结束", - "desktop.project.empty": "文件夹为空", - "desktop.project.expandAllIncomplete": "项目文件夹太多,部分文件夹没有展开。", - "desktop.project.loading": "正在读取…", - "desktop.project.readFailed": "读取失败:{reason}", - "desktop.project.rootUnavailable": "项目目录不可用。", - "desktop.project.watchUnavailable": "项目文件可能无法自动更新。", - "desktop.projectOpen.cancel": "取消", - "desktop.projectOpen.newWindowFailed": "无法在新窗口中打开项目:{reason}", - "desktop.pull.button": "拉取", - "desktop.pull.fastForward": "仅快进", - "desktop.pull.loading": "正在读取仓库…", - "desktop.pull.menu": "拉取…", - "desktop.pull.merge": "合并", - "desktop.pull.noBranch": "所选远程没有分支。", - "desktop.pull.noRemote": "此仓库没有远程。", - "desktop.pull.prompt": "将所选远程分支拉取并整合到该仓库当前检出的分支。", - "desktop.pull.readFailed": "无法读取仓库:{reason}", - "desktop.pull.rebase": "变基", - "desktop.pull.remote": "远程", - "desktop.pull.remoteBranch": "远程分支", - "desktop.pull.repository": "仓库", - "desktop.pull.strategy": "策略", - "desktop.pull.title": "拉取", - "desktop.rebase.abort": "中止", - "desktop.rebase.action.drop": "丢弃", - "desktop.rebase.action.edit": "编辑", - "desktop.rebase.action.fixup": "合并到前一个", - "desktop.rebase.action.pick": "保留", - "desktop.rebase.action.reword": "改写消息", - "desktop.rebase.action.squash": "压缩", - "desktop.rebase.amend": "修改消息并继续", - "desktop.rebase.amendTitle": "修改提交消息", - "desktop.rebase.conflicts": "{count} 个冲突文件", - "desktop.rebase.continue": "继续", - "desktop.rebase.controlFailed": "无法继续变基:{reason}", - "desktop.rebase.description": "重放 {hash} 之后的提交。", - "desktop.rebase.empty": "此提交之后没有可变基的提交。", - "desktop.rebase.fromHere": "从此处变基…", - "desktop.rebase.loading": "正在读取要变基的提交…", - "desktop.rebase.messageApply": "应用", - "desktop.rebase.messageTitle": "提交消息", - "desktop.rebase.moveDown": "下移", - "desktop.rebase.moveUp": "上移", - "desktop.rebase.skip": "跳过", - "desktop.rebase.slotBusy": "请先结束正在进行的变基,再开始新的变基。", - "desktop.rebase.start": "开始变基", - "desktop.rebase.status": "变基状态:{status}", - "desktop.rebase.title": "从此处变基", - "desktop.recentFiles.edited": "最近编辑", - "desktop.recentFiles.empty": "没有匹配的最近文件。", - "desktop.recentFiles.failed": "无法读取最近文件记录。", - "desktop.recentFiles.query": "搜索最近文件", - "desktop.recentFiles.title": "最近文件", - "desktop.references.closeSearch": "关闭搜索结果", - "desktop.references.empty": "使用“查找用法”(Shift+F12)后,结果显示在这里。", - "desktop.references.nextUsage": "下一个用法", - "desktop.references.previewEmpty": "选择一个用法以预览。", - "desktop.references.previousUsage": "上一个用法", - "desktop.references.resultCount": "{count} 个结果", - "desktop.references.resultCountOne": "1 个结果", - "desktop.references.showPreview": "显示预览", - "desktop.references.usageCount": "{count} 个用法", - "desktop.references.usageCountOne": "1 个用法", - "desktop.references.usages": "用法", - "desktop.refs.checkedOutAndRebased": "已检出 {branch} 并把它变基到之前的分支", - "desktop.refs.mergeConfirm": "把 {branch} 合并到当前分支。如果 Git 因冲突停下,提交工具窗口会显示这次合并,直到你继续或中止。", - "desktop.refs.merged": "已把 {branch} 合并到当前分支", - "desktop.refs.rebaseConfirm": "把当前分支变基到 {branch} 上。如果 Git 因冲突停下,提交工具窗口会显示这次变基,直到你继续或中止。", - "desktop.refs.rebased": "已把当前分支变基到 {branch}", - "desktop.refs.trackingSet": "{branch} 现在跟踪 {upstream}", - "desktop.refs.trackingStopped": "{branch} 不再跟踪远程分支", - "desktop.run.closeSession": "关闭", - "desktop.run.durationHours": "{hours}小时{minutes}分", - "desktop.run.durationMilliseconds": "{milliseconds}毫秒", - "desktop.run.durationMinutes": "{minutes}分{seconds}秒", - "desktop.run.durationSeconds": "{seconds}秒{milliseconds}毫秒", - "desktop.run.empty": "运行配置和构建任务的输出将显示在这里。", - "desktop.run.ended": "进程已结束。", - "desktop.run.exited": "进程已结束,退出码 {code}。", - "desktop.run.linkMissing": "在工作区中找不到链接指向的文件。", - "desktop.run.linkUnresolved": "插件无法解析此链接。", - "desktop.run.performance.cpu": "CPU {percent}%", - "desktop.run.performance.memory": "内存 {megabytes} MB", - "desktop.run.rerun": "再次运行", - "desktop.run.signalled": "进程被信号 {signal} 终止。", - "desktop.run.snapshot.menu": "快照当前输出", - "desktop.run.snapshot.tab": "{label}(快照)", - "desktop.run.startedAt": ": 在 {time}", - "desktop.run.statusFailed": "失败", - "desktop.run.statusRunning": "正在运行", - "desktop.run.statusStopped": "已停止", - "desktop.run.statusSucceeded": "成功", - "desktop.runConfig.addNew": "添加新…", - "desktop.runConfig.addNewConfiguration": "添加新的运行配置…", - "desktop.runConfig.allowMultipleInstancesHelp": "勾选后,配置运行时再次启动会另开一个实例,与正在运行的并存;不勾选则先停止正在运行的实例,再重新启动。", - "desktop.runConfig.apply": "应用", - "desktop.runConfig.arguments": "程序参数", - "desktop.runConfig.argumentsPlaceholder": "传给程序的参数,例如 --port 8080;多个参数用空格分隔,含空格的参数用引号括起来", - "desktop.runConfig.arrangeFailed": "无法保存文件夹和排序:{reason}", - "desktop.runConfig.automaticValue": "自动({value})", - "desktop.runConfig.beforeLaunch.confirmBody": "启动 {name} 前,项目的运行配置文件要求先运行以下命令。只有信任此项目时才运行。", - "desktop.runConfig.beforeLaunch.confirmRun": "运行步骤", - "desktop.runConfig.beforeLaunch.confirmTitle": "运行项目文件中的启动前步骤?", - "desktop.runConfig.beforeLaunch.exited": "启动前步骤 {name} 以退出码 {code} 结束,未启动配置。", - "desktop.runConfig.beforeLaunch.failed": "启动前步骤 {name} 无法运行:{reason}", - "desktop.runConfig.beforeLaunch.refused.cycle": "启动前步骤在 {step} 处形成循环。", - "desktop.runConfig.beforeLaunch.refused.notAllowed": "{step} 不能作为启动前步骤:只有 Shell、PowerShell、批处理和可执行文件运行配置可以。", - "desktop.runConfig.beforeLaunch.refused.notFound": "启动前步骤引用的配置 {step} 不存在。", - "desktop.runConfig.beforeLaunch.refused.other": "启动前步骤 {step} 无法运行。", - "desktop.runConfig.beforeLaunch.refused.tooLong": "启动前步骤在 {step} 处过多:展开嵌套步骤后最多 32 个。", - "desktop.runConfig.beforeLaunch.refused.unavailable": "启动前步骤 {step} 在此系统上不可用。", - "desktop.runConfig.beforeLaunch.stepHeader": "启动前步骤 ({index}/{count}): {name}", - "desktop.runConfig.beforeLaunchAdd": "添加步骤", - "desktop.runConfig.beforeLaunchDown": "下移", - "desktop.runConfig.beforeLaunchEmpty": "无步骤", - "desktop.runConfig.beforeLaunchHelp": "启动此配置前按顺序运行的进程配置。每一个都以退出码 0 结束后,才会启动此配置。", - "desktop.runConfig.beforeLaunchMissing": "找不到配置 {id}", - "desktop.runConfig.beforeLaunchNoCandidates": "先创建 Shell、PowerShell、批处理或可执行文件运行配置,才能把它作为步骤。", - "desktop.runConfig.beforeLaunchRemove": "移除步骤", - "desktop.runConfig.beforeLaunchUp": "上移", - "desktop.runConfig.browse": "选择…", - "desktop.runConfig.builtInGroup": "脚本与程序", - "desktop.runConfig.chooseFailed": "无法打开文件选择器。", - "desktop.runConfig.conflict": "保存期间文件已在磁盘上被修改,请关闭编辑器重新打开后再试。", - "desktop.runConfig.copyConfiguration": "复制配置", - "desktop.runConfig.copyFailed": "无法复制运行配置:{reason}", - "desktop.runConfig.copyName": "{name}(副本)", - "desktop.runConfig.copyPendingHint": "按“应用”或“确定”后生成这个副本,之后就可以编辑它的选项。", - "desktop.runConfig.delete": "删除", - "desktop.runConfig.deleteBody": "确定删除“{name}”吗?它会从保存它的运行配置文件中移除。", - "desktop.runConfig.deleteFailed": "无法删除运行配置:{reason}", - "desktop.runConfig.deleteTitle": "删除运行配置", - "desktop.runConfig.dialogTitle": "运行/调试配置", - "desktop.runConfig.documentIgnored": "未读取 {file} 中的运行配置", - "desktop.runConfig.emptyHint": "还没有运行配置,点 + 新建脚本或程序运行", - "desktop.runConfig.emptyTree": "未添加运行配置。", - "desktop.runConfig.entrypoint": "入口", - "desktop.runConfig.entrypointPlaceholder": "提供方默认值", - "desktop.runConfig.environment": "环境变量", - "desktop.runConfig.environmentInvalid": "第 {line} 行不是 KEY=VALUE 格式。", - "desktop.runConfig.environmentPlaceholder": "每行一个 KEY=VALUE", - "desktop.runConfig.errorConflict": "脚本文件和脚本文本只能选一个", - "desktop.runConfig.errorDuplicate": "变量名重复", - "desktop.runConfig.errorInvalidCharacter": "包含不允许的字符", - "desktop.runConfig.errorInvalidName": "变量名无效", - "desktop.runConfig.errorInvalidPath": "路径无效", - "desktop.runConfig.errorNotAllowed": "这种运行配置不能使用此项", - "desktop.runConfig.errorNotFound": "找不到该文件或文件夹", - "desktop.runConfig.errorOther": "值无效({code})", - "desktop.runConfig.errorOutsideProject": "工作目录必须在项目内", - "desktop.runConfig.errorRequired": "必填", - "desktop.runConfig.errorTooLong": "内容太长", - "desktop.runConfig.errorUnavailable": "在此系统上不可用", - "desktop.runConfig.fieldAllowMultipleInstances": "允许多个实例", - "desktop.runConfig.fieldBeforeLaunch": "启动前", - "desktop.runConfig.fieldExecutionPolicyBypass": "绕过执行策略(-ExecutionPolicy Bypass)", - "desktop.runConfig.fieldInterpreter": "解释器路径", - "desktop.runConfig.fieldInterpreterArguments": "解释器选项", - "desktop.runConfig.fieldName": "名称", - "desktop.runConfig.fieldProgram": "程序路径", - "desktop.runConfig.fieldScript": "脚本路径", - "desktop.runConfig.fieldScriptOptions": "脚本选项", - "desktop.runConfig.fieldSource": "执行", - "desktop.runConfig.fieldStoreAsProjectFile": "存为项目文件", - "desktop.runConfig.fieldText": "脚本文本", - "desktop.runConfig.folderHint": "文件夹只用来整理列表,随其中的配置一起保存;空文件夹不会保存。", - "desktop.runConfig.folderNameEmpty": "请输入文件夹名称。", - "desktop.runConfig.folderNameInvalid": "文件夹名称不能超过 256 字节,也不能包含控制字符。", - "desktop.runConfig.folderNameTaken": "这一类配置中已经有同名文件夹。", - "desktop.runConfig.formTooNew": "这个运行配置需要更新版本的 Lithe 才能编辑。", - "desktop.runConfig.interpreterArgumentsHelp": "写在脚本路径前面、交给解释器本身的选项,例如 bash 的 -x(逐行打印执行的命令);脚本读不到这些值。留空时使用括号里显示的自动选项。", - "desktop.runConfig.interpreterArgumentsPlaceholder": "传给解释器的选项,例如 -x", - "desktop.runConfig.interpreterAutomatic": "自动", - "desktop.runConfig.interpreterCustom": "自定义…", - "desktop.runConfig.interpreterCustomField": "自定义解释器", - "desktop.runConfig.interpreterHelp": "选“自动”时使用括号里的解释器;也可以选终端检测到的同类 shell,或选“自定义…”填写命令名(按 PATH 查找)或可执行文件路径。", - "desktop.runConfig.interpreterShell": "{name}({path})", - "desktop.runConfig.loadFailed": "无法读取运行配置:{reason}", - "desktop.runConfig.newConfiguration": "新建运行配置", - "desktop.runConfig.newConfigurationEllipsis": "新建运行配置…", - "desktop.runConfig.newFolder": "新建文件夹", - "desktop.runConfig.newFolderName": "新建文件夹", - "desktop.runConfig.notEditable": "插件可用后才能编辑这个运行配置。", - "desktop.runConfig.noteWindowsOnly": "只在 Windows 上生效,其他系统会忽略。", - "desktop.runConfig.ok": "确定", - "desktop.runConfig.optionDefault": "默认", - "desktop.runConfig.optionReadOnly": "此处无法编辑", - "desktop.runConfig.orSelectToEdit": "或选择要编辑的运行配置", - "desktop.runConfig.programArgumentsHelp": "启动程序时附在程序路径后面的命令行参数。多个参数用空格分隔,含空格的参数用引号括起来。", - "desktop.runConfig.programArgumentsPlaceholder": "传给程序的参数,例如 --port 8080", - "desktop.runConfig.programNotFound": "在 PATH 中找不到“{program}”,请填写解释器或程序的完整路径。", - "desktop.runConfig.removeConfiguration": "删除配置", - "desktop.runConfig.run": "运行", - "desktop.runConfig.runtimeArguments": "运行时参数", - "desktop.runConfig.runtimeArgumentsPlaceholder": "每行一个参数", - "desktop.runConfig.saveFailed": "保存失败:{reason}", - "desktop.runConfig.scope": "保存到", - "desktop.runConfig.scopeLocal": "仅本机(.lithe/run/local.yaml)", - "desktop.runConfig.scopeProject": "项目共享(.lithe/run/configurations.yaml)", - "desktop.runConfig.scriptOptionsHelpBatch": "写在脚本路径后面、传给脚本的参数,脚本里用 %1、%2… 读取。多个参数用空格分隔,含空格的参数用引号括起来。", - "desktop.runConfig.scriptOptionsHelpPowerShell": "写在脚本路径后面、传给脚本的参数,脚本里用 $args 或 param() 读取。多个参数用空格分隔,含空格的参数用引号括起来。", - "desktop.runConfig.scriptOptionsHelpShell": "写在脚本路径后面、传给脚本的参数,脚本里用 $1、$2… 读取。多个参数用空格分隔,含空格的参数用引号括起来。", - "desktop.runConfig.scriptOptionsPlaceholder": "传给脚本的参数,例如 --verbose input.txt", - "desktop.runConfig.sortAlphabetically": "按字母顺序排序", - "desktop.runConfig.sourceFile": "脚本文件", - "desktop.runConfig.sourceText": "脚本文本", - "desktop.runConfig.storeAsProjectFileHelp": "勾选后保存到 .lithe/run/configurations.yaml,可随项目提交共享;不勾选则只保存在本机的 .lithe/run/local.yaml。", - "desktop.runConfig.toolPath": "{arg1} {arg2}", - "desktop.runConfig.toolPathPlaceholder": "留空则自动选择", - "desktop.runConfig.toolPick": "工具安装", - "desktop.runConfig.toolPickNone": "选择安装…", - "desktop.runConfig.typeBatch": "批处理脚本(cmd)", - "desktop.runConfig.typeExecutable": "程序", - "desktop.runConfig.typeNotRunnableHere": "本机不能运行", - "desktop.runConfig.typePowerShell": "PowerShell 脚本", - "desktop.runConfig.typeShell": "Shell 脚本", - "desktop.runConfig.unavailableBatchPlatform": "批处理脚本只能在 Windows 上运行;在这台电脑上可以编辑和保存,但不能运行。", - "desktop.runConfig.unavailableInvalid": "运行配置无效:{reason}", - "desktop.runConfig.unavailableMissingDirectory": "工作目录“{directory}”不存在了,请编辑配置修改它。", - "desktop.runConfig.unavailableOther": "此运行配置现在无法运行:{reason}", - "desktop.runConfig.unavailablePlatform": "{type}不能在当前系统上运行;可以编辑和保存,但不能运行。", - "desktop.runConfig.unavailablePluginMissing": "需要插件“{plugin}”,但它没有安装或没有启用。", - "desktop.runConfig.unavailableRepositoryMismatch": "已安装的“{plugin}”不是配置记录的仓库 {repository} 发布的插件。", - "desktop.runConfig.unavailableVersionUnsupported": "已安装的“{plugin}”版本不满足要求 {requirement}。", - "desktop.runConfig.unnamed": "未命名", - "desktop.runConfig.variableAdd": "添加变量", - "desktop.runConfig.variableName": "变量名", - "desktop.runConfig.variableRemove": "删除变量", - "desktop.runConfig.variableValue": "值", - "desktop.runConfig.windowsOnlyType": "仅 Windows", - "desktop.runConfig.workingDirectory": "工作目录", - "desktop.runConfig.workingDirectoryPlaceholder": "工作区内的路径;留空使用默认目录", - "desktop.search.collapseFile": "收起详情", - "desktop.search.expandFile": "展开详情", - "desktop.search.fileMaskPlaceholder": "文件掩码,例如 *.java、*.kt", - "desktop.search.first200": "显示前 200 条结果。请缩小搜索范围以查看更多。", - "desktop.search.noReplacements": "没有可替换的内容。", - "desktop.search.replace": "替换", - "desktop.search.replaceAll": "全部替换…", - "desktop.search.replaceConflict": "替换期间有文件在磁盘上被修改", - "desktop.search.replaceDone": "已在 {files} 个文件中替换", - "desktop.search.replaceFailed": "无法准备替换:{reason}", - "desktop.search.replaceFile": "替换文件", - "desktop.search.replacePartlyFailed": "已在 {changed} 个文件中替换;{failed} 个失败:{reason}", - "desktop.search.replacePlaceholder": "替换为", - "desktop.search.replacePreviewTitle": "在文件中替换", - "desktop.search.replacePreviewing": "正在查找可替换的内容…", - "desktop.search.replaceSkipped": "已在 {changed} 个文件中替换;{skipped} 个文件已变化或不是 UTF-8,未修改", - "desktop.search.replaceSummary": "{files} 个文件中的 {occurrences} 处", - "desktop.search.replaceToggle": "切换替换", - "desktop.search.watchUnavailable": "无法监听项目变化。请刷新搜索结果以检查更新。", - "desktop.semantics.completion": "补全建议", - "desktop.semantics.completionFailed": "无法应用补全。", - "desktop.semantics.definitions": "定义", - "desktop.semantics.formatFailed": "无法格式化文档。", - "desktop.semantics.formatNothing": "没有需要格式化的内容。", - "desktop.semantics.hover": "悬浮信息", - "desktop.semantics.noDefinition": "未找到定义。", - "desktop.semantics.noReferences": "未找到引用。", - "desktop.semantics.noServer": "此文件没有可用的语言服务器。", - "desktop.semantics.operationFailed": "语言服务器无法完成该请求。", - "desktop.semantics.references": "引用", - "desktop.semantics.renameApplied": "已在 {count} 个文件中重命名。", - "desktop.semantics.renameButton": "重命名", - "desktop.semantics.renameCancel": "取消", - "desktop.semantics.renameDescription": "重命名此符号的所有引用。", - "desktop.semantics.renameFailed": "无法完成重命名,已写入的文件已恢复。", - "desktop.semantics.renameName": "新名称", - "desktop.semantics.renameNothing": "语言服务器没有返回任何更改。", - "desktop.semantics.renamePartial": "部分已打开的文档在重命名期间发生了变化,未更新。", - "desktop.semantics.renameRejected": "重命名涉及项目之外的文件或只读文档,未做任何更改。", - "desktop.semantics.renameTitle": "重命名符号", - "desktop.semantics.targetUnavailable": "目标不是本地文件,暂时无法打开。", - "desktop.settings.about": "关于", - "desktop.settings.about.build": "构建", - "desktop.settings.about.buildUnknown": "未记录", - "desktop.settings.about.community": "加入交流", - "desktop.settings.about.copied": "已复制", - "desktop.settings.about.copy": "复制", - "desktop.settings.about.copyFailed": "复制失败:{reason}", - "desktop.settings.about.copyHelp": "复制版本、平台、构建和运行时,可直接粘贴到问题反馈里。", - "desktop.settings.about.core": "Rust 内核", - "desktop.settings.about.coreHelp": "桌面客户端共用的 Rust 内核:项目、构建运行和插件。", - "desktop.settings.about.info": "版本信息", - "desktop.settings.about.issues": "问题反馈", - "desktop.settings.about.issuesHelp": "在 GitHub 上报告问题或提功能建议。", - "desktop.settings.about.platform": "运行平台", - "desktop.settings.about.project": "项目", - "desktop.settings.about.qq": "QQ 群", - "desktop.settings.about.qqHelp": "群号 {number},提问、反馈和交流都可以。", - "desktop.settings.about.repo": "开源仓库", - "desktop.settings.about.repoHelp": "源码、发布版本和讨论都在 GitHub。", - "desktop.settings.about.runtime": "运行时", - "desktop.settings.about.tagline": "轻量、通用、跨平台的插件化 IDE,按需灵活配置", - "desktop.settings.about.version": "版本", - "desktop.settings.about.viva": "Viva", - "desktop.settings.about.vivaHelp": "Lithe 界面所用的 Go 优先、GPU 原生桌面框架的上游仓库。", - "desktop.settings.about.wechat": "微信群", - "desktop.settings.about.wechatHelp": "在飞书文档里扫码加入。", - "desktop.settings.aiGeneration.help": "提交信息生成和行内编辑使用的服务商与选项。这些是 Lithe 自己的偏好,只影响本应用,不改写 Codex 或 Claude 的配置。", - "desktop.settings.aiGeneration.includeBody": "生成提交正文", - "desktop.settings.aiGeneration.language": "输出语言", - "desktop.settings.aiGeneration.languageChinese": "简体中文", - "desktop.settings.aiGeneration.languageEnglish": "英文", - "desktop.settings.aiGeneration.languageInterface": "跟随界面语言", - "desktop.settings.aiGeneration.loading": "正在加载…", - "desktop.settings.aiGeneration.page": "生成", - "desktop.settings.aiGeneration.provider": "服务商", - "desktop.settings.aiGeneration.providerAuto": "自动(先 Codex,后 Claude)", - "desktop.settings.aiGeneration.providerClaude": "只用 Claude Code", - "desktop.settings.aiGeneration.providerCodex": "只用 Codex", - "desktop.settings.aiGeneration.sourceReady": "{source}:{name},模型 {model},配置 {path}", - "desktop.settings.aiGeneration.sourceUnavailable": "{source}:没有带密钥的可用服务商", - "desktop.settings.aiGeneration.title": "生成选项", - "desktop.settings.appearanceHelp": "外观模式会同时应用到 Lithe 的所有窗口", - "desktop.settings.categories": "设置页面", - "desktop.settings.editor.tabLimit": "标签数量上限", - "desktop.settings.editor.tabLimitCount": "最多打开的文件标签", - "desktop.settings.editor.tabLimitHelp": "超过上限后再打开文件,会自动关闭另一个文件标签。有未保存修改的标签、终端和 Agent 对话不会被关闭。", - "desktop.settings.editor.tabLimitNone": "不限制", - "desktop.settings.editor.tabPolicy": "达到上限时关闭", - "desktop.settings.editor.tabPolicyOldest": "最早打开的标签", - "desktop.settings.editor.tabPolicyRecent": "最久未使用的标签", - "desktop.settings.editorSemantic": "语义高亮", - "desktop.settings.editorSemanticHelp": "语言服务器为类、方法和变量着色。关闭后只保留编辑器的语法高亮。", - "desktop.settings.editorTabs": "编辑器标签页", - "desktop.settings.editorTabsHelp": "一个编辑器分组的标签页在一行放不下时如何排列", - "desktop.settings.followSystemEffective": "跟随系统({effective})", - "desktop.settings.fonts": "字体", - "desktop.settings.fontsEditHelp": "在上方列表勾选要调整的位置,可以多选。这里的修改点“保存”后才生效,勾选的位置随后使用同一套设置;“还原”放弃未保存的修改。运行输出包括运行、构建、测试的输出和 Git 控制台。", - "desktop.settings.fontsLigaturesHelp": "把 ->、!= 等字符组合画成一个字形。需要所选字体本身支持连字;运行输出暂不显示连字。", - "desktop.settings.fontsLineSpacing": "行间距", - "desktop.settings.fontsLineSpacingAuto": "自动({value})", - "desktop.settings.fontsLineSpacingDecrease": "减小行间距", - "desktop.settings.fontsLineSpacingIncrease": "增大行间距", - "desktop.settings.fontsLineSpacingScope": "{scope} {value}", - "desktop.settings.fontsLoading": "正在读取已安装字体…", - "desktop.settings.fontsNoneChecked": "未勾选位置", - "desktop.settings.fontsNotInstalled": "{family}(未安装)", - "desktop.settings.fontsOverview": "各位置效果", - "desktop.settings.fontsOverviewHelp": "编辑器、终端和运行输出当前使用的字体。勾选要调整的位置,在下方修改后保存。", - "desktop.settings.fontsPreview": "预览", - "desktop.settings.fontsScopeEditor": "编辑器", - "desktop.settings.fontsScopeOutput": "运行输出", - "desktop.settings.fontsScopeSeparator": "、", - "desktop.settings.fontsScopeTerminal": "终端", - "desktop.settings.fontsSearch": "搜索字体", - "desktop.settings.fontsSizeDecrease": "减小字体大小", - "desktop.settings.fontsSizeIncrease": "增大字体大小", - "desktop.settings.fontsSizeValue": "{size} pt", - "desktop.settings.fontsSummary": "{family} · {size} pt · 行距 {spacing}", - "desktop.settings.fontsSystemDefault": "系统默认", - "desktop.settings.languageHelp": "菜单、按钮和提示使用的语言", - "desktop.settings.layoutHint": "拖动侧栏、标题栏和状态栏里的按钮可以调整位置", - "desktop.settings.localHistory.builtInsHelp": "项目树中隐藏的目录也列在这里:Lithe 自己的目录(例如 `**/.git/`),以及已启用插件声明的目录(例如构建输出目录)。隐藏目录里的文件始终不记入本地历史,删掉对应的行也一样。删掉的行在应用后显示为以“!”开头的行;删除这一行即可恢复该规则。", - "desktop.settings.localHistory.help": "本地历史在你保存和编辑项目文件时保留各个版本,存放在 Lithe 自己的数据目录中。忽略规则只让文件不进入本地历史,项目树仍然显示它们。", - "desktop.settings.localHistory.invalidLimit": "上限请填写不小于 1 的整数(单位 MB),留空则使用默认值。", - "desktop.settings.localHistory.regexHelp": "每行一条,不区分大小写,在以 `/` 分隔的项目内相对路径中任意位置匹配,例如 `^build/` 或 `(test|spec)/`。", - "desktop.settings.localHistory.wildcardHelp": "每行一条规则,按项目内的路径匹配,例如 `*.log` 或 `**/generated/`。", - "desktop.settings.network.apply": "应用", - "desktop.settings.network.clearPassword": "移除密码", - "desktop.settings.network.custom": "手动配置代理", - "desktop.settings.network.direct": "不使用代理", - "desktop.settings.network.exclusions": "不使用代理的地址", - "desktop.settings.network.exclusionsHelp": "用逗号分隔:主机名、域名后缀(*.example.com)、IP 地址、CIDR 网段,或用 表示不含点的主机名。", - "desktop.settings.network.host": "主机", - "desktop.settings.network.ignoredExclusions": "以下排除项不是支持的格式,已忽略:{entries}", - "desktop.settings.network.invalidPort": "端口必须是 1 到 65535 之间的数字。", - "desktop.settings.network.mode": "连接方式", - "desktop.settings.network.password": "密码", - "desktop.settings.network.passwordStored": "已保存,留空保持不变", - "desktop.settings.network.port": "端口", - "desktop.settings.network.proxy": "代理", - "desktop.settings.network.proxyHelp": "Lithe 自身的请求(插件市场、下载、AI 供应商、注册表)如何访问网络。终端和运行进程保持各自的环境。", - "desktop.settings.network.revert": "还原", - "desktop.settings.network.system": "使用系统代理设置", - "desktop.settings.network.type": "协议", - "desktop.settings.network.username": "用户名", - "desktop.settings.noMatches": "没有匹配的设置", - "desktop.settings.ok": "好", - "desktop.settings.pageLater": "新桌面端暂未提供此页面", - "desktop.settings.processTermination.askBeforeEnding": "结束前询问", - "desktop.settings.processTermination.askBeforeStopping": "停止前询问", - "desktop.settings.processTermination.confirmTabClose": "关闭有程序在运行的标签页或项目前询问", - "desktop.settings.processTermination.endWithoutAsking": "直接结束", - "desktop.settings.processTermination.leftoverTerminals": "遗留的终端", - "desktop.settings.processTermination.onQuit": "退出 Lithe 时", - "desktop.settings.processTermination.runServices": "运行服务", - "desktop.settings.processTermination.runServicesHelp": "在 Lithe 中启动的运行配置和构建任务。关闭所属项目或退出 Lithe 时,它们总会连同自己启动的进程一起停止;这里只决定是否先列出并询问。", - "desktop.settings.processTermination.seconds": "秒", - "desktop.settings.processTermination.startupSweepHelp": "Lithe 崩溃或被强制退出后,下次启动会找出它此前启动、仍在运行的程序。运行、构建、调试适配器和工具进程会直接结束;这里决定遗留的终端是先列出并询问,还是同样直接结束。", - "desktop.settings.processTermination.stopTimeLonger": "延长等待时间", - "desktop.settings.processTermination.stopTimeShorter": "缩短等待时间", - "desktop.settings.processTermination.stopWithoutAsking": "直接停止", - "desktop.settings.processTermination.terminals": "有程序在运行的终端", - "desktop.settings.processTermination.terminalsHelp": "终端里除了 Shell 本身还有程序在运行(例如开发服务器、npm run dev)时,这个终端就是“运行中”。空闲终端总是直接关闭,不会询问。结束终端会结束其中启动的程序;关闭项目时,它的终端按关闭标签页处理。", - "desktop.settings.projectColors": "用颜色区分项目", - "desktop.settings.projectColorsHelp": "用项目颜色为标题栏和面板之间的区域着色,与项目头像颜色一致。", - "desktop.settings.projectOpen": "打开项目的位置", - "desktop.settings.projectOpenAsk": "每次询问", - "desktop.settings.resetLayout": "恢复默认布局", - "desktop.settings.semanticHighlight": "使用语义颜色", - "desktop.settings.stepping.adapter": "调试器", - "desktop.settings.stepping.apply": "应用", - "desktop.settings.stepping.classFilters": "不进入的类", - "desktop.settings.stepping.classFiltersHelp": "每行一个模式,使用调试器自己的写法,例如 java.*。调用栈中匹配的帧会淡化显示。", - "desktop.settings.stepping.customized": "已自定义", - "desktop.settings.stepping.description": "单步执行时跳过的类与方法。修改在下一次调试会话生效。", - "desktop.settings.stepping.hideFilteredFrames": "在调用栈中折叠被过滤的帧", - "desktop.settings.stepping.loadFailed": "无法读取已安装的调试器:{reason}", - "desktop.settings.stepping.loading": "正在读取已安装的调试器…", - "desktop.settings.stepping.none": "已安装的调试器都不支持单步过滤。", - "desktop.settings.stepping.restoreDefaults": "恢复插件默认值", - "desktop.settings.stepping.saveFailed": "无法应用单步过滤:{reason}", - "desktop.settings.stepping.saving": "正在应用…", - "desktop.settings.stepping.skipConstructors": "跳过构造方法", - "desktop.settings.stepping.skipStaticInitializers": "跳过静态初始化块", - "desktop.settings.stepping.skipSynthetics": "跳过合成方法", - "desktop.settings.stepping.title": "调试器单步", - "desktop.settings.stepping.usingDefaults": "使用插件默认值", - "desktop.settings.system": "跟随系统", - "desktop.settings.tabsMultipleRows": "多行", - "desktop.settings.tabsOneRow": "一行,如果标签页不适合:", - "desktop.settings.tabsScroll": "滚动标签页面板", - "desktop.settings.tabsShowIn": "在以下位置显示标签页:", - "desktop.settings.tabsSqueeze": "挤压标签页", - "desktop.settings.terminal.behavior": "行为", - "desktop.settings.terminal.clickMove": "单击移动光标", - "desktop.settings.terminal.clickMoveHelp": "在正在输入的命令上单击,光标移到单击的位置。需要开启 Shell 集成。已打开的终端立即生效。", - "desktop.settings.terminal.cursor": "光标", - "desktop.settings.terminal.cursorHelp": "程序没有指定光标形状时终端使用的形状,以及竖线和下划线光标的粗细。已打开的终端立即生效。", - "desktop.settings.terminal.cursorNormal": "标准", - "desktop.settings.terminal.cursorShape": "形状", - "desktop.settings.terminal.cursorShapeBar": "竖线", - "desktop.settings.terminal.cursorShapeBlock": "方块", - "desktop.settings.terminal.cursorShapeUnderline": "下划线", - "desktop.settings.terminal.cursorThick": "粗", - "desktop.settings.terminal.cursorThickness": "粗细", - "desktop.settings.terminal.cursorThin": "细", - "desktop.settings.terminal.optionAsMeta": "Option 键当作 Meta 键", - "desktop.settings.terminal.optionAsMetaHelp": "Option 加字母发送 Esc 加该字母,例如 Option+B、Option+F 在 Shell 和 Emacs 中按单词移动。开启后 Option 不再输入特殊字符和重音符号。已打开的终端立即生效。", - "desktop.settings.terminal.scrollback": "回滚行数", - "desktop.settings.terminal.scrollbackDefault": "恢复默认", - "desktop.settings.terminal.scrollbackHelp": "新建终端在屏幕上方保留的历史行数(100–50000)。已打开的终端保持原有上限。", - "desktop.settings.terminal.scrollbackLess": "减少行数", - "desktop.settings.terminal.scrollbackLines": "保留行数", - "desktop.settings.terminal.scrollbackMore": "增加行数", - "desktop.settings.terminal.shellIntegration": "Shell 集成", - "desktop.settings.terminal.shellIntegrationHelp": "让 Shell 向 Lithe 报告提示符、命令和当前文件夹,单击移动光标、调整终端大小时保持提示符完整都依赖它。关闭后 Shell 按原样启动,这些功能随之停用。之后新开或重启的终端生效。", - "desktop.settings.terminalShellHelp": "新建终端时运行的 Shell,也包括终端工具窗口自动打开的那个。+ 旁边的 ⌄ 菜单可以用其他已安装的 Shell 新建终端。", - "desktop.settings.terminalShellMissing": "{path}(未找到)", - "desktop.settings.unknownKept": "设置文件中有 {count} 项此版本无法识别的设置({keys})。此版本不会使用它们,但会原样保留,换回能识别它们的版本时仍然有效。", - "desktop.settings.updates.applying": "正在用增量更新生成 Lithe {version}…", - "desktop.settings.updates.auto": "自动检查更新", - "desktop.settings.updates.autoHelp": "启动 5 秒后检查一次,之后每小时一次;窗口在后台时暂停,回到前台再补查。检查时更新服务器会看到你的 IP 地址。", - "desktop.settings.updates.available": "Lithe {version} 可更新。", - "desktop.settings.updates.availableDelta": "Lithe {version} 可更新,增量更新 {size}(完整安装包 {full})。", - "desktop.settings.updates.channel": "更新渠道", - "desktop.settings.updates.channelBusy": "下载或安装更新期间不能切换渠道或修改发布源。", - "desktop.settings.updates.channelFollowsBuild": "自动({channel})", - "desktop.settings.updates.channelHelp": "正式版只收到发布过的稳定版本;AutoBuild 由 main 上的每次合入自动构建,更新更快但可能不稳定。两个渠道共用设置。", - "desktop.settings.updates.check": "立即检查", - "desktop.settings.updates.checking": "正在检查更新…", - "desktop.settings.updates.cross": "{channel}的 Lithe {version} 可安装,会完整替换当前构建。", - "desktop.settings.updates.downloading": "正在下载 Lithe {version}… {percent}%", - "desktop.settings.updates.downloadingDelta": "正在下载 Lithe {version} 的增量更新… {percent}%", - "desktop.settings.updates.downloadingFull": "增量更新无法使用,改为下载完整的 Lithe {version}… {percent}%", - "desktop.settings.updates.failed": "更新失败:{reason}", - "desktop.settings.updates.help": "Lithe 从带签名的发布源检查新版本,经你确认后安装;发布源提供增量更新时只下载改动的部分。新版本启动前,当前版本保持不变。", - "desktop.settings.updates.installing": "正在安装并重启…", - "desktop.settings.updates.lastChecked": "上次检查:{time}", - "desktop.settings.updates.local": "这是本地开发构建,不属于任何更新渠道,也不会检查更新。", - "desktop.settings.updates.notConfigured": "此构建未配置更新源,请从发布页面安装新版本。", - "desktop.settings.updates.notes": "发布说明", - "desktop.settings.updates.ready": "Lithe {version} 已下载,点“更新”即可安装并重启。", - "desktop.settings.updates.restore": "恢复上次使用{channel}时的设置", - "desktop.settings.updates.restoreHelp": "新版本首次启动时换回当时保存的设置快照,更新相关的设置保持现在的值。不勾选则继续使用当前设置。", - "desktop.settings.updates.row": "检查更新", - "desktop.settings.updates.skipped": "已跳过 Lithe {version},有更新的版本时会再提示。", - "desktop.settings.updates.source": "{channel}发布源", - "desktop.settings.updates.sourceCustom": "自定义发布源,版本签名仍须通过当前构建的验证。", - "desktop.settings.updates.sourceDefault": "默认({repo})", - "desktop.settings.updates.sourceHelp": "发布源是一份带签名的 JSON 文件,Lithe 只安装签名能被当前构建验证的版本。", - "desktop.settings.updates.sourceInvalid": "发布源必须是 https:// 地址。", - "desktop.settings.updates.sourceReset": "恢复默认", - "desktop.settings.updates.sourceSave": "保存", - "desktop.settings.updates.title": "更新", - "desktop.settings.updates.toAutoBuild.body": "AutoBuild 由 main 上的每次合入自动构建,没有经过发布测试,可能有缺陷。切换后 Lithe 会立即检查 AutoBuild 的最新构建,先显示更新内容,由你决定是否下载;它会完整替换当前构建。", - "desktop.settings.updates.toAutoBuild.confirm": "切换到 AutoBuild", - "desktop.settings.updates.toAutoBuild.title": "切换到 AutoBuild?", - "desktop.settings.updates.toStable.body": "可以等正式版发布 {version} 之后的版本再切换,不会装回更旧的版本;也可以立即安装正式版现在的最新版本,它可能比当前构建旧。", - "desktop.settings.updates.toStable.now": "立即切换", - "desktop.settings.updates.toStable.title": "切回正式版?", - "desktop.settings.updates.toStable.wait": "等下一个正式版", - "desktop.settings.updates.upToDate": "Lithe {version} 已是最新版本。", - "desktop.settings.updates.update": "更新", - "desktop.settings.updates.waiting": "正式版发布 {version} 之后的版本时切回正式版。", - "desktop.sourceSettings.add": "添加覆盖", - "desktop.sourceSettings.allEntriesShown": "所有可用条目已列出。", - "desktop.sourceSettings.cancel": "取消", - "desktop.sourceSettings.chooseNone": "可添加的项都已在列表中。", - "desktop.sourceSettings.chooseTitle": "添加{title}", - "desktop.sourceSettings.close": "返回", - "desktop.sourceSettings.compilerTitle": "{compiler} 编译器", - "desktop.sourceSettings.effective": "当前生效:{value}", - "desktop.sourceSettings.entryAdd": "添加", - "desktop.sourceSettings.entryDown": "下移", - "desktop.sourceSettings.entryEmpty": "没有条目", - "desktop.sourceSettings.entryKind": "{title}…", - "desktop.sourceSettings.entryRemove": "移除", - "desktop.sourceSettings.entryUp": "上移", - "desktop.sourceSettings.fileCount": "{count} 项", - "desktop.sourceSettings.inherit": "继承({value})", - "desktop.sourceSettings.modules": "模块", - "desktop.sourceSettings.noValue": "未确定", - "desktop.sourceSettings.remove": "继承项目设置", - "desktop.startupSweep.body": "上次运行 Lithe 启动的 {arg1} 个进程仍在运行。结束它们会停止这些进程。", - "desktop.startupSweep.end": "结束这些进程", - "desktop.startupSweep.item": "{arg1} PID {arg2} {arg3}", - "desktop.startupSweep.keep": "保留运行", - "desktop.startupSweep.kind.build": "构建", - "desktop.startupSweep.kind.debug": "调试", - "desktop.startupSweep.kind.process": "进程", - "desktop.startupSweep.kind.run": "运行", - "desktop.startupSweep.kind.terminal": "终端", - "desktop.startupSweep.title": "残留进程", - "desktop.status.caret": "光标位置", - "desktop.status.encoding": "文本编码", - "desktop.status.fPS": "帧率", - "desktop.status.fpsTooltip": "帧率:最近一秒界面线程来得及显示的帧数。空闲时等于屏幕刷新率;界面线程卡住时会下降,后台任务没跑完不会拉低它。", - "desktop.status.healthy": "运行正常", - "desktop.status.indent": "缩进", - "desktop.status.indentSpaces": "{count} 个空格", - "desktop.status.indentTab": "Tab 宽度:{width}", - "desktop.status.lSPNotStarted": "LSP 未启动", - "desktop.status.lineEnding": "换行符", - "desktop.status.lineEndingCRLF": "CRLF", - "desktop.status.lineEndingLF": "LF", - "desktop.status.lspFailed": "LSP 出错", - "desktop.status.lspReady": "LSP 就绪", - "desktop.status.lspStarting": "LSP 启动中", - "desktop.status.lspStopped": "LSP 已停止", - "desktop.status.memory": "内存", - "desktop.status.noChanges": "没有更改", - "desktop.status.oneProblem": "1 个问题", - "desktop.status.path": "路径", - "desktop.status.problems": "{count} 个问题", - "desktop.status.readOnly": "只读", - "desktop.status.vim": "Vim", - "desktop.status.writable": "可编辑", - "desktop.svg.tooLarge": "此 SVG 文件过大,无法预览。", - "desktop.sync.allRemotes": "获取所有远程仓库", - "desktop.sync.authFailed": "Git 无法登录远程仓库。请为它配置凭据助手或 SSH 密钥,先在终端运行一次 git fetch 确认,然后重试。Git 的输出:{reason}", - "desktop.sync.cancel": "取消", - "desktop.sync.cancelled": "已取消", - "desktop.sync.divergedPrompt": "“{name}”与“{upstream}”已分叉:领先 {ahead} 个提交,落后 {behind} 个。请选择合并方式。", - "desktop.sync.divergedTitle": "分支已分叉", - "desktop.sync.fetchButton": "获取", - "desktop.sync.fetchFailed": "获取失败:{reason}", - "desktop.sync.fetchPrompt": "这些选项只对本次获取生效,不会修改 Git 配置。", - "desktop.sync.fetchTitle": "获取选项", - "desktop.sync.fetched": "已获取 Git 远程仓库", - "desktop.sync.fetching": "正在获取远程仓库…", - "desktop.sync.inherit": "沿用 Git 配置", - "desktop.sync.merge": "合并", - "desktop.sync.merged": "已将上游合并到“{name}”", - "desktop.sync.no": "不获取", - "desktop.sync.noUpstream": "“{name}”没有跟踪远程分支", - "desktop.sync.onDemand": "按需", - "desktop.sync.progress": "{stage} {percent}%", - "desktop.sync.prune": "清理已失效的远程跟踪分支", - "desktop.sync.rebase": "变基", - "desktop.sync.rebased": "已将“{name}”变基到上游", - "desktop.sync.remoteName": "已配置的远程名称", - "desktop.sync.settingsFailed": "无法读取获取设置,已显示默认值:{reason}", - "desktop.sync.settingsHint": "以下选项反映此仓库 Git 配置(lithe.fetch.*)所选的值,配置未设置的选项使用应用默认值。在此获取不会修改配置。", - "desktop.sync.settingsInvalid": "此仓库的获取设置无效,已显示默认值:{reason}", - "desktop.sync.settingsInvalidNoReason": "此仓库的获取设置无效,已显示默认值。", - "desktop.sync.settingsLoading": "正在读取此仓库的获取设置…", - "desktop.sync.stage.compressing": "正在压缩对象", - "desktop.sync.stage.counting": "正在统计对象", - "desktop.sync.stage.enumerating": "正在枚举对象", - "desktop.sync.stage.receiving": "正在接收对象", - "desktop.sync.stage.resolving": "正在解析差异", - "desktop.sync.stage.updating": "正在更新文件", - "desktop.sync.stage.writing": "正在写入对象", - "desktop.sync.submodules": "子模块", - "desktop.sync.tagBehavior": "Git 实际获取的标签:{behavior}", - "desktop.sync.tagBehavior.all": "全部标签", - "desktop.sync.tagBehavior.custom": "自定义引用规则", - "desktop.sync.tagBehavior.none": "不获取标签", - "desktop.sync.tagBehavior.prune": "全部标签,并移除过期标签", - "desktop.sync.tagBehavior.reachable": "仅已获取提交上的标签", - "desktop.sync.tagBehavior.remoteDependent": "取决于远程仓库", - "desktop.sync.tagBehavior.unavailable": "不可用", - "desktop.sync.tags": "标签", - "desktop.sync.tagsAll": "所有标签", - "desktop.sync.tagsNone": "不获取标签", - "desktop.sync.tagsPrune": "所有标签并清理本地多余标签", - "desktop.sync.upToDate": "“{name}”已是最新", - "desktop.sync.updateFailed": "更新失败:{reason}", - "desktop.sync.updated": "已更新“{name}”", - "desktop.sync.updating": "正在更新“{name}”…", - "desktop.sync.yes": "全部", - "desktop.tab.close": "关闭", - "desktop.tab.closeAllButPinned": "关闭除固定标签外的全部", - "desktop.tab.pin": "固定标签", - "desktop.tab.selectInProject": "在项目视图中选择", - "desktop.tab.unpin": "取消固定标签", - "desktop.tags.annotated": "带说明的附注标签", - "desktop.tags.create": "创建标签", - "desktop.tags.createAt": "标签将打在提交 {hash} 上。", - "desktop.tags.createFrom": "标签将打在当前提交(HEAD)上。", - "desktop.tags.createTitle": "新建标签", - "desktop.tags.created": "已创建标签 {name}", - "desktop.tags.delete": "删除", - "desktop.tags.deleteFailed": "无法删除标签:{reason}", - "desktop.tags.deletePrompt": "要删除标签 {name} 吗?", - "desktop.tags.deleteTitle": "删除标签", - "desktop.tags.deleted": "已删除标签 {name}", - "desktop.tags.failed": "无法创建标签:{reason}", - "desktop.tags.message": "说明", - "desktop.tags.name": "标签名称", - "desktop.tags.newTag": "新建标签…", - "desktop.terminal.closeBusyBody": "“{terminal}”中仍有程序在运行,关闭标签页会结束它。", - "desktop.terminal.closeBusyConfirm": "关闭", - "desktop.terminal.closeBusyTitle": "关闭终端?", - "desktop.terminal.find": "在终端中查找", - "desktop.terminal.findClose": "关闭查找", - "desktop.terminal.findCount": "第 {current} 个,共 {total} 个", - "desktop.terminal.findNext": "下一个匹配", - "desktop.terminal.findNone": "无匹配", - "desktop.terminal.findPrevious": "上一个匹配", - "desktop.terminal.label": "终端", - "desktop.terminal.localNumber": "本地 ({number})", - "desktop.terminal.noTerminals": "终端都已移到编辑器中。点击 + 在这里新建一个。", - "desktop.terminal.openLinkFailed": "无法打开链接:{reason}", - "desktop.terminal.pasteImageFailed": "无法保存剪贴板里的图片:{reason}", - "desktop.terminal.pasteImageTooLarge": "剪贴板里的图片太大,无法粘贴。", - "desktop.terminal.restartHint": "按 Enter 键开始新会话。", - "desktop.terminal.runSelection": "在终端运行选中内容", - "desktop.terminal.scrollbarLabel": "终端回滚", - "desktop.terminal.sessionEnded": "会话已结束。", - "desktop.terminal.sessionEndedStatus": "会话已结束,退出状态 {status}。", - "desktop.terminal.shellWithPath": "{name} ({path})", - "desktop.terminal.startFailed": "无法启动 shell:{reason}", - "desktop.tests.cancelled": "测试运行已取消", - "desktop.tests.empty": "运行测试后在这里查看结果。", - "desktop.tests.exitedWithError": "测试在报告结果前因错误结束。", - "desktop.tests.noSystems": "此工作区没有声明测试的构建系统。", - "desktop.tests.noTestsFound": "没有找到任何测试。", - "desktop.tests.noTestsMatched": "没有测试匹配所选范围。", - "desktop.tests.openLocation": "打开失败测试的源码位置", - "desktop.tests.preparing": "正在准备测试…", - "desktop.tests.rerun": "重新运行测试", - "desktop.tests.resultsUnavailable": "无法读取测试结果:{error}", - "desktop.tests.run": "运行测试", - "desktop.tests.running": "正在运行测试…", - "desktop.tests.stop": "停止正在运行的测试", - "desktop.tests.stopping": "正在停止测试运行…", - "desktop.tests.summary": "{passed} 通过,{failed} 失败,{skipped} 跳过", - "desktop.tests.timedOut": "测试超时", - "desktop.title.branchMenu": "分支菜单", - "desktop.title.cloneLater": "克隆仓库稍后提供", - "desktop.title.configurationNotStartable": "无法启动 {name}:没有构建插件负责运行它。", - "desktop.title.currentFileNotRunnable": "当前文件没有可运行的入口(例如带 main 方法的类)。请打开这样的文件,或在运行配置菜单里选择一个运行配置。", - "desktop.title.hiddenRunConfigurations": "已隐藏 {count} 条无法运行的已保存配置", - "desktop.title.keymapLater": "快捷键页稍后提供", - "desktop.title.logsUnavailable": "Lithe 启动时未能打开日志", - "desktop.title.newProjectLater": "新建项目稍后提供", - "desktop.title.noRecentProjects": "无最近项目", - "desktop.title.noRunConfigurations": "没有运行配置", - "desktop.title.notDebuggable": "无法调试 {name}:它所属的插件没有为这个运行声明调试适配器。", - "desktop.title.pluginsLater": "插件页稍后提供", - "desktop.title.projectMenu": "项目菜单", - "desktop.title.runBusy": "运行窗口还在执行其他操作。请等它结束,或者先停止它。", - "desktop.toolchains.automatic": "自动({value})", - "desktop.toolchains.chooseHelp": "选择一行只修改草稿。保存会写入本项目的 .lithe/toolchains/local.json;取消不会改动文件。", - "desktop.toolchains.conflict": "{tool} 同时由 {plugins} 定义;请只保留其中一个插件。", - "desktop.toolchains.custom": "自定义…", - "desktop.toolchains.description": "已启用插件声明的工具。生效值与来源由共享 Core 解析得出;点击保存前不会写入任何文件。", - "desktop.toolchains.directory": "安装目录", - "desktop.toolchains.directoryHelp": "选择包含工具程序的安装根目录,例如 JDK 目录,而不是 bin 目录。验证版本只修改草稿;点击保存后才写入项目选择。", - "desktop.toolchains.effective": "生效:{value}", - "desktop.toolchains.global": "全局默认", - "desktop.toolchains.globalHelp": "统一管理自动识别和手动添加的 SDK,保存到应用的用户设置。项目可单独覆盖默认版本;已启动的进程需重启后使用新版本。", - "desktop.toolchains.installation": "{home} · {version} · {provider}", - "desktop.toolchains.invalidDirectory": "所选目录中未找到可用的工具安装,请检查目录后重试。", - "desktop.toolchains.layerAutomatic": "自动发现", - "desktop.toolchains.layerGlobal": "全局默认", - "desktop.toolchains.layerPinned": "已固定", - "desktop.toolchains.layerProject": "项目环境", - "desktop.toolchains.loadFailed": "无法读取工具链:{reason}", - "desktop.toolchains.loading": "正在读取工具链…", - "desktop.toolchains.noInstallations": "没有找到安装。", - "desktop.toolchains.noProject": "打开项目后才能读取其工具链。", - "desktop.toolchains.pinSource": "固定在 {directory}", - "desktop.toolchains.project": "当前项目", - "desktop.toolchains.projectCandidateBlocked": "{path} · 需信任当前项目后探测与使用", - "desktop.toolchains.projectTrustRequiredNotice": "检测到项目内的工具环境;在开启项目信任前不会探测版本或运行。", - "desktop.toolchains.providerUnsupported": "当前版本还不能查询插件后端;由提供方报告的安装不会显示。", - "desktop.toolchains.reasonNotExecutable": "文件不可执行", - "desktop.toolchains.reasonProbeFailed": "版本检测失败", - "desktop.toolchains.reasonProjectTrustRequired": "需要信任当前项目", - "desktop.toolchains.reasonUnsafePath": "路径不安全或超出允许目录", - "desktop.toolchains.reasonVersionUnsatisfied": "不满足最低版本要求", - "desktop.toolchains.reload": "重新读取", - "desktop.toolchains.reloadAfterSave": "保存步骤已完成,但未能重新读取或正常关闭配置来源。再次保存前请重新加载;草稿已保留。", - "desktop.toolchains.reset": "使用自动", - "desktop.toolchains.save": "保存", - "desktop.toolchains.saveFailed": "无法保存工具链:{reason}", - "desktop.toolchains.saved": "已保存", - "desktop.toolchains.saving": "正在保存…", - "desktop.toolchains.sourceChanged": "项目或工具链文件已变更,请重新加载后再保存。当前草稿已保留。", - "desktop.toolchains.sourceInvalid": "工具链或忽略配置无效、过大或无法安全访问。请检查来源文件后重新加载。", - "desktop.toolchains.title": "工具链", - "desktop.toolchains.trustProject": "信任当前项目中的工具环境", - "desktop.toolchains.trustProjectHelp": "允许 Lithe 对当前项目目录内的工具环境(如虚拟环境)和包装器执行版本探测与运行。此授权仅在本机对当前工作区生效,保存在应用本机设置中而不会写入项目 .lithe/,且可随时撤销。请仅对来源可信的项目开启;已运行的进程需重启后使用更新后的工具链。", - "desktop.toolchains.trustStatusTrusted": "本机此项目 · 已信任", - "desktop.toolchains.trustStatusUntrusted": "本机此项目 · 未信任", - "desktop.toolchains.unavailable": "不可用:{reason}", - "desktop.toolchains.updatingTrust": "正在更新项目信任状态…", - "desktop.toolchains.useDirectory": "使用此目录", - "desktop.tools.background": "背景", - "desktop.tools.dragHint": "可拖动到其他位置", - "desktop.tools.moveTo": "移动到", - "desktop.tools.moveToTitleBar": "移到标题栏", - "desktop.tools.structure": "结构", - "desktop.tools.withShortcut": "{name} {keys}", - "desktop.updates.arrow.available": "Lithe {version} 可更新,点击查看更新内容", - "desktop.updates.arrow.downloading": "正在下载 Lithe {version}… {percent}%", - "desktop.updates.arrow.ready": "Lithe {version} 已下载,点击查看并重启更新", - "desktop.updates.available": "Lithe {version} 已发布,点标题栏右上角的绿色箭头查看更新内容。", - "desktop.updates.channel.autobuild": "AutoBuild", - "desktop.updates.channel.stable": "正式版", - "desktop.updates.dialog.cross": "这是{channel}渠道的版本,会完整替换当前构建。两个渠道共用设置,安装前会先保存一份当前设置的快照。", - "desktop.updates.dialog.current": "当前版本 {version} · {channel}", - "desktop.updates.dialog.download": "下载并安装", - "desktop.updates.dialog.downloads": "打开下载页面", - "desktop.updates.dialog.fullNotes": "在 GitHub 查看完整说明", - "desktop.updates.dialog.later": "稍后", - "desktop.updates.dialog.noNotes": "这个版本没有附带更新说明。", - "desktop.updates.dialog.notesLoading": "正在读取更新内容…", - "desktop.updates.dialog.restart": "重启并更新", - "desktop.updates.dialog.sizeDelta": "增量更新 {size}(完整安装包 {full})", - "desktop.updates.dialog.sizeFull": "完整安装包 {size}", - "desktop.updates.dialog.skip": "跳过此版本", - "desktop.updates.dialog.title": "Lithe {version} 可更新", - "desktop.updates.dialog.titleReady": "Lithe {version} 已准备好安装", - "desktop.updates.manual.managed": "这份 Lithe 由软件包管理器安装,请用它更新,或从下载页面安装新版本。", - "desktop.updates.manual.notWritable": "Lithe 无权替换当前位置的应用,请从下载页面安装新版本。", - "desktop.updates.viewChanges": "查看更新内容", - "desktop.vcs.commitDirectly": "提交会立即发送到仓库,没有单独的推送步骤。", - "desktop.viewer.binaryHint": "此文件不是文本。以下以十六进制只读显示其开头部分。", - "desktop.viewer.close": "关闭", - "desktop.viewer.externalHint": "Lithe 无法显示此类文件,请用系统默认应用打开。", - "desktop.viewer.failed": "无法显示此文件:{reason}", - "desktop.viewer.imageFailed": "无法载入此图片", - "desktop.viewer.openExternally": "用默认应用打开", - "desktop.viewer.openFailed": "无法打开文件:{reason}", - "desktop.viewer.resetZoom": "重置为实际大小(100%)", - "desktop.viewer.resetZoomHint": "重置为实际大小", - "desktop.viewer.tooLarge": "此文件过大,无法在此显示,请用系统默认应用打开。", - "desktop.viewer.truncated": "仅显示前 64 KB。", - "desktop.viewer.zoom": "图片缩放", - "desktop.viewer.zoomIn": "放大", - "desktop.viewer.zoomOut": "缩小", - "desktop.welcome.dropFolderOnly": "请拖入文件夹以将其作为项目打开。", - "desktop.welcome.emptyHint": "打开本地文件夹开始工作。", - "desktop.welcome.emptyTitle": "没有最近项目", - "desktop.welcome.menuPin": "固定到顶部", - "desktop.welcome.menuReveal": "在访达中显示", - "desktop.welcome.menuRevealOther": "在文件管理器中显示", - "desktop.welcome.menuRevealWindows": "在文件资源管理器中显示", - "desktop.welcome.menuUnpin": "取消固定", - "desktop.welcome.missing": "文件夹已不存在", - "desktop.welcome.noMatches": "没有匹配的项目", - "desktop.welcome.unavailable": "新桌面端暂未提供", - "desktop.workbenchBackground.close": "关闭", - "desktop.workbenchBackground.failed": "无法使用该图片:{reason}", - "desktop.workbenchBackground.help": "在整个工作台后面显示你自己的图片。Lithe 会在自己的数据目录中保留一份副本,移动或删除原图不会影响背景。", - "desktop.workbenchBackground.imageFilter": "PNG 和 JPEG 图片", - "desktop.workbenchBackground.loading": "正在载入背景图片…", - "desktop.workbenchBackground.medium": "中", - "desktop.workbenchBackground.remove": "移除", - "desktop.workbenchBackground.status": "{name},{width}×{height}", - "desktop.workbenchBackground.strong": "浓", - "desktop.workbenchBackground.subtle": "淡", - "desktop.workbenchBackground.tooLarge": "图片文件超过 30 MB。", - "desktop.workbenchBackground.tooManyPixels": "图片像素超过 6400 万。", - "desktop.workbenchBackground.unsupported": "只支持 PNG 和 JPEG 图片。", - "desktop.workbenchBackground.visibility": "图片可见度", - "desktop.worktree.openNewWindow": "在新窗口中打开", - "desktop.worktree.openNewWindowFailed": "无法在新窗口中打开工作树:{reason}", - "diagnostics.goToProblem": "转到问题", + "ai.add": "添加", + "debugger.console": "控制台", + "debugger.disableBreakpoint": "禁用断点", + "debugger.disassembly.copyAddress": "复制地址", + "debugger.disassembly.copyInstruction": "复制指令", + "debugger.disassembly.readMemoryAtAddress": "读取此地址的内存", + "debugger.disassembly.removeBreakpoint": "移除指令断点", + "debugger.disassembly.setBreakpoint": "设置指令断点", + "debugger.disassembly.showDisassembly": "显示反汇编", + "debugger.enableBreakpoint": "启用断点", + "debugger.removeBreakpoint": "移除断点", + "debugger.stackEmpty": "启动会话后可查看栈帧。", + "debugger.threadsAndVariables": "线程和变量", + "desktop.ai.inlineEdit.editCurrentLine": "编辑当前行", + "desktop.ai.inlineEdit.editSelection": "编辑选中内容", + "desktop.aiCommit.cancel": "取消生成", + "desktop.aiCommit.failed": "生成提交信息失败:{reason}", + "desktop.aiCommit.generate": "生成提交信息", + "desktop.aiCommit.generating": "生成中…", + "desktop.aiCommit.httpStatus": "AI 服务商返回 HTTP {status}。", + "desktop.aiCommit.keep": "保留我的", + "desktop.aiCommit.noProvider": "在 Codex 或 Claude 配置中没有找到带凭据的 AI 服务商。", + "desktop.aiCommit.replace": "替换", + "desktop.aiCommit.replaceBody": "生成的提交说明将替换已输入的文字。", + "desktop.aiCommit.replaceTitle": "替换提交说明?", + "desktop.aiCommit.responseTooLarge": "AI 服务商的响应超过 2 MiB。", + "desktop.aiCommit.stale": "生成期间暂存的更改发生了变化,请重新生成。", + "desktop.aiCommit.timeout": "AI 服务商在 45 秒内没有响应。", + "desktop.app.devBadge": "Dev", + "desktop.app.previewVersion": "{version} 预览版", + "desktop.branch.alreadyOn": "已在“{name}”上", + "desktop.branch.branchName": "分支名称", + "desktop.branch.checkedOut": "已检出“{name}”", + "desktop.branch.checkoutAfter": "创建后检出分支", + "desktop.branch.checkoutFailed": "检出失败:{reason}", + "desktop.branch.checkoutFailedIn": "在 {repository} 中检出“{name}”失败:{reason}", + "desktop.branch.checkoutRevision": "检出标签或修订版本…", + "desktop.branch.commonCheckedOut": "已在所有仓库检出“{name}”", + "desktop.branch.commonCreated": "已在所有仓库创建分支“{name}”", + "desktop.branch.commonLocal": "共同本地分支", + "desktop.branch.commonRemote": "共同远程分支", + "desktop.branch.conflictHint": "智能检出会先贮藏你的更改,切换分支后再恢复。强制检出会直接切换并丢弃这些更改。", + "desktop.branch.conflictPrompt": "你对这些文件的更改与“{name}”冲突:", + "desktop.branch.conflictTitle": "本地更改将被覆盖", + "desktop.branch.createFailed": "创建分支失败:{reason}", + "desktop.branch.createFailedIn": "在 {repository} 中创建分支“{name}”失败:{reason}", + "desktop.branch.createFrom": "从“{name}”创建。", + "desktop.branch.createFromInAll": "在所有仓库中从“{name}”创建。", + "desktop.branch.created": "已创建分支“{name}”", + "desktop.branch.current": "当前分支", + "desktop.branch.deleteFailed": "删除分支失败:{reason}", + "desktop.branch.deletePrompt": "删除本地分支“{name}”?即使它尚未合并也会删除,只在这个分支上的提交将不再属于任何分支。", + "desktop.branch.deleteTitle": "删除分支?", + "desktop.branch.deleted": "已删除分支“{name}”(原指向 {target})", + "desktop.branch.detached": "已检出“{revision}”,处于 detached HEAD 状态", + "desktop.branch.detachedNote": "仓库将以 detached HEAD 状态打开。", + "desktop.branch.forceCheckout": "强制检出", + "desktop.branch.keepButton": "不回滚", + "desktop.branch.loadFailed": "加载分支失败:{reason}", + "desktop.branch.loading": "正在加载分支…", + "desktop.branch.localIn": "{repository} 中的本地分支", + "desktop.branch.newBranchFrom": "从“{name}”新建分支…", + "desktop.branch.recent": "最近", + "desktop.branch.recentIn": "{repository} 中的最近分支", + "desktop.branch.remoteIn": "{repository} 中的远程分支", + "desktop.branch.rename": "重命名…", + "desktop.branch.renameButton": "重命名", + "desktop.branch.renameFailed": "重命名分支失败:{reason}", + "desktop.branch.renameFrom": "重命名“{name}”。", + "desktop.branch.renameTitle": "重命名分支", + "desktop.branch.renamed": "分支已重命名为“{name}”", + "desktop.branch.repositoryPanel": "{repository},位于 {branch}", + "desktop.branch.repositorySeparator": "、", + "desktop.branch.revision": "标签或修订版本", + "desktop.branch.revisionPrompt": "输入标签名、分支名、提交 Hash 或其他 Git 修订版本。", + "desktop.branch.revisionTitle": "检出标签或修订版本", + "desktop.branch.rollbackButton": "回滚", + "desktop.branch.rollbackFailed": "在 {repository} 中回滚失败:{reason}", + "desktop.branch.rollbackImpossible": "{repositories} 在操作前不在任何分支上,无法回滚。", + "desktop.branch.rollbackPrompt": "已在这些仓库中完成:{repositories}。回滚后,所有仓库会回到原来的分支。", + "desktop.branch.rollbackTitle": "只在部分仓库中完成", + "desktop.branch.rolledBack": "已回滚:{repositories}", + "desktop.branch.rowMenu": "{name} 的操作", + "desktop.branch.search": "搜索分支和操作", + "desktop.branch.smartCheckout": "智能检出", + "desktop.branch.tagsIn": "{repository} 中的标签", + "desktop.build.ambiguousConnectionDebugAdapter": "有多个已启用的“{type}”类型调试适配器都能连接这个运行({adapters})。请在 设置 > 插件 中只保留一个。", + "desktop.build.argumentsRequired": "此任务需要额外参数,当前窗口尚不能收集。", + "desktop.build.cancelled": "构建已取消", + "desktop.build.chooseTask": "请先选择一个构建任务。", + "desktop.build.chooseTaskScope": "请先选择此任务可以运行的项目或目标。", + "desktop.build.commandUnsupported": "此构建系统返回了命令计划;当前接入需要提供者驱动的任务。", + "desktop.build.connectionDebugAdapterGone": "调试适配器“{name}”在运行就绪前被停用或更新,运行已停止。请重新调试。", + "desktop.build.debugPortTimeout": "运行在 {seconds} 秒内没有等待调试器连接,已停止。输出见运行窗口。", + "desktop.build.debugSessionRunning": "已有调试会话在运行。请先停止它,再调试其他运行。", + "desktop.build.debugTarget": "调试", + "desktop.build.dependenciesHelp": "第一次展开时才让构建工具读取依赖树,构建工具运行期间可能要等一会儿。读到的依赖会一直保留,直到重新检测构建系统,或在构建系统或“依赖”上选“重新加载”。", + "desktop.build.detection": "检测", + "desktop.build.emptyOutput": "运行构建任务以查看输出。", + "desktop.build.executableMissing": "未找到此构建系统可用的构建程序。", + "desktop.build.exited": "构建以代码 {code} 退出。", + "desktop.build.filter": "筛选构建系统、任务与目标", + "desktop.build.group.build": "构建", + "desktop.build.group.documentation": "文档", + "desktop.build.group.lifecycle": "生命周期", + "desktop.build.group.other": "其他", + "desktop.build.group.run": "运行", + "desktop.build.group.test": "测试", + "desktop.build.group.verification": "验证", + "desktop.build.ignoredPaths": "忽略路径", + "desktop.build.ignoredPathsDefault": "当前使用默认设置;修改后只保存在本机。", + "desktop.build.ignoredPathsHelp": "一行一条规则,写法同 .gitignore,相对项目根目录,只匹配文件夹。后面的规则优先,以 ! 开头的规则让文件夹重新参与检测,包括被 Git 忽略的文件夹。默认忽略所有以 . 开头的文件夹,例如 .claude/worktrees;依赖缓存和构建输出始终跳过。最多 256 条。", + "desktop.build.ignoredPathsLocal": "当前使用本机保存的设置。", + "desktop.build.ignoredPathsTeam": "当前使用团队文件 {file} 中的设置;修改后只保存在本机。", + "desktop.build.invalidIgnoredPath": "第 {line} 行不是可用的忽略规则。规则要符合 .gitignore 写法,首尾不能有空格,不能以 # 开头或只写 !,每条最长 1024 字节,最多 256 条。", + "desktop.build.invalidIgnoredPaths": "这些忽略规则不能一起使用,请检查写法。", + "desktop.build.loadingModel": "正在加载构建模型…", + "desktop.build.modelFailed": "构建模型加载失败:{error}", + "desktop.build.modelStopped": "构建模型加载已停止", + "desktop.build.noBuildSystems": "没有检测到由提供者驱动的构建系统。", + "desktop.build.noConnectionDebugAdapter": "没有已启用的插件能调试这个运行:它需要一个类型为“{type}”、能连接到运行中程序的调试适配器。请在 设置 > 插件 中安装或启用。", + "desktop.build.noDebugAdapter": "该构建插件所属的插件没有声明可以启动已准备程序的调试适配器。", + "desktop.build.noMatches": "没有匹配的构建项", + "desktop.build.noOptions": "此构建系统没有声明可配置的选项。", + "desktop.build.noTasks": "没有构建任务", + "desktop.build.optionChoiceDefault": "默认", + "desktop.build.optionChoiceDefaultLabel": "{title}(默认)", + "desktop.build.options": "选项", + "desktop.build.optionsTitle": "构建选项", + "desktop.build.output": "构建输出", + "desktop.build.pluginsUnavailable": "此窗口无法使用构建插件。", + "desktop.build.preparing": "正在准备…", + "desktop.build.processFailed": "进程结束:{error}", + "desktop.build.projectMissing": "所选项目已不在构建模型中,请刷新构建系统。", + "desktop.build.refresh": "重新检测构建系统", + "desktop.build.runSelected": "运行所选任务", + "desktop.build.runTarget": "运行 {name}", + "desktop.build.running": "正在运行…", + "desktop.build.showSyncOutput": "在运行窗口中查看输出", + "desktop.build.stop": "停止构建任务", + "desktop.build.stopping": "正在停止…", + "desktop.build.succeeded": "构建成功", + "desktop.build.syncSession": "同步 {name}", + "desktop.build.syncSessionAt": "同步 {name}({root})", + "desktop.build.systems": "构建系统", + "desktop.build.targetMissing": "所选目标已不在构建模型中,请刷新构建系统。", + "desktop.build.targets": "目标", + "desktop.build.testDiscoveryFailed": "无法发现测试:{error}", + "desktop.build.toggleOptionChoice": "切换 {option}:{choice}", + "desktop.build.toolchainGap": "提供者准备了 {toolchain}。当前构建尚不能启动工具链引用。", + "desktop.build.treeFailed": "无法显示构建树:{error}", + "desktop.build.treeTruncated": "构建项太多,只列出了前面一部分。", + "desktop.build.versionTooOld": "构建工具版本为 {version},低于要求的 {minimum}。", + "desktop.changelists.moveSelected": "将所选 {count} 个变更移到变更列表", + "desktop.clone.busy": "正在克隆…", + "desktop.clone.cancel": "取消", + "desktop.clone.choose": "选择…", + "desktop.clone.failed": "克隆失败。请检查仓库地址、访问权限和目标目录后重试。", + "desktop.clone.invalidName": "请选择绝对路径的目标文件夹,并输入单个文件夹名称", + "desktop.clone.more": "更多", + "desktop.clone.name": "文件夹名称", + "desktop.clone.namePlaceholder": "project-name", + "desktop.clone.parent": "目标文件夹", + "desktop.clone.source": "仓库 URL", + "desktop.clone.sourcePlaceholder": "https://github.com/example/project.git", + "desktop.clone.submit": "克隆", + "desktop.clone.title": "克隆仓库", + "desktop.command.addNextOccurrence": "添加下一处匹配", + "desktop.command.branches": "分支…", + "desktop.command.clone": "克隆仓库…", + "desktop.command.cloneCaretAbove": "在上方添加光标", + "desktop.command.cloneCaretBelow": "在下方添加光标", + "desktop.command.closeProject": "关闭项目", + "desktop.command.commit": "提交…", + "desktop.command.commitAndPush": "提交并推送…", + "desktop.command.debug": "调试", + "desktop.command.findAction": "查找操作", + "desktop.command.findInFiles": "在文件中查找…", + "desktop.command.fold": "折叠", + "desktop.command.foldAll": "全部折叠", + "desktop.command.gitConsole": "显示 Git 控制台", + "desktop.command.gitNextChange": "转到下一处变更", + "desktop.command.gitPreviousChange": "转到上一处变更", + "desktop.command.groupApp": "应用", + "desktop.command.groupEditor": "编辑器", + "desktop.command.groupGit": "Git", + "desktop.command.groupProject": "项目", + "desktop.command.groupRun": "运行", + "desktop.command.groupSearch": "搜索", + "desktop.command.groupTerminal": "终端", + "desktop.command.groupToolWindows": "工具窗口", + "desktop.command.groupView": "视图", + "desktop.command.importLegacy": "从旧版 Lithe 导入设置…", + "desktop.command.languageChinese": "语言:简体中文", + "desktop.command.languageEnglish": "语言:English", + "desktop.command.logs": "显示日志", + "desktop.command.newProject": "新建项目…", + "desktop.command.newTerminal": "新建终端", + "desktop.command.noActions": "没有匹配的操作", + "desktop.command.openProject": "打开项目…", + "desktop.command.plugins": "插件…", + "desktop.command.replaceInFiles": "在文件中替换…", + "desktop.command.run": "运行", + "desktop.command.saveAll": "全部保存", + "desktop.command.searchEverywhere": "随处搜索", + "desktop.command.selectAllOccurrences": "选择所有匹配", + "desktop.command.settings": "设置…", + "desktop.command.showTool": "显示{name}", + "desktop.command.themeDark": "主题:深色", + "desktop.command.themeLight": "主题:浅色", + "desktop.command.themeSystem": "主题:跟随系统", + "desktop.command.toggleBreakpoint": "切换行断点", + "desktop.command.toggleVim": "切换 Vim 模式", + "desktop.command.unfold": "展开", + "desktop.command.unfoldAll": "全部展开", + "desktop.command.unselectOccurrence": "取消上一处匹配", + "desktop.commit.amendNote": "修订提交仅作用于有已选文件的仓库。", + "desktop.commit.author": "作者", + "desktop.commit.authorHelp": "把提交记在其他人名下。留空时使用 Git 配置的身份;提交成功后会清空。", + "desktop.commit.authorInvalid": "作者需要写成“名字 <邮箱>”。", + "desktop.commit.authorLine": "作者:{author}", + "desktop.commit.authorPlaceholder": "名字 <邮箱>", + "desktop.commit.chooseTarget": "推送前请选择要更新的分支。", + "desktop.commit.clean": "工作区没有更改", + "desktop.commit.commitAndPush": "提交并推送…", + "desktop.commit.commitFailed": "提交失败", + "desktop.commit.committing": "正在提交…", + "desktop.commit.dismiss": "清除结果", + "desktop.commit.enterMessage": "请输入提交说明", + "desktop.commit.failed": "提交更改失败:{reason}", + "desktop.commit.instructions": "生成提示词", + "desktop.commit.instructionsHelp": "生成提交信息时一并交给 AI 的要求,例如语气、格式或要省略的内容。留空时不附加。", + "desktop.commit.instructionsPlaceholder": "例如:不要写冗长的描述", + "desktop.commit.messageLine": "提交说明:{message}", + "desktop.commit.noCommits": "新仓库", + "desktop.commit.openSettings": "在设置中打开…", + "desktop.commit.options": "提交选项", + "desktop.commit.optionsAI": "AI", + "desktop.commit.optionsGit": "Git", + "desktop.commit.order": "每个仓库会分别提交。某个仓库失败时,已完成的步骤仍会保留。", + "desktop.commit.parentsHelp": "提交子模块后,同时在父仓库提交新的子模块引用;推送时先推子模块再推父仓库。", + "desktop.commit.partlyStagedState": "部分暂存", + "desktop.commit.pushTo": "推送到 {upstream}", + "desktop.commit.refresh": "刷新更改", + "desktop.commit.result": "{repository}:{status}", + "desktop.commit.retry": "查看并重试…", + "desktop.commit.reviewPushTitle": "检查提交并推送", + "desktop.commit.reviewRequired": "需要确认", + "desktop.commit.reviewRetry": "确认剩余步骤", + "desktop.commit.reviewTitle": "确认各仓库提交", + "desktop.commit.signOff": "添加 Signed-off-by", + "desktop.commit.signOffHelp": "在提交说明末尾加上带你 Git 身份的 Signed-off-by 行。勾选后会一直保持,直到手动取消。", + "desktop.commit.signOffNote": "会加上 Signed-off-by 行。", + "desktop.commit.stageAll": "暂存当前更改列表中的所有文件", + "desktop.commit.stageFailed": "暂存文件失败:{reason}", + "desktop.commit.stageFile": "暂存 {path}", + "desktop.commit.step": "{number}. {action}:{repository}", + "desktop.commit.stepPush": "提交并推送", + "desktop.commit.stepPushOnly": "仅推送", + "desktop.commit.tracksDifferent": "分支“{local}”跟踪的是名称不同的“{upstream}”。请选择要更新哪个分支。", + "desktop.commit.unstageFailed": "取消暂存文件失败:{reason}", + "desktop.commit.unstageFile": "取消暂存 {path}", + "desktop.commit.where": "{branch} · {head}", + "desktop.credentials.importLegacy": "从旧版 Lithe 导入插件凭据…", + "desktop.credentials.importLegacyBusy": "正在导入插件凭据…", + "desktop.credentials.importLegacyConfirm": "导入", + "desktop.credentials.importLegacyDescription": "复制旧版 Lithe 保存的插件凭据。系统可能会逐项请求你允许访问。这里已保存的凭据不会被替换,旧版 Lithe 的凭据保持不变。", + "desktop.credentials.importLegacyDone": "已导入 {imported} 项插件凭据;保留 {kept} 项已有凭据;{failed} 项无法读取。", + "desktop.credentials.importLegacyFailed": "无法导入插件凭据:{error}", + "desktop.credentials.importLegacyNone": "旧版 Lithe 没有保存插件凭据。", + "desktop.credentials.importLegacyTitle": "导入插件凭据", + "desktop.debug.adapter": "调试适配器", + "desktop.debug.addWatch": "添加监视", + "desktop.debug.attachHost": "主机", + "desktop.debug.attachInvalid": "请输入主机名和 1 到 65535 之间的端口。", + "desktop.debug.attachPort": "端口", + "desktop.debug.breakpoint.addFunction": "添加", + "desktop.debug.breakpoint.breakOnChange": "值变化时中断", + "desktop.debug.breakpoint.condition": "条件", + "desktop.debug.breakpoint.conditionPlaceholder": "仅当此表达式为真时暂停", + "desktop.debug.breakpoint.conditional": "条件", + "desktop.debug.breakpoint.dataRow": "◆ {label}", + "desktop.debug.breakpoint.dataUnavailable": "适配器无法在此变量变化时中断。", + "desktop.debug.breakpoint.edit": "编辑断点…", + "desktop.debug.breakpoint.functionName": "方法或函数", + "desktop.debug.breakpoint.functionPlaceholder": "例如 example.Main.run", + "desktop.debug.breakpoint.functionRow": "ƒ {name}", + "desktop.debug.breakpoint.hitCondition": "命中次数", + "desktop.debug.breakpoint.hitConditionPlaceholder": "例如 >= 5", + "desktop.debug.breakpoint.logMessage": "日志消息", + "desktop.debug.breakpoint.logMessagePlaceholder": "要记录的文本,{表达式} 会被求值", + "desktop.debug.breakpoint.logPoint": "日志点", + "desktop.debug.breakpoint.removeData": "移除数据断点", + "desktop.debug.breakpoint.removeFunction": "移除方法断点", + "desktop.debug.breakpoint.title": "断点 {file}:{line}", + "desktop.debug.breakpoints": "断点", + "desktop.debug.bufferLimit": "调试适配器没有及时读取数据,待发送队列已超出上限。", + "desktop.debug.child.needsConfirmation": "子调试会话指向未经确认的远程端点,Lithe 没有启动它。", + "desktop.debug.child.startedBy": "由 {parent} 启动", + "desktop.debug.child.stopped": "子调试会话在启动前已被停止。", + "desktop.debug.child.unavailable": "Lithe 无法启动子调试会话。", + "desktop.debug.connectFailed": "无法连接到 {endpoint} 的调试适配器。", + "desktop.debug.connectionClosed": "调试连接已断开。", + "desktop.debug.consoleEmpty": "调试会话的输出会显示在这里。", + "desktop.debug.continue": "继续", + "desktop.debug.disassembly": "反汇编", + "desktop.debug.disassemblyRetry": "重试", + "desktop.debug.editValue": "新值", + "desktop.debug.evaluateFailed": "无法对该表达式求值", + "desktop.debug.evaluatePlaceholder": "对表达式求值({evaluate})或添加监视({watch})", + "desktop.debug.exceptionInfo": "异常信息", + "desktop.debug.exceptions": "异常断点", + "desktop.debug.failed": "调试会话失败", + "desktop.debug.filteredFrames": "已过滤的帧({count})", + "desktop.debug.frames": "调用栈", + "desktop.debug.initialized": "调试适配器已初始化", + "desktop.debug.invalidEndpoint": "调试适配器的端点无效。", + "desktop.debug.loadMore": "加载更多", + "desktop.debug.loadingVariables": "正在加载…", + "desktop.debug.memory": "内存", + "desktop.debug.memoryAddress": "内存地址", + "desktop.debug.memoryAddressPlaceholder": "地址,如 0x1000", + "desktop.debug.memoryBytesPerRow": "每行字节数", + "desktop.debug.memoryGoToAddress": "跳转到地址", + "desktop.debug.memoryRadix": "显示进制", + "desktop.debug.memoryRadixBinary": "二进制", + "desktop.debug.memoryRadixDecimal": "十进制", + "desktop.debug.memoryRadixHex": "十六进制", + "desktop.debug.memoryRadixOctal": "八进制", + "desktop.debug.memoryRowBytes": "每行 {bytes} 字节", + "desktop.debug.memoryTypeAddress": "选中的栈帧没有指令地址,请在上方输入要读取的地址", + "desktop.debug.memoryUnreadableBytes": "无法读取的字节:{bytes}", + "desktop.debug.noAdapters": "已安装的插件没有声明此客户端能启动的调试适配器。", + "desktop.debug.noBreakpoints": "没有断点", + "desktop.debug.noDisassembly": "暂停在支持反汇编的栈帧后可在这里查看指令。", + "desktop.debug.noDocument": "请先打开一个文件,再切换它的断点。", + "desktop.debug.noEndpoint": "语言服务器没有返回有效的调试端口。", + "desktop.debug.noExceptionFilters": "此调试适配器没有可选的异常断点。", + "desktop.debug.noFrames": "没有栈帧", + "desktop.debug.noMemory": "适配器无法读取当前栈帧的内存。", + "desktop.debug.noVariables": "暂停后在这里查看变量。", + "desktop.debug.notAnnounced": "调试适配器还没输出它监听的端口就退出了。", + "desktop.debug.openFrame": "打开栈帧的源码位置", + "desktop.debug.pause": "暂停", + "desktop.debug.paused": "已暂停", + "desktop.debug.pluginsUnavailable": "此窗口无法使用调试插件。", + "desktop.debug.registers": "寄存器", + "desktop.debug.reload": "回到当前指令", + "desktop.debug.remoteAttach": "附加", + "desktop.debug.remoteCancel": "取消", + "desktop.debug.remotePrompt": "要附加到 {endpoint} 吗?它不是本机地址,而且明文 TCP 既不验证对端也不加密。", + "desktop.debug.remoteTitle": "附加到远程目标", + "desktop.debug.removeBreakpoint": "移除断点", + "desktop.debug.removeWatch": "移除监视", + "desktop.debug.running": "运行中", + "desktop.debug.session": "会话", + "desktop.debug.setValue": "设置", + "desktop.debug.settingsUnreadable": "无法读取调试插件配置。请检查其设置文件,重新加载项目后重试。", + "desktop.debug.start": "开始调试", + "desktop.debug.starting": "正在启动调试适配器…", + "desktop.debug.stepInto": "单步进入", + "desktop.debug.stepOut": "单步跳出", + "desktop.debug.stepOver": "单步跳过", + "desktop.debug.stop": "停止调试", + "desktop.debug.targetUnavailable": "没有找到可运行的调试目标,请先构建程序。", + "desktop.debug.terminated": "调试会话已终止", + "desktop.debug.threadFallback": "线程 {id}", + "desktop.debug.threadRunning": "{name}(运行中)", + "desktop.debug.threads": "线程", + "desktop.debug.timedOut": "调试适配器没有及时响应。", + "desktop.debug.toggleBreakpoint": "在当前行切换断点", + "desktop.debug.unmuteBreakpoints": "恢复断点", + "desktop.debug.variables": "变量", + "desktop.debug.viewJson": "JSON", + "desktop.debug.viewTree": "树", + "desktop.debug.waitingServer": "正在启动语言服务器…", + "desktop.debug.watchPlaceholder": "求值表达式", + "desktop.debug.watches": "监视", + "desktop.debug.writeTimedOut": "向调试适配器写入超时。", + "desktop.diff.keepWhitespace": "不忽略空白", + "desktop.diffFind.close": "关闭查找", + "desktop.diffFind.field": "在差异中查找", + "desktop.diffFind.next": "下一个匹配", + "desktop.diffFind.open": "在差异中查找", + "desktop.diffFind.previous": "上一个匹配", + "desktop.document.closeConflict": "文件已在 Lithe 外部更改或删除,编辑器内容仍会保留。", + "desktop.document.externalReadFailed": "无法检查文件的外部变化。", + "desktop.document.hardLinkCancel": "取消", + "desktop.document.watchUnavailable": "无法监听打开文件的外部变化。保存时仍会检查磁盘内容。", + "desktop.drafts.conflict": "已恢复草稿;磁盘文件已更改,请比较后决定保留哪一份。", + "desktop.drafts.discard": "丢弃草稿", + "desktop.drafts.empty": "没有临时草稿。", + "desktop.drafts.failed": "无法保存恢复副本,未保存内容仍保留在编辑器中。", + "desktop.drafts.list": "临时草稿", + "desktop.drafts.new": "新建临时草稿", + "desktop.drafts.recovered": "已恢复未保存内容。", + "desktop.drafts.saveAs": "另存为…", + "desktop.drafts.saved": "草稿已另存为文件。", + "desktop.drafts.untitled": "临时草稿 {number}", + "desktop.editor.dropFiles": "将文件拖到此处打开", + "desktop.editor.goToFile": "转到文件", + "desktop.editor.hiddenTabs": "显示隐藏的标签页", + "desktop.editor.hideMinimap": "隐藏缩略图", + "desktop.editor.horizontalScrollbar": "水平滚动条", + "desktop.editor.lineEditFailed": "无法执行行操作。", + "desktop.editor.linkOpenFailed": "无法打开链接:{reason}", + "desktop.editor.minimap": "缩略图", + "desktop.editor.noLineComment": "此文件类型没有行注释符号。", + "desktop.editor.notText": "不是文本文件", + "desktop.editor.openFailed": "无法打开 {name}:{reason}", + "desktop.editor.recentFiles": "最近文件", + "desktop.editor.saveFailed": "无法保存 {name}:{reason}", + "desktop.editor.showMinimap": "显示缩略图", + "desktop.editor.softWrap": "自动换行", + "desktop.editor.tooLarge": "文件过大,编辑器无法打开", + "desktop.editor.unsupportedEncoding": "不是有效的 UTF-8,请使用支持该编码的编辑器打开", + "desktop.editor.verticalScrollbar": "垂直滚动条", + "desktop.editor.vim.insert": "插入", + "desktop.editor.vim.normal": "普通", + "desktop.editor.vim.notFound": "未找到:{pattern}", + "desktop.editor.vim.replace": "替换", + "desktop.editor.vim.unknown": "不是编辑器命令:{name}", + "desktop.editor.vim.visual": "可视", + "desktop.editor.vim.visualLine": "可视行", + "desktop.editor.vimMode": "Vim 模式", + "desktop.editor.vimModeHelp": "使用 Vim 按键编辑:普通、插入和可视模式。", + "desktop.editorActions.failed": "插件无法执行此动作。", + "desktop.editorActions.stale": "文档已变化,请等待动作更新。", + "desktop.editorFind.case": "区分大小写", + "desktop.editorFind.close": "关闭查找", + "desktop.editorFind.count": "{current}/{total}", + "desktop.editorFind.failed": "无法完成查找或替换。", + "desktop.editorFind.find": "查找", + "desktop.editorFind.invalidPattern": "正则表达式无效。", + "desktop.editorFind.loading": "正在查找…", + "desktop.editorFind.next": "下一个匹配", + "desktop.editorFind.previous": "上一个匹配", + "desktop.editorFind.regex": "正则表达式", + "desktop.editorFind.replace": "替换", + "desktop.editorFind.replaceAll": "全部替换", + "desktop.editorFind.replaceOne": "替换当前", + "desktop.editorFind.replaced": "已替换 {count} 处。", + "desktop.editorFind.replacementTooLarge": "替换结果过大,请缩小范围。", + "desktop.editorFind.selection": "仅在选区中", + "desktop.editorFind.stale": "文档已更改,请重试替换。", + "desktop.editorFind.tooLarge": "此文件超过查找的 64 MiB 上限。", + "desktop.editorFind.tooMany": "匹配超过 10000 处;请缩小范围后再全部替换。", + "desktop.editorFind.word": "整词匹配", + "desktop.editorMenu.back": "后退", + "desktop.editorMenu.deleteLine": "删除行", + "desktop.editorMenu.duplicateLine": "复制行", + "desktop.editorMenu.findUsages": "查找用法", + "desktop.editorMenu.forward": "前进", + "desktop.editorMenu.goToDefinition": "跳转到定义", + "desktop.editorMenu.goToLine": "跳转到行…", + "desktop.editorMenu.lineHistory": "显示行历史", + "desktop.editorMenu.moveLineDown": "下移行", + "desktop.editorMenu.moveLineUp": "上移行", + "desktop.editorMenu.openInBrowser": "在浏览器中打开", + "desktop.editorMenu.openInBrowserFailed": "无法在浏览器中打开文件:{reason}", + "desktop.editorMenu.reformat": "格式化代码", + "desktop.editorMenu.rename": "重命名符号", + "desktop.editorMenu.toggleComment": "切换行注释", + "desktop.editorPrefs.block": "方块", + "desktop.editorPrefs.cursorBlink": "光标闪烁", + "desktop.editorPrefs.cursorStyle": "光标样式", + "desktop.editorPrefs.failed": "无法更新编辑器设置。", + "desktop.editorPrefs.line": "竖线", + "desktop.editorPrefs.lineNumbers": "显示行号", + "desktop.editorPrefs.saveDelay": "自动保存延迟(毫秒)", + "desktop.editorPrefs.saveDelayHelp": "停止输入后等待此时间再自动保存。范围为 250–60000 毫秒;关闭自动保存时不执行。草稿恢复独立保留。", + "desktop.editorPrefs.title": "编辑器显示", + "desktop.editorPrefs.underline": "下划线", + "desktop.editorPrefs.whitespace": "显示空白字符", + "desktop.encoding.reopen": "按编码重新打开", + "desktop.encoding.reopenDirty": "请先保存或放弃修改,再按其他编码重新打开。", + "desktop.encoding.reopenFailed": "无法按该编码重新打开文件。", + "desktop.encoding.reopenLossy": "部分字节在该编码下无效,已显示为替换字符。", + "desktop.encoding.saveAs": "按编码保存", + "desktop.encoding.unmappable": "文本含有 {encoding} 无法表示的字符,未写入任何内容。", + "desktop.errors.core": "内核调用失败:{reason}", + "desktop.errors.dismiss": "关闭", + "desktop.errors.folderMissing": "文件夹不存在:{path}", + "desktop.errors.logsFailed": "无法打开日志窗口:{reason}", + "desktop.errors.openFailed": "无法打开项目:{reason}", + "desktop.errors.saveFailed": "无法保存设置:{reason}", + "desktop.errors.settingsFailed": "无法打开设置窗口:{reason}", + "desktop.everywhere.actions": "操作", + "desktop.everywhere.all": "全部", + "desktop.everywhere.classes": "类", + "desktop.everywhere.files": "文件", + "desktop.everywhere.limit": "显示前 500 条结果。请缩小搜索范围以查看更多。", + "desktop.everywhere.more": "加载更多", + "desktop.everywhere.retry": "重试", + "desktop.everywhere.symbols": "符号", + "desktop.everywhere.text": "文本", + "desktop.everywhere.title": "全局搜索", + "desktop.everywhere.watchUnavailable": "无法监听项目变化。请重新打开搜索以刷新结果。", + "desktop.exit.body": "关闭后将结束下列由 Lithe 启动的程序:\n{processes}", + "desktop.exit.cancel": "取消", + "desktop.exit.debugSession": "调试会话({adapter})", + "desktop.exit.stopAndClose": "结束并关闭", + "desktop.exit.terminal": "终端“{terminal}”", + "desktop.exit.title": "仍有程序在运行", + "desktop.files.batchDelete": "删除 {count} 项…", + "desktop.files.batchDeletePrompt": "删除 {count} 个项目?其中已打开的标签会先保存再关闭。移到废纸篓后还能恢复,永久删除无法撤销。", + "desktop.files.batchDeleteTitle": "删除项目", + "desktop.files.cancel": "取消", + "desktop.files.compareBranch": "与分支比较", + "desktop.files.copy": "复制", + "desktop.files.copyFailed": "无法复制路径:{reason}", + "desktop.files.create": "创建", + "desktop.files.createFailed": "无法创建条目:{reason}", + "desktop.files.crossBoundaryMove": "不支持在不同 WSL 发行版之间、或在发行版与本地文件夹之间移动或重命名", + "desktop.files.cut": "剪切", + "desktop.files.delete": "删除…", + "desktop.files.deleteFailed": "无法删除条目:{reason}", + "desktop.files.deleteMessage": "删除“{name}”?其中已打开的标签会先保存再关闭。移到废纸篓后还能恢复,永久删除无法撤销。", + "desktop.files.deletePermanently": "永久删除", + "desktop.files.deleteTitle": "删除条目", + "desktop.files.duplicate": "重复", + "desktop.files.duplicateFailed": "无法重复该项目:{reason}", + "desktop.files.excludeFailed": "无法排除该文件夹:{reason}", + "desktop.files.excludeFromSearch": "从搜索中排除", + "desktop.files.gitSubmenu": "Git", + "desktop.files.invalidName": "请输入不含斜杠的文件或目录名称。", + "desktop.files.moveFailed": "无法移动该项目:{reason}", + "desktop.files.moveToTrash": "移到废纸篓", + "desktop.files.name": "名称", + "desktop.files.nameExists": "已有同名条目。", + "desktop.files.newDirectory": "新建目录…", + "desktop.files.newDirectoryTitle": "新建目录", + "desktop.files.newFile": "新建文件…", + "desktop.files.newFileTitle": "新建文件", + "desktop.files.open": "打开", + "desktop.files.openIn": "打开于", + "desktop.files.openInExplorer": "资源管理器", + "desktop.files.openInFinder": "访达", + "desktop.files.openInTerminal": "终端", + "desktop.files.openWith": "打开方式", + "desktop.files.openWithAppPath": "{name}({path})", + "desktop.files.openWithDefault": "{name}(默认)", + "desktop.files.openWithFailed": "无法打开文件:{reason}", + "desktop.files.openWithFinding": "正在查找应用…", + "desktop.files.openWithGone": "“{name}”已不能打开这类文件", + "desktop.files.openWithOther": "其他…", + "desktop.files.openWithTitle": "选择应用程序", + "desktop.files.paste": "粘贴", + "desktop.files.pasteFailed": "无法粘贴该项目:{reason}", + "desktop.files.refresh": "刷新", + "desktop.files.rename": "重命名…", + "desktop.files.renameAction": "重命名", + "desktop.files.renameFailed": "无法重命名条目:{reason}", + "desktop.files.renameTitle": "重命名", + "desktop.files.revealFailed": "无法显示条目:{reason}", + "desktop.files.revealInExplorer": "在资源管理器中显示", + "desktop.files.revealInFinder": "在访达中显示", + "desktop.files.showDiff": "显示 Git 差异", + "desktop.files.showHistory": "显示历史", + "desktop.files.showRepositoryChanges": "显示仓库变更", + "desktop.files.stage": "暂存文件", + "desktop.files.stageAndCommit": "暂存并打开提交…", + "desktop.files.trashFailed": "无法移到废纸篓:{reason}", + "desktop.files.unstage": "取消暂存文件", + "desktop.git.actions": "Git 工具窗口操作", + "desktop.git.allReferences": "所有引用", + "desktop.git.anyTime": "任意时间", + "desktop.git.apply": "应用", + "desktop.git.blame.annotation": "{author} · {time} · {subject}", + "desktop.git.blame.uncommitted": "未提交的更改", + "desktop.git.branchSearch": "分支或标签", + "desktop.git.branchSettings": "分支面板设置", + "desktop.git.cancel": "取消", + "desktop.git.clear": "清除", + "desktop.git.clearFilter": "清除筛选", + "desktop.git.collapseAll": "折叠所有分支", + "desktop.git.compareBranch": "将当前分支与工作树比较", + "desktop.git.compareChanges": "比较更改", + "desktop.git.compareWithCurrent": "与当前分支比较", + "desktop.git.compareWorkingTree": "与工作树比较", + "desktop.git.console.collapse": "收起", + "desktop.git.console.exitCode": "退出码 {code}", + "desktop.git.console.expand": "展开", + "desktop.git.console.expandConfiguration": "显示 {count} 项临时配置", + "desktop.git.console.queryOutput": "读取结果,共 {count} 行", + "desktop.git.console.queryOutputOne": "读取结果,共 {count} 行", + "desktop.git.console.settings": "Git 控制台设置", + "desktop.git.decorations": "显示引用标签", + "desktop.git.deleteBranch": "删除所选分支", + "desktop.git.excludeFailed": "无法排除该项目:{reason}", + "desktop.git.excludeLocally": "从 Git 排除(仅本地)", + "desktop.git.expandAll": "展开所有分支", + "desktop.git.failed": "Git 读取失败:{reason}", + "desktop.git.fetchAll": "获取所有远程", + "desktop.git.fetchOptions": "获取选项…", + "desktop.git.fileHistory": "显示文件历史", + "desktop.git.filesFailed": "无法加载更改的文件", + "desktop.git.filterDate": "日期", + "desktop.git.filterPaths": "路径", + "desktop.git.filterUser": "用户", + "desktop.git.filterValue": "{filter}:{value}", + "desktop.git.findBranch": "查找分支", + "desktop.git.findInLog": "在日志中查找", + "desktop.git.gutter.before": "修改前", + "desktop.git.gutter.next": "下一处", + "desktop.git.gutter.noEarlier": "(修改前无内容)", + "desktop.git.gutter.previous": "上一处", + "desktop.git.gutter.revert": "回退此修改", + "desktop.git.gutter.saveFirst": "保存文件后才能暂存此修改。", + "desktop.git.gutter.stage": "暂存此修改", + "desktop.git.hideBranches": "隐藏分支", + "desktop.git.last30Days": "最近 30 天", + "desktop.git.last7Days": "最近 7 天", + "desktop.git.loadMoreFailed": "无法加载更早的提交。刷新历史", + "desktop.git.loading": "正在读取…", + "desktop.git.locateBranch": "在日志中定位所选分支", + "desktop.git.log": "日志", + "desktop.git.log.adjustLimit": "调整上限…", + "desktop.git.log.limitReached": "已读取 {count} 条提交,更早的提交超出可读取范围", + "desktop.git.logTab": "日志: {reference}", + "desktop.git.longEdges": "显示长边", + "desktop.git.noCommits": "还没有提交", + "desktop.git.noMatchingReferences": "没有匹配的分支或标签", + "desktop.git.noMatchingUsers": "没有匹配的用户", + "desktop.git.notRepository": "此项目不是 Git 仓库", + "desktop.git.olderOutside": "更早的提交不在已加载的历史中", + "desktop.git.on": "于 {date}", + "desktop.git.pathPlaceholder": "目录或文件名", + "desktop.git.pathTitle": "按更改路径筛选", + "desktop.git.pushAll.defineRemote": "定义远程", + "desktop.git.pushAll.description": "勾选要推送的仓库,确认目标和提交后推送。", + "desktop.git.pushAll.detachedHead": "分离 HEAD", + "desktop.git.pushAll.emptyRepository": "空仓库", + "desktop.git.pushAll.failed": "推送失败:{reason}", + "desktop.git.pushAll.filesFailed": "无法加载变更文件:{reason}", + "desktop.git.pushAll.loadingFiles": "正在加载变更文件…", + "desktop.git.pushAll.noChangedFiles": "此提交没有变更文件", + "desktop.git.pushAll.noCommitSelected": "选择一个提交查看变更文件", + "desktop.git.pushAll.noRepositories": "没有可推送的仓库", + "desktop.git.pushAll.push": "推送(P)", + "desktop.git.pushAll.pushTags": "推送标记(T)", + "desktop.git.pushAll.pushed": "已推送", + "desktop.git.pushAll.readFailed": "无法读取:{reason}", + "desktop.git.pushAll.skipped": "未推送:{repository} 推送失败", + "desktop.git.pushAll.someFailed": "有仓库没有推送成功,详情见推送对话框。", + "desktop.git.pushAll.tagsAll": "所有", + "desktop.git.pushAll.tagsCurrentBranch": "当前分支", + "desktop.git.pushAll.title": "推送提交", + "desktop.git.pushAll.upToDate": "已是最新", + "desktop.git.refreshLog": "刷新日志", + "desktop.git.repo.back": "切回 {name}", + "desktop.git.repo.choose": "选择仓库", + "desktop.git.repo.current": "仓库:{name}", + "desktop.git.repo.several": "{count} 个仓库", + "desktop.git.searchUsers": "搜索用户", + "desktop.git.settings.blame": "显示行尾 Git Blame", + "desktop.git.settings.blameHelp": "在光标所在行末尾显示作者、时间和提交标题。仅在保存文件或 HEAD 变化时重新读取 Git,刷新期间保留旧注释。默认关闭。", + "desktop.git.settings.changeLists": "显示变更列表", + "desktop.git.settings.changeListsHelp": "在提交窗口按本地更改列表分组变更,并显示创建、重命名和删除列表的工具栏。关闭后所有变更平铺显示,已暂存的变更可一起提交;列表及其分配会保留。", + "desktop.git.settings.console.annotate": "省略注解与行历史", + "desktop.git.settings.console.annotateHelp": "打开注解(Blame)或查看行历史时的读取。行尾 Blame 随文件自动刷新,从不记录。", + "desktop.git.settings.console.checks": "省略操作前检查", + "desktop.git.settings.console.checksHelp": "操作前的预览、预检和计划,以及操作为自己读取的状态等其他查询。", + "desktop.git.settings.console.completedNotice": "省略“执行成功,没有输出”提示", + "desktop.git.settings.console.completedNoticeHelp": "命令成功结束但没有输出时,不在命令下方显示这条提示。IntelliJ IDEA 也不显示。", + "desktop.git.settings.console.diff": "省略差异读取", + "desktop.git.settings.console.diffHelp": "打开或切换差异标签页时读取的文件差异、提交差异、比较结果和可暂存的变更块。", + "desktop.git.settings.console.diffRefresh": "省略保存后的差异刷新", + "desktop.git.settings.console.diffRefreshHelp": "保存文件后重新读取该文件已打开的差异标签页。", + "desktop.git.settings.console.display": "Git 控制台:显示", + "desktop.git.settings.console.displayHelp": "只改变已记录命令在 Git 控制台里的显示方式,不影响记录哪些命令。复制全部内容时仍包含完整命令和仓库。初始状态与 IntelliJ IDEA 一致。", + "desktop.git.settings.console.foldShortQueries": "折叠 10 行以内的查询输出", + "desktop.git.settings.console.foldShortQueriesHelp": "成功查询的输出超过 10 行时整段折叠,点击可展开;打开此项后,10 行以内的输出也折叠。删除类命令(删除分支、标签、引用、远程分支、配置、文件、贮藏或工作树,以及 clean、prune)的输出和配置从不折叠。", + "desktop.git.settings.console.log": "省略日志浏览", + "desktop.git.settings.console.logHelp": "Git 日志的提交历史、分支与标签、提交图和提交详情的读取。", + "desktop.git.settings.console.logPathFilter": "省略日志路径筛选", + "desktop.git.settings.console.logPathFilterHelp": "按路径筛选日志时逐个读取的提交文件列表。", + "desktop.git.settings.console.omitted": "Git 控制台:省略的查询", + "desktop.git.settings.console.omittedHelp": "打开的类别不写入 Git 控制台,也不占用控制台保留的记录;打开某个类别时,控制台已记录的该类成功查询也一并移除。你执行的命令、失败的 Git 请求、你发起的操作中失败的查询和意外的退出码始终显示。随仓库变化自动刷新的读取(状态、行号区标记、行尾 Blame 等)从不记录。初始状态与 IntelliJ IDEA 一致:全部省略。", + "desktop.git.settings.console.panels": "省略列表与面板", + "desktop.git.settings.console.panelsHelp": "工作树、储藏、远程仓库、拉取请求、未跟踪目录和仓库设置等列表与面板的读取。", + "desktop.git.settings.console.references": "省略后台分支读取", + "desktop.git.settings.console.referencesHelp": "仓库变化后在后台重新读取的各仓库分支与引用,供分支弹窗和日志的仓库分组使用。", + "desktop.git.settings.console.reload": "省略操作后的自动重新加载", + "desktop.git.settings.console.reloadHelp": "你执行 Git 操作(提交、暂存、贮藏、搁置、变基、分支操作、获取、更新等)后或刷新更改列表时重新读取的状态,以及操作写入工作区或暂存区后重新读取的差异标签页。", + "desktop.git.settings.console.repository": "省略仓库名", + "desktop.git.settings.console.repositoryHelp": "命令行开头只显示时间,不显示 [仓库名]。", + "desktop.git.settings.console.temporaryConfig": "完全隐藏临时 -c 配置", + "desktop.git.settings.console.temporaryConfigHelp": "命令行不再显示 Lithe 为单次命令传入的 -c 配置,折叠后的提示也不显示。命令本身写明的 -c 参数仍折叠显示。", + "desktop.git.settings.gutter": "显示 Git 变更标记", + "desktop.git.settings.gutterHelp": "在编辑器行号区标出相对 Git 索引新增、修改或删除的行。点击标记可查看修改前的内容、暂存或回退这处修改。保存文件或 Git 状态变化时更新。", + "desktop.git.settings.logLimitDefault": "{count}(默认)", + "desktop.git.settings.logLimitMerged": "多个仓库混排", + "desktop.git.settings.logLimitMergedHelp": "勾选多个仓库按时间混排时,所有仓库合计最多读取的提交数,默认 20000。", + "desktop.git.settings.logLimitSingle": "单个仓库", + "desktop.git.settings.logLimitSingleHelp": "只查看一个仓库时最多读取的提交数,默认 5000。", + "desktop.git.settings.logLimits": "Git 日志", + "desktop.git.settings.logLimitsHelp": "Git 日志最多读取多少条提交。读到上限后,日志末尾会提示更早的提交超出可读取范围;上限越大,加载越慢,占用内存越多。", + "desktop.git.settings.parentReferences": "显示更新父仓库引用", + "desktop.git.settings.parentReferencesHelp": "显示是否在父仓库中记录子模块新提交的选项。关闭后隐藏该选项,每次提交都会更新父仓库引用。", + "desktop.git.showAll": "显示所有引用", + "desktop.git.showBranches": "显示分支", + "desktop.git.showChanges": "显示更改", + "desktop.git.showDetails": "显示提交详情", + "desktop.git.textOrHash": "文本或哈希", + "desktop.git.time.daysAgo": "{count} 天前", + "desktop.git.time.hoursAgo": "{count} 小时前", + "desktop.git.time.justNow": "刚刚", + "desktop.git.time.minutesAgo": "{count} 分钟前", + "desktop.git.time.monthsAgo": "{count} 个月前", + "desktop.git.time.yearsAgo": "{count} 年前", + "desktop.git.today": "今天", + "desktop.git.updateBranch": "更新当前分支", + "desktop.git.worktrees.destinationAbsolute": "请输入绝对路径。", + "desktop.git.worktrees.failed": "工作树操作失败:{reason}", + "desktop.git.worktrees.lockedBecause": "已锁定:{reason}", + "desktop.git.worktrees.removed": "已删除工作树“{name}”", + "desktop.git.yesterday": "昨天", + "desktop.gitHistory.cherryPicked": "已将 {hash} 拣选到当前分支", + "desktop.gitHistory.deleteCommit": "删除提交…", + "desktop.gitHistory.resetDone": "已将当前分支重置到 {hash}", + "desktop.gitHistory.reverted": "已用新提交还原 {hash}", + "desktop.gitHistory.undoCommit": "撤销提交…", + "desktop.gitReview.blameFailed": "无法读取注释:{reason}", + "desktop.gitReview.blameTitle": "注释:{file}", + "desktop.gitReview.blockN": "变更 {n}", + "desktop.gitReview.cancel": "取消", + "desktop.gitReview.close": "关闭", + "desktop.gitReview.confirm": "确认", + "desktop.gitReview.diffTab": "视图", + "desktop.gitReview.menu": "贮藏、工作树与仓库…", + "desktop.gitReview.menuLabel": "更多 Git 操作", + "desktop.gitReview.noRemote": "此仓库没有可推送的远程。", + "desktop.gitReview.notRepository": "此项目不是 Git 仓库", + "desktop.gitReview.operationFailed": "Git 操作失败:{reason}", + "desktop.gitReview.refresh": "刷新", + "desktop.gitReview.rollbackFailed": "回滚失败:{reason}", + "desktop.gitReview.stashPush": "贮藏更改", + "desktop.gitReview.untrackedMenu": "显示未跟踪文件…", + "desktop.gitReview.untrackedTitle": "{path} 中的未跟踪文件", + "desktop.github.approve": "批准", + "desktop.github.branchExists": "同名本地分支已存在。请先重命名或删除它,然后重新审阅。", + "desktop.github.cancelSignIn": "取消", + "desktop.github.checkFailed": "失败", + "desktop.github.checkPassed": "通过", + "desktop.github.checkRunning": "进行中", + "desktop.github.checkSkipped": "已跳过", + "desktop.github.checkUnknown": "已完成", + "desktop.github.checkedOut": "已检出 Pull Request 分支 {branch}", + "desktop.github.checkedOutHint": "分支已在本地检出。", + "desktop.github.checkoutBranch": "本地分支:{branch}", + "desktop.github.checks": "检查", + "desktop.github.checksUnavailable": "无法读取检查:未知的提交。", + "desktop.github.comment": "评论", + "desktop.github.confirmCheckout": "检出分支", + "desktop.github.connectedAs": "已连接为 {login}", + "desktop.github.createDetached": "HEAD 处于分离状态,创建 Pull Request 前请先检出分支。", + "desktop.github.createPullRequest": "创建 Pull Request", + "desktop.github.createUnpublished": "此分支有远程尚未包含的提交,请先发布再创建 Pull Request。", + "desktop.github.denied": "GitHub 上的授权被拒绝。", + "desktop.github.draft": "草稿", + "desktop.github.draftChoice": "创建为草稿", + "desktop.github.draftFailed": "无法生成描述:{reason}", + "desktop.github.draftNoProvider": "没有可用的 AI 提供方来生成描述。", + "desktop.github.enterCode": "在 GitHub 上输入此代码:", + "desktop.github.expired": "代码在 GitHub 上输入前已过期,请重试。", + "desktop.github.failed": "GitHub 登录失败:{reason}", + "desktop.github.filter.closed": "已关闭", + "desktop.github.filter.mine": "我的", + "desktop.github.filter.open": "打开", + "desktop.github.generateDescription": "生成描述", + "desktop.github.loading": "正在读取 Pull Request…", + "desktop.github.newPullRequest": "新建 Pull Request…", + "desktop.github.nextBase": "更换基础分支", + "desktop.github.noChecks": "没有检查", + "desktop.github.noPullRequests": "没有符合此筛选的 Pull Request。", + "desktop.github.noReviewThreads": "没有评审线程", + "desktop.github.openFailed": "无法打开浏览器:{reason}", + "desktop.github.openInBrowser": "在浏览器中打开", + "desktop.github.prBody": "描述(Markdown)", + "desktop.github.prBranches": "{head} → {base}", + "desktop.github.prMeta": "{state} · {head} → {base} · {author}", + "desktop.github.prTitle": "标题", + "desktop.github.publishBranch": "发布分支", + "desktop.github.publishDivergent": "远程分支已分叉,请在推送对话框中选择发布方式。", + "desktop.github.pullRequests": "Pull Request", + "desktop.github.reply": "写评论", + "desktop.github.requestChanges": "请求修改", + "desktop.github.reviewCheckout": "审阅检出", + "desktop.github.reviewNeedsBody": "请写明需要修改的内容。", + "desktop.github.reviewThreads": "评审线程", + "desktop.github.settingsHelp": "登录后可以查看、检出和评审本仓库的 Pull Request。", + "desktop.github.settingsTitle": "GitHub 账号", + "desktop.github.signIn": "登录 GitHub", + "desktop.github.signInFirst": "请先在设置中登录 GitHub 以查看 Pull Request。", + "desktop.github.signOut": "退出登录", + "desktop.github.signOutFailed": "无法删除 GitHub 令牌:{reason}", + "desktop.github.threadLine": "第 {line} 行", + "desktop.github.threadOutdated": "锚点已过期", + "desktop.github.unavailable": "此构建无法使用 GitHub。", + "desktop.github.working": "正在连接 GitHub…", + "desktop.history.close": "关闭", + "desktop.history.delete": "删除", + "desktop.history.empty": "此文件还没有本地历史。", + "desktop.history.failed": "本地历史操作失败:{reason}", + "desktop.history.labelPlaceholder": "为此版本命名", + "desktop.history.loading": "正在读取历史…", + "desktop.history.previewLoading": "正在读取快照…", + "desktop.history.reasonBaseline": "项目基线", + "desktop.history.reasonBatchReplace": "批量替换前", + "desktop.history.reasonBeforeDelete": "删除前", + "desktop.history.reasonBeforeRename": "重命名前", + "desktop.history.reasonExternalChange": "磁盘上被修改", + "desktop.history.reasonRestored": "恢复前", + "desktop.history.reasonSaved": "保存", + "desktop.history.reasonUnsavedDiscard": "放弃的未保存修改", + "desktop.history.rename": "标签", + "desktop.history.restore": "恢复", + "desktop.history.show": "显示本地历史", + "desktop.history.title": "本地历史", + "desktop.htmlPreview.back": "后退", + "desktop.htmlPreview.failed": "无法预览此 HTML 文件。", + "desktop.htmlPreview.forward": "前进", + "desktop.htmlPreview.reload": "重新加载", + "desktop.htmlPreview.tooLarge": "此 HTML 文件过大,无法预览。", + "desktop.ideApi.allowConfigure": "允许配置", + "desktop.ideApi.allowConfigureHelp": "允许客户端修改项目的构建选项。", + "desktop.ideApi.allowExecute": "允许执行", + "desktop.ideApi.allowExecuteHelp": "允许客户端启动和停止构建与运行。这可能下载依赖或执行插件。", + "desktop.ideApi.copyConfiguration": "复制 stdio 客户端配置", + "desktop.ideApi.disable": "关闭连接", + "desktop.ideApi.enable": "开启连接", + "desktop.ideApi.failed": "无法更改连接:{reason}", + "desktop.ideApi.grantsFixed": "授权在连接期间固定;关闭后再开启才能修改。", + "desktop.ideApi.helperMissing": "辅助程序缺失", + "desktop.ideApi.intro": "让插件和外部 MCP 客户端在你授权后,调用已打开项目的 IDE 能力。连接按项目单独开启,关闭项目即结束。", + "desktop.ideApi.noProject": "打开一个项目后,才能为它开启 IDE 连接。", + "desktop.ideApi.project": "项目", + "desktop.ideApi.statusDisabled": "未连接", + "desktop.ideApi.statusEnabled": "已连接", + "desktop.ideApi.title": "IDE 连接", + "desktop.inlineEdit.accept": "接受", + "desktop.inlineEdit.cancel": "取消", + "desktop.inlineEdit.empty": "模型返回了空的替换内容,接受将删除所选代码。", + "desktop.inlineEdit.failed": "AI 编辑失败:{reason}", + "desktop.inlineEdit.instruction": "希望如何修改?留空则优化这段代码。", + "desktop.inlineEdit.noSelection": "请先选中一段代码。", + "desktop.inlineEdit.provider": "供应商", + "desktop.inlineEdit.providerClaude": "Claude", + "desktop.inlineEdit.providerCodex": "Codex", + "desktop.inlineEdit.providerDefault": "跟随 AI 设置", + "desktop.inlineEdit.readOnly": "该文件是只读的。", + "desktop.inlineEdit.reject": "拒绝", + "desktop.inlineEdit.reviewTitle": "审阅 AI 修改", + "desktop.inlineEdit.run": "生成修改", + "desktop.inlineEdit.running": "生成中…", + "desktop.inlineEdit.stale": "审阅期间文件已变化,未应用任何修改。", + "desktop.inlineEdit.title": "用 AI 编辑所选代码", + "desktop.inlineEdit.unchanged": "模型没有做任何修改。", + "desktop.keymap.add": "添加快捷键", + "desktop.keymap.cancel": "取消", + "desktop.keymap.conflict": "{keys} 已被“{action}”使用。", + "desktop.keymap.fullscreenFailed": "无法切换全屏:{reason}", + "desktop.keymap.goToLine": "跳转到行", + "desktop.keymap.groupEditor": "编辑器", + "desktop.keymap.help": "点击 + 后按下新的按键,Esc 取消录制。修改立即生效。", + "desktop.keymap.inlineEdit": "AI 行内编辑", + "desktop.keymap.modified": "已修改", + "desktop.keymap.noMatch": "没有匹配的操作。", + "desktop.keymap.none": "无快捷键", + "desktop.keymap.recording": "快捷键", + "desktop.keymap.recordingHint": "请按下按键…", + "desktop.keymap.remove": "移除快捷键", + "desktop.keymap.reset": "恢复默认", + "desktop.keymap.resetAll": "全部恢复默认", + "desktop.keymap.search": "搜索操作", + "desktop.keymap.searchPlaceholder": "按名称或按键筛选", + "desktop.keymap.toggleFullscreen": "切换全屏", + "desktop.keymap.unbindable": "字母或符号需要配合 Command、Control 或 Option,避免普通输入触发操作。", + "desktop.keymapImport.apply": "创建并使用方案", + "desktop.keymapImport.changed": "来源文件或快捷键设置已变化,请重新选择文件刷新预览。", + "desktop.keymapImport.chooseFile": "选择快捷键文件…", + "desktop.keymapImport.conflictWith": "{key} 与“{owner}”冲突", + "desktop.keymapImport.conflicts": "请先在来源文件或当前方案中解决冲突,再重新选择文件。存在冲突时不会导入任何快捷键。", + "desktop.keymapImport.displaced": "将移除的默认快捷键:{keys}", + "desktop.keymapImport.empty": "此文件没有可导入的受支持显式快捷键。", + "desktop.keymapImport.failed": "无法导入快捷键。请选择不超过 1 MiB、UTF-8 编码的有效 keybindings.json 或键位 XML 文件。", + "desktop.keymapImport.fileFilter": "快捷键配置", + "desktop.keymapImport.help": "选择 VS Code 或 Cursor 的 keybindings.json,或 IntelliJ IDEA 的键位 XML。仅导入已支持操作的显式绑定,不导入来源 IDE 默认键、继承方案、条件规则和连续按键。预览不会修改设置;确认后创建并启用独立方案,来源文件保持不变。", + "desktop.keymapImport.idea": "IntelliJ IDEA(XML)", + "desktop.keymapImport.inherited": "此 XML 继承了其他键位方案,本次仅包含文件中显式配置的操作。", + "desktop.keymapImport.name": "新方案名称", + "desktop.keymapImport.preview": "快捷键导入预览", + "desktop.keymapImport.skipArguments": "已跳过:此操作需要命令参数,保留现有快捷键。", + "desktop.keymapImport.skipConditional": "已跳过:此操作包含条件规则,保留现有快捷键。", + "desktop.keymapImport.skipKey": "已跳过:此操作包含不支持的按键或规则,保留现有快捷键。", + "desktop.keymapImport.skipRemoval": "已跳过:无法将来源 IDE 默认键的移除规则直接应用到当前方案。", + "desktop.keymapImport.skipSequence": "已跳过:此操作包含连续按键,保留现有快捷键。", + "desktop.keymapImport.skipUnmapped": "已跳过:没有对应的受支持操作。", + "desktop.keymapImport.source": "来源格式", + "desktop.keymapImport.summary": "可导入 {imported} 项操作 · 跳过 {skipped} 条规则 · {conflicts} 处冲突", + "desktop.keymapImport.title": "从其他 IDE 导入…", + "desktop.keymapImport.unbound": "清除此操作的快捷键", + "desktop.keymapImport.vscode": "VS Code / Cursor(JSON)", + "desktop.keymapImport.working": "正在读取并检查快捷键…", + "desktop.keymapSchemes.default": "默认方案", + "desktop.keymapSchemes.delete": "删除方案", + "desktop.keymapSchemes.duplicateName": "此方案名称已存在。", + "desktop.keymapSchemes.failed": "无法更新快捷键方案,原方案仍然保留。", + "desktop.keymapSchemes.invalidName": "请输入 1–64 个字符的方案名称。", + "desktop.keymapSchemes.limit": "最多可保存 16 套快捷键方案。", + "desktop.keymapSchemes.name": "方案名称", + "desktop.keymapSchemes.newTitle": "保存快捷键方案", + "desktop.keymapSchemes.rename": "重命名方案…", + "desktop.keymapSchemes.renameTitle": "重命名快捷键方案", + "desktop.keymapSchemes.saveAs": "保存为新方案…", + "desktop.keymapSchemes.scheme": "快捷键方案", + "desktop.languageStatus.degraded": "功能受限", + "desktop.languageStatus.failed": "失败", + "desktop.languageStatus.none": "未运行", + "desktop.languageStatus.ready": "就绪", + "desktop.languageStatus.starting": "正在启动", + "desktop.languageStatus.stopped": "已停止", + "desktop.languageStatus.title": "语言服务", + "desktop.legacyImport.confirm": "导入", + "desktop.legacyImport.description": "读取自 {source}。旧版 Lithe 的数据保持不变。所选设置会替换当前设置;最近项目会加入当前列表。", + "desktop.legacyImport.done": "已导入旧版 Lithe 的设置。新增最近项目:{recent} 个。", + "desktop.legacyImport.editorFont": "编辑器字体", + "desktop.legacyImport.failed": "导入旧版 Lithe 设置失败:{error}", + "desktop.legacyImport.hidden": "隐藏", + "desktop.legacyImport.language": "界面语言", + "desktop.legacyImport.menu": "从旧版 Lithe 导入设置…", + "desktop.legacyImport.minimap": "编辑器小地图", + "desktop.legacyImport.none": "这台电脑上没有找到旧版 Lithe 的设置。", + "desktop.legacyImport.openMarketplace": "打开插件市场", + "desktop.legacyImport.plugins": "旧版 Lithe 安装过的插件", + "desktop.legacyImport.pluginsHelp": "请在插件市场重新安装,市场会检查每个插件是否适用于此版本。不会复制旧的安装包。", + "desktop.legacyImport.pluginsMore": "另有 {count} 个", + "desktop.legacyImport.processTermination": "进程终止选项", + "desktop.legacyImport.readFailed": "读取旧版 Lithe 设置失败:{error}", + "desktop.legacyImport.recent": "最近项目", + "desktop.legacyImport.recentCount": "{count} 个项目", + "desktop.legacyImport.shellAutomatic": "系统默认", + "desktop.legacyImport.shown": "显示", + "desktop.legacyImport.tabRows": "编辑器标签", + "desktop.legacyImport.tabsMultiple": "多行", + "desktop.legacyImport.tabsSingle": "单行", + "desktop.legacyImport.terminalFont": "终端字体", + "desktop.legacyImport.terminalShell": "终端 Shell", + "desktop.legacyImport.theme": "主题", + "desktop.legacyImport.themeDark": "深色", + "desktop.legacyImport.themeLight": "浅色", + "desktop.legacyImport.themeSystem": "跟随系统", + "desktop.legacyImport.title": "从旧版 Lithe 导入", + "desktop.lineHistory.empty": "这些行没有提交历史。", + "desktop.lineHistory.inserted": "第 {lines} 行是新插入的,尚无提交历史。", + "desktop.lineHistory.lines": "{file},第 {start}-{end} 行", + "desktop.lineHistory.loading": "正在查询行历史…", + "desktop.lineHistory.outsideRepository": "此文件不在 Git 仓库内。", + "desktop.lineHistory.rewritten": "第 {lines} 行被改写,无法可靠对应提交历史。", + "desktop.lineHistory.title": "行历史", + "desktop.lineHistory.truncated": "结果已截断,仅显示最近的提交。", + "desktop.logs.apply": "应用", + "desktop.logs.choose": "选择", + "desktop.logs.chooseDirectory": "选择日志目录", + "desktop.logs.clearAction": "清空日志", + "desktop.logs.clearMessage": "仅删除生效目录中由 Lithe 管理的所有模块和会话日志。筛选条件不限制清理范围,后续事件仍会继续记录。", + "desktop.logs.clearSearch": "清除搜索", + "desktop.logs.clearTitle": "清空已收集的日志?", + "desktop.logs.diagnostics": "详细诊断", + "desktop.logs.dropped": "已丢弃 {count}", + "desktop.logs.environmentHint": "应用版本、{osName} 版本、架构、已启用插件", + "desktop.logs.exportDialog.currentSession": "当前会话", + "desktop.logs.exportDialog.export": "导出…", + "desktop.logs.histogramTooltip": "{time} · ERROR {errors} · WARN {warnings} · 其它 {other}", + "desktop.logs.invalidTime": "请按 YYYY-MM-DD HH:MM:SS 输入时间。", + "desktop.logs.logDirectory": "日志目录", + "desktop.logs.logs": "日志", + "desktop.logs.newLogs": "↓ {count} 条新日志,回到最新", + "desktop.logs.operation": "操作 {op} · {count} 条 · 共 {duration}", + "desktop.logs.paused": "已暂停", + "desktop.logs.rejected": "被拒绝 {count}(最近:{event} {code})", + "desktop.logs.repeated": "重复 {count} 次 · 末次 {last}", + "desktop.logs.revealInFinder": "在 Finder 中显示", + "desktop.logs.savedTo": "已保存到 {path}", + "desktop.logs.sourceLine": "第 {line} 行", + "desktop.logs.writeFailures": "写入失败 {count}", + "desktop.lsp.filterPlaceholder": "筛选日志", + "desktop.lsp.managePlugins": "管理语言服务器插件…", + "desktop.lsp.noFilteredLog": "没有匹配筛选条件的日志。", + "desktop.lsp.noLog": "此服务器暂无日志。", + "desktop.lsp.noServers": "没有正在运行的语言服务器。", + "desktop.lsp.preparationCancelled": "语言服务准备已取消", + "desktop.lsp.restartServer": "重启服务器", + "desktop.lsp.state": "状态:{state}", + "desktop.lsp.stopServer": "停止服务器", + "desktop.markdown.closeImage": "关闭图片", + "desktop.markdown.contents": "目录", + "desktop.markdown.empty": "没有可预览的内容", + "desktop.markdown.imagePreview": "图片预览", + "desktop.markdown.markmap": "思维导图", + "desktop.markdown.markmapFailed": "无法绘制此思维导图。", + "desktop.markdown.mermaidFailed": "无法绘制此 Mermaid 图表。", + "desktop.markdown.preview": "渲染后的 Markdown", + "desktop.markdown.tooLarge": "此文件过大,无法预览。", + "desktop.marketplace.cancel": "取消", + "desktop.marketplace.communitySource": "Lithe Store", + "desktop.marketplace.confirmInstall": "安装", + "desktop.marketplace.connecting": "正在连接下载源…", + "desktop.marketplace.downloadProgress": "正在下载插件… {received} / {total} MiB", + "desktop.marketplace.downloadPrompt": "是否下载此插件?校验完成后,你可以查看权限和程序并确认安装。如果已有批准仍适用于此插件包,安装会自动继续。", + "desktop.marketplace.downloadReceived": "正在下载插件… {received} MiB", + "desktop.marketplace.downloadTitle": "下载插件", + "desktop.marketplace.enable": "启用", + "desktop.marketplace.failureChecksum": "下载的插件包未通过完整性校验,请重试以重新下载。", + "desktop.marketplace.failureHelp": "插件包下载、校验或安装失败。请重试;若仍失败,可打开诊断查看错误详情。", + "desktop.marketplace.failureNetwork": "无法下载插件包,请检查网络和代理设置后重试。", + "desktop.marketplace.failurePermission": "无法访问所需文件,请检查目录权限后重试。", + "desktop.marketplace.failureTimeout": "操作超时,请检查网络后重试。", + "desktop.marketplace.install": "安装", + "desktop.marketplace.installComplete": "安装完成", + "desktop.marketplace.installCompleteHelp": "插件已安装,可在“已安装”中查看启用状态。", + "desktop.marketplace.installFailed": "插件安装失败。", + "desktop.marketplace.installFromFile": "从文件安装…", + "desktop.marketplace.installHelp": "先下载并校验插件包,再确认它申请的权限。只有确认后才会安装。", + "desktop.marketplace.installTitle": "安装插件", + "desktop.marketplace.installedSource": "已安装", + "desktop.marketplace.languageServerDisplaced": "已停用「{disabled}」:「{enabled}」也提供 {languages} 语言服务器,同一语言只能启用一个插件。", + "desktop.marketplace.noFeatures": "此插件未声明功能。", + "desktop.marketplace.officialSource": "官方", + "desktop.marketplace.packageFilter": "插件包", + "desktop.marketplace.permissionBackend": "启动插件的后台服务", + "desktop.marketplace.permissionBuild": "为项目运行构建工具", + "desktop.marketplace.permissionCommandsInstall": "安装插件所需的命令行工具(每次安装前都会征得你的同意)", + "desktop.marketplace.permissionDebug": "启动程序调试器", + "desktop.marketplace.permissionGenerate": "在你选择的位置生成项目文件", + "desktop.marketplace.permissionRuntimesInstall": "下载并安装插件声明的运行依赖。插件更新时会复用已有且验证合格的环境。", + "desktop.marketplace.programDetails": "程序声明({count} 项)· 展开/收起详情", + "desktop.marketplace.queryTooLong": "搜索内容过长", + "desktop.marketplace.reviewConsent": "请仅安装可信来源的插件。确认安装将批准这个包所声明的权限和程序。", + "desktop.marketplace.reviewEmpty": "该插件不申请权限,也不启动任何程序。", + "desktop.marketplace.reviewPermissions": "权限", + "desktop.marketplace.reviewPrograms": "程序", + "desktop.marketplace.reviewTitle": "审查插件", + "desktop.marketplace.runtimeChecking": "正在检查 {dependency}…", + "desktop.marketplace.runtimeDownloading": "正在下载 {dependency}… {received} / {total} MiB", + "desktop.marketplace.runtimeExtracting": "正在解压 {dependency}…", + "desktop.marketplace.runtimeFailureHelp": "运行环境准备失败。已安装的插件版本和校验合格的下载缓存均已保留,可重试继续。", + "desktop.marketplace.runtimeReady": "{dependency} 已就绪", + "desktop.marketplace.runtimeReceived": "正在下载 {dependency}… {received} MiB", + "desktop.marketplace.runtimeRepairing": "正在修复 {dependency}…", + "desktop.marketplace.runtimeVerifying": "正在验证 {dependency}…", + "desktop.marketplace.sourceInvalid": "请输入 HTTPS 格式的索引地址。", + "desktop.marketplace.sourceUnavailable": "来源不可用:{source}", + "desktop.marketplace.tab.settings": "设置", + "desktop.marketplace.uninstall": "卸载", + "desktop.marketplace.verifying": "正在解压并校验插件…", + "desktop.memory.belowMegabyte": "< 1 MB", + "desktop.memory.childProcesses": "其他子进程", + "desktop.memory.columnCPU": "CPU", + "desktop.memory.columnCompressed": "压缩/换出", + "desktop.memory.columnGPU": "GPU", + "desktop.memory.columnInMemory": "内存中", + "desktop.memory.gigabytes": "{value} GB", + "desktop.memory.help": "统计 Lithe 主进程和属于它的全部进程:语言服务器、插件服务、终端和运行任务等子进程,以及系统代 Lithe 启动的辅助进程,例如显示网页和预览的 WebKit 进程。", + "desktop.memory.helpFigures": "“内存中”是进程现在占用的物理内存,状态栏和总计都只算这一项。“压缩/换出”是系统为这些进程压缩或写到磁盘上的内存,不计入“内存中”。CPU 和 GPU 是相隔至少 1 秒的两次读取之间的占用率,GPU 取最忙的那个图形引擎;面板打开后才读取 GPU,所以 GPU 占用要稍等片刻才显示。", + "desktop.memory.helpLinux": "“内存中”是常驻内存减去共享页,“压缩/换出”是换出到交换区(包括 zram)的部分。CPU 以一个核心占满为 100%,与 top 一致;GPU 来自 DRM 驱动报告的引擎时间。", + "desktop.memory.helpMacOS": "“内存中”加“压缩/换出”就是活动监视器“内存”一列的值,“压缩/换出”是其中被压缩的部分。CPU 以一个核心占满为 100%,与活动监视器一致。", + "desktop.memory.helpWindows": "“内存中”是专用工作集,即任务管理器“内存”一列的值。Windows 不单独报告进程被压缩了多少,“压缩/换出”是已提交的专用内存中不在工作集里的部分:被压缩、写入页面文件或尚未用到的内存,所以它是上限。“显存”是任务管理器“专用 GPU 内存”一列的值。CPU 以全部逻辑处理器占满为 100%,与任务管理器一致。", + "desktop.memory.host": "Lithe 主进程", + "desktop.memory.languageServer": "{plugin} · {language}", + "desktop.memory.languageServers": "语言服务器", + "desktop.memory.megabytes": "{value} MB", + "desktop.memory.noOtherProcesses": "Lithe 目前没有启动其他进程。", + "desktop.memory.omitted": "另有 {count} 项,共 {value}", + "desktop.memory.percent": "{value}%", + "desktop.memory.processCount": "{count} 个进程", + "desktop.memory.processes": "进程", + "desktop.memory.reading": "正在读取进程…", + "desktop.memory.services": "插件服务", + "desktop.memory.statCPU": "CPU {value}", + "desktop.memory.statCompressed": "压缩/换出 {value}", + "desktop.memory.statGPU": "GPU {value}", + "desktop.memory.statGPUMemory": "显存 {value}", + "desktop.memory.statSeparator": " · ", + "desktop.memory.status": "{total} · Lithe {lithe}", + "desktop.memory.systemHelpers": "系统辅助进程", + "desktop.memory.title": "内存", + "desktop.memory.tooltip": "内存:共 {total},其中 Lithe 主进程 {lithe}。", + "desktop.memory.unavailable": "无法读取进程内存。", + "desktop.menu.open": "菜单", + "desktop.nativePanel.empty": "没有可显示的内容。", + "desktop.nativePanel.failed": "插件无法执行此操作。", + "desktop.nativePanel.multipleInstances": "此工作区有多个构建系统实例,面板无法选择。", + "desktop.nativePanel.noInstance": "此工作区没有该面板需要的构建系统实例。", + "desktop.nativePanel.sourceFailed": "插件无法加载此面板。", + "desktop.navigation.historyUnavailable": "该位置已不存在。", + "desktop.navigation.label": "[行] [:列]:", + "desktop.navigation.title": "跳转到行:列", + "desktop.nested.collapse": "折叠仓库", + "desktop.nested.expand": "展开仓库", + "desktop.nested.refUnchanged": "父仓库中该子模块的引用没有变化。在此提交后需要在父仓库中更新引用。", + "desktop.nested.rootToggle": "在日志中显示 {name}", + "desktop.nested.roots": "仓库根目录", + "desktop.nested.rootsAll": "全选", + "desktop.newProject.advanced": "高级设置", + "desktop.newProject.archiveInvalid": "下载的压缩包不是有效的项目。", + "desktop.newProject.cancel": "取消", + "desktop.newProject.choose": "选择…", + "desktop.newProject.chooseFailed": "无法打开文件夹选择器,请直接输入位置。", + "desktop.newProject.commandFailed": "生成器的命令执行失败,请查看下方输出。", + "desktop.newProject.commandMissing": "此生成器需要的工具尚未安装:{command}。", + "desktop.newProject.create": "创建", + "desktop.newProject.createdInterrupted": "项目文件夹已创建,但操作被中断。你可以打开该文件夹。", + "desktop.newProject.creating": "正在创建…", + "desktop.newProject.defaultName": "untitled", + "desktop.newProject.description": "具有自由结构的基本项目。", + "desktop.newProject.downloadFailed": "无法下载项目模板,请检查网络和服务器地址。", + "desktop.newProject.empty": "空项目", + "desktop.newProject.exists": "同名文件或文件夹已存在,请选择其他名称或位置。", + "desktop.newProject.failed": "无法创建项目,请检查位置后重试。", + "desktop.newProject.findPlugin": "在插件市场中查找", + "desktop.newProject.generators": "生成器", + "desktop.newProject.git": "创建 Git 仓库", + "desktop.newProject.gitFailed": "项目文件夹已创建,但 Git 初始化失败。你可以打开该文件夹,稍后再初始化 Git。", + "desktop.newProject.invalidLocation": "请选择绝对路径作为项目位置。", + "desktop.newProject.invalidName": "请输入有效的项目名称,不要包含路径分隔符、开头的连字符或首尾空格。", + "desktop.newProject.location": "位置", + "desktop.newProject.name": "名称", + "desktop.newProject.noInstallation": "未找到已安装的版本。", + "desktop.newProject.none": "无", + "desktop.newProject.openCreated": "打开已创建的项目", + "desktop.newProject.output": "输出", + "desktop.newProject.pathPreview": "项目将在以下位置创建:{path}", + "desktop.newProject.pinFailed": "项目已创建,但无法保存你选择的工具。你可以稍后在工具链设置中重新选择。", + "desktop.newProject.problem.invalidFormat": "格式无效。", + "desktop.newProject.problem.required": "此项必填。", + "desktop.newProject.problem.tooLong": "内容过长。", + "desktop.newProject.problem.toolTooOld": "所选版本过旧。", + "desktop.newProject.problem.unsupportedValue": "不支持此值。", + "desktop.newProject.problem.versionTooHigh": "该值的版本高于所选工具所支持的版本。", + "desktop.newProject.requiresPlugin": "此生成器需要 {name}。", + "desktop.newProject.section": "新建项目", + "desktop.newProject.stepProgress": "第 {step} 步,共 {total} 步", + "desktop.newProject.timedOut": "生成器耗时过长,已被停止。", + "desktop.newProject.title": "新建项目", + "desktop.newProject.tooOld": "版本过旧", + "desktop.newProject.toolsFailed": "无法查找已安装的工具,请检查插件后重试。", + "desktop.newProject.usesNetwork": "此生成器会从网络下载文件。", + "desktop.notifications.clear": "清空", + "desktop.notifications.empty": "没有通知", + "desktop.notifications.meta": "{time} · {count} 次", + "desktop.notifications.repeated": "{message}({count})", + "desktop.notifications.title": "通知", + "desktop.notifications.unread": "通知,{count} 条未读", + "desktop.notifications.viewLogs": "查看日志", + "desktop.outline.empty": "此文件没有符号。", + "desktop.outline.failed": "无法获取此文件的结构。", + "desktop.outline.filter": "筛选符号", + "desktop.outline.follow": "选中光标所在的符号", + "desktop.outline.loading": "正在加载结构…", + "desktop.outline.matches": "匹配:{matches}/{total}", + "desktop.outline.noFile": "打开文件后可查看其结构。", + "desktop.outline.noHeadings": "此文件没有标题。", + "desktop.outline.noServerHint": "安装支持此语言的插件后,这里会显示文件里的类、函数和字段。", + "desktop.outline.serverDown": "语言服务器未在运行,无法显示结构。", + "desktop.outline.serverDownHint": "可在状态栏查看语言服务器状态和日志。", + "desktop.outline.sort": "按名称排序", + "desktop.outline.starting": "语言服务器正在启动…", + "desktop.outline.tooLarge": "此文件过大,无法显示结构。", + "desktop.outline.unavailable": "没有语言服务器为此文件提供结构。", + "desktop.outline.unsupported": "此文件的语言服务器不提供结构。", + "desktop.panel.header": "工具窗口标题栏", + "desktop.panel.hide": "隐藏", + "desktop.panel.placeholder": "此工具窗口将在后续版本接入", + "desktop.pluginHost.contentFailed": "无法打开 {uri}:插件没有提供其内容。", + "desktop.pluginHost.messageDismiss": "关闭", + "desktop.pluginHost.messageFrom": "来自 {plugin} 的消息", + "desktop.pluginHost.messageOK": "好", + "desktop.pluginHost.terminalAllow": "运行", + "desktop.pluginHost.terminalConsentDetails": "程序:{program}\n参数:{arguments}\n目录:{directory}", + "desktop.pluginHost.terminalConsentTitle": "{plugin} 想在终端中运行程序", + "desktop.pluginHost.terminalDeny": "取消", + "desktop.pluginSettings.actionCancel": "取消", + "desktop.pluginSettings.actionCanceled": "操作已取消。", + "desktop.pluginSettings.actionCompleted": "操作已完成。设置草稿未保存。", + "desktop.pluginSettings.actionConfirm": "在此项目中执行“{action}”?未保存的设置仍保留为草稿。", + "desktop.pluginSettings.actionContinue": "执行操作", + "desktop.pluginSettings.actionDisabled": "请先启用插件,再执行其操作。", + "desktop.pluginSettings.actionProviderUnavailable": "此项目中没有可执行该操作的插件提供方会话。请启动其语言或构建提供方后重试。", + "desktop.pluginSettings.browse": "浏览…", + "desktop.pluginSettings.conflict": "来源、插件或项目已变化。草稿已保留,请重新加载后再保存。", + "desktop.pluginSettings.contributor": "插件", + "desktop.pluginSettings.discardReload": "放弃草稿并重新加载", + "desktop.pluginSettings.draftLimit": "请先保存或放弃已有插件草稿,再打开其他设置表单。", + "desktop.pluginSettings.empty": "此插件未声明设置项。", + "desktop.pluginSettings.failed": "无法读取或保存设置。草稿已保留,请重新加载来源后重试。", + "desktop.pluginSettings.global": "全局", + "desktop.pluginSettings.globalOnly": "此设置仅可在全局范围修改。", + "desktop.pluginSettings.invalidDocument": "设置来源无效,请修正其中的 JSON 后重新加载,草稿已保留。", + "desktop.pluginSettings.invalidEdit": "部分草稿值不符合插件声明,请更正后重新保存。", + "desktop.pluginSettings.invalidStored": "已存储的值无效,当前显示生效的回退值。", + "desktop.pluginSettings.openProject": "打开项目后可编辑项目设置。", + "desktop.pluginSettings.pageUnavailable": "当前没有已启用的插件向此页提供设置。", + "desktop.pluginSettings.project": "项目", + "desktop.pluginSettings.range": "范围:{minimum}–{maximum} {unit}", + "desktop.pluginSettings.reload": "重新加载", + "desktop.pluginSettings.reset": "重置", + "desktop.pluginSettings.restart": "重启语言服务器", + "desktop.pluginSettings.restartFailed": "无法完成语言服务器重启,请关闭并重新打开项目后再试。", + "desktop.pluginSettings.restartRequired": "已保存的更改需要重启语言服务器后生效。", + "desktop.pluginSettings.save": "保存", + "desktop.pluginSettings.saved": "已保存并从来源重新读取。", + "desktop.pluginSettings.scope": "设置范围", + "desktop.pluginSettings.scopeHelp": "全局设置对所有项目生效;项目设置只对当前项目生效,存了值的项会覆盖全局值。切换范围前,请保存或重新加载草稿。", + "desktop.pluginSettings.sourceChanged": "设置已在其他窗口更改。草稿已保留;请重新加载后再保存。", + "desktop.pluginSettings.title": "插件设置", + "desktop.pluginWeb.dialogTitle": "{plugin}:{title}", + "desktop.pluginWeb.fileFilter": "文件({extensions})", + "desktop.pluginWeb.loading": "正在打开…", + "desktop.pluginWeb.openFileTitle": "为 {plugin} 选择文件", + "desktop.pluginWeb.saveFileTitle": "为 {plugin} 保存文件", + "desktop.pluginWeb.unavailable": "无法显示此窗口:{reason}", + "desktop.plugins.commandInstallCommand": "将要运行的命令", + "desktop.plugins.commandInstallCommandsMissing": "安装已完成,但在 {directory} 中没有找到 {commands}。", + "desktop.plugins.commandInstallError": "无法安装:{reason}", + "desktop.plugins.commandInstallFailed": "安装失败,退出码 {code}。请查看下面的输出。", + "desktop.plugins.commandInstallLocation": "安装位置", + "desktop.plugins.commandInstallManaged": "Lithe 管理的目录", + "desktop.plugins.commandInstallManagedHelp": "只供 Lithe 使用,卸载插件时一并删除。", + "desktop.plugins.commandInstallNetwork": "安装时可能会从网络下载。", + "desktop.plugins.commandInstallNoDirectory": "无法确定 {tool} 的默认安装位置。", + "desktop.plugins.commandInstallOutput": "输出", + "desktop.plugins.commandInstallPrompt": "将用 {tool} 安装 {commands}。", + "desktop.plugins.commandInstallStopped": "安装程序意外结束。请查看下面的输出。", + "desktop.plugins.commandInstallTimedOut": "安装超过 {seconds} 秒仍未完成,已停止。", + "desktop.plugins.commandInstallTitle": "安装 {commands}", + "desktop.plugins.commandInstallToolDefault": "{tool} 的默认位置", + "desktop.plugins.commandInstallToolDefaultHelp": "终端和其他程序也能使用,卸载插件时保留。", + "desktop.plugins.commandInstallToolMissing": "未找到 {tool}。请先安装它,或在 设置 > 构建、执行、部署 > 工具链 中指定它的位置。", + "desktop.plugins.commandInstalled": "已安装到 {directory}。", + "desktop.plugins.commandMissing": "未找到 {commands}", + "desktop.plugins.commandMissingBanner": "未找到 {commands},插件的部分功能无法使用。", + "desktop.plugins.commandMissingHelp": "未找到 {commands}。请在 设置 > 插件 中安装,或把它加入 PATH。", + "desktop.plugins.commandMissingManual": "这个插件没有提供安装方式。请自行安装,并确保它在 PATH 中。", + "desktop.plugins.installedOnThisComputer": "使用本机程序:{arg1}", + "desktop.problems.group.file": "按文件", + "desktop.problems.group.none": "不分组", + "desktop.problems.group.severity": "按严重级别", + "desktop.problems.groupHeading": "分组", + "desktop.problems.noOpenFile": "没有打开的文件。", + "desktop.problems.previewEmpty": "选择一个问题以预览源码。", + "desktop.problems.scope.file": "文件", + "desktop.problems.scope.fileCount": "文件 {count}", + "desktop.problems.scope.project": "项目", + "desktop.problems.scope.projectCount": "项目 {count}", + "desktop.problems.severity.error": "错误", + "desktop.problems.severity.hint": "提示", + "desktop.problems.severity.information": "信息", + "desktop.problems.severity.unknown": "未知严重级别", + "desktop.problems.severity.warning": "警告", + "desktop.problems.showErrors": "错误", + "desktop.problems.showHeading": "显示", + "desktop.problems.showInfo": "信息", + "desktop.problems.showPreview": "显示编辑器预览", + "desktop.problems.showWarnings": "警告", + "desktop.problems.viewOptions": "视图选项", + "desktop.process.forceStop": "强制结束", + "desktop.project.empty": "文件夹为空", + "desktop.project.expandAllIncomplete": "项目文件夹太多,部分文件夹没有展开。", + "desktop.project.loading": "正在读取…", + "desktop.project.readFailed": "读取失败:{reason}", + "desktop.project.rootUnavailable": "项目目录不可用。", + "desktop.project.watchUnavailable": "项目文件可能无法自动更新。", + "desktop.projectOpen.cancel": "取消", + "desktop.projectOpen.newWindowFailed": "无法在新窗口中打开项目:{reason}", + "desktop.pull.button": "拉取", + "desktop.pull.fastForward": "仅快进", + "desktop.pull.loading": "正在读取仓库…", + "desktop.pull.menu": "拉取…", + "desktop.pull.merge": "合并", + "desktop.pull.noBranch": "所选远程没有分支。", + "desktop.pull.noRemote": "此仓库没有远程。", + "desktop.pull.prompt": "将所选远程分支拉取并整合到该仓库当前检出的分支。", + "desktop.pull.readFailed": "无法读取仓库:{reason}", + "desktop.pull.rebase": "变基", + "desktop.pull.remote": "远程", + "desktop.pull.remoteBranch": "远程分支", + "desktop.pull.repository": "仓库", + "desktop.pull.strategy": "策略", + "desktop.pull.title": "拉取", + "desktop.rebase.abort": "中止", + "desktop.rebase.action.drop": "丢弃", + "desktop.rebase.action.edit": "编辑", + "desktop.rebase.action.fixup": "合并到前一个", + "desktop.rebase.action.pick": "保留", + "desktop.rebase.action.reword": "改写消息", + "desktop.rebase.action.squash": "压缩", + "desktop.rebase.amend": "修改消息并继续", + "desktop.rebase.amendTitle": "修改提交消息", + "desktop.rebase.conflicts": "{count} 个冲突文件", + "desktop.rebase.continue": "继续", + "desktop.rebase.controlFailed": "无法继续变基:{reason}", + "desktop.rebase.description": "重放 {hash} 之后的提交。", + "desktop.rebase.empty": "此提交之后没有可变基的提交。", + "desktop.rebase.fromHere": "从此处变基…", + "desktop.rebase.loading": "正在读取要变基的提交…", + "desktop.rebase.messageApply": "应用", + "desktop.rebase.messageTitle": "提交消息", + "desktop.rebase.moveDown": "下移", + "desktop.rebase.moveUp": "上移", + "desktop.rebase.skip": "跳过", + "desktop.rebase.slotBusy": "请先结束正在进行的变基,再开始新的变基。", + "desktop.rebase.start": "开始变基", + "desktop.rebase.status": "变基状态:{status}", + "desktop.rebase.title": "从此处变基", + "desktop.recentFiles.edited": "最近编辑", + "desktop.recentFiles.empty": "没有匹配的最近文件。", + "desktop.recentFiles.failed": "无法读取最近文件记录。", + "desktop.recentFiles.query": "搜索最近文件", + "desktop.recentFiles.title": "最近文件", + "desktop.references.closeSearch": "关闭搜索结果", + "desktop.references.empty": "使用“查找用法”(Shift+F12)后,结果显示在这里。", + "desktop.references.nextUsage": "下一个用法", + "desktop.references.previewEmpty": "选择一个用法以预览。", + "desktop.references.previousUsage": "上一个用法", + "desktop.references.resultCount": "{count} 个结果", + "desktop.references.resultCountOne": "1 个结果", + "desktop.references.showPreview": "显示预览", + "desktop.references.usageCount": "{count} 个用法", + "desktop.references.usageCountOne": "1 个用法", + "desktop.references.usages": "用法", + "desktop.refs.checkedOutAndRebased": "已检出 {branch} 并把它变基到之前的分支", + "desktop.refs.mergeConfirm": "把 {branch} 合并到当前分支。如果 Git 因冲突停下,提交工具窗口会显示这次合并,直到你继续或中止。", + "desktop.refs.merged": "已把 {branch} 合并到当前分支", + "desktop.refs.rebaseConfirm": "把当前分支变基到 {branch} 上。如果 Git 因冲突停下,提交工具窗口会显示这次变基,直到你继续或中止。", + "desktop.refs.rebased": "已把当前分支变基到 {branch}", + "desktop.refs.trackingSet": "{branch} 现在跟踪 {upstream}", + "desktop.refs.trackingStopped": "{branch} 不再跟踪远程分支", + "desktop.run.closeSession": "关闭", + "desktop.run.durationHours": "{hours}小时{minutes}分", + "desktop.run.durationMilliseconds": "{milliseconds}毫秒", + "desktop.run.durationMinutes": "{minutes}分{seconds}秒", + "desktop.run.durationSeconds": "{seconds}秒{milliseconds}毫秒", + "desktop.run.empty": "运行配置和构建任务的输出将显示在这里。", + "desktop.run.ended": "进程已结束。", + "desktop.run.exited": "进程已结束,退出码 {code}。", + "desktop.run.linkMissing": "在工作区中找不到链接指向的文件。", + "desktop.run.linkUnresolved": "插件无法解析此链接。", + "desktop.run.performance.cpu": "CPU {percent}%", + "desktop.run.performance.memory": "内存 {megabytes} MB", + "desktop.run.rerun": "再次运行", + "desktop.run.signalled": "进程被信号 {signal} 终止。", + "desktop.run.snapshot.menu": "快照当前输出", + "desktop.run.snapshot.tab": "{label}(快照)", + "desktop.run.startedAt": ": 在 {time}", + "desktop.run.statusFailed": "失败", + "desktop.run.statusRunning": "正在运行", + "desktop.run.statusStopped": "已停止", + "desktop.run.statusSucceeded": "成功", + "desktop.runConfig.addNew": "添加新…", + "desktop.runConfig.addNewConfiguration": "添加新的运行配置…", + "desktop.runConfig.allowMultipleInstancesHelp": "勾选后,配置运行时再次启动会另开一个实例,与正在运行的并存;不勾选则先停止正在运行的实例,再重新启动。", + "desktop.runConfig.apply": "应用", + "desktop.runConfig.arguments": "程序参数", + "desktop.runConfig.argumentsPlaceholder": "传给程序的参数,例如 --port 8080;多个参数用空格分隔,含空格的参数用引号括起来", + "desktop.runConfig.arrangeFailed": "无法保存文件夹和排序:{reason}", + "desktop.runConfig.automaticValue": "自动({value})", + "desktop.runConfig.beforeLaunch.confirmBody": "启动 {name} 前,项目的运行配置文件要求先运行以下命令。只有信任此项目时才运行。", + "desktop.runConfig.beforeLaunch.confirmRun": "运行步骤", + "desktop.runConfig.beforeLaunch.confirmTitle": "运行项目文件中的启动前步骤?", + "desktop.runConfig.beforeLaunch.exited": "启动前步骤 {name} 以退出码 {code} 结束,未启动配置。", + "desktop.runConfig.beforeLaunch.failed": "启动前步骤 {name} 无法运行:{reason}", + "desktop.runConfig.beforeLaunch.refused.cycle": "启动前步骤在 {step} 处形成循环。", + "desktop.runConfig.beforeLaunch.refused.invalidTaskValues": "{step} 的启动前任务 {task} 设置无效,请在运行配置中重新编辑。", + "desktop.runConfig.beforeLaunch.refused.notAllowed": "{step} 不能作为启动前步骤:只有 Shell、PowerShell、批处理和可执行文件运行配置可以。", + "desktop.runConfig.beforeLaunch.refused.notFound": "启动前步骤引用的配置 {step} 不存在。", + "desktop.runConfig.beforeLaunch.refused.other": "启动前步骤 {step} 无法运行。", + "desktop.runConfig.beforeLaunch.refused.taskNotDeclared": "{step} 的启动前任务 {task} 没有已安装并启用的插件提供。", + "desktop.runConfig.beforeLaunch.refused.tooLong": "启动前步骤在 {step} 处过多:展开嵌套步骤后最多 32 个。", + "desktop.runConfig.beforeLaunch.refused.unavailable": "启动前步骤 {step} 在此系统上不可用。", + "desktop.runConfig.beforeLaunch.stepHeader": "启动前步骤 ({index}/{count}): {name}", + "desktop.runConfig.beforeLaunchAdd": "添加任务", + "desktop.runConfig.beforeLaunchChooseTitle": "选择要执行的配置", + "desktop.runConfig.beforeLaunchDown": "下移", + "desktop.runConfig.beforeLaunchEdit": "编辑任务", + "desktop.runConfig.beforeLaunchEmpty": "启动前没有要运行的任务", + "desktop.runConfig.beforeLaunchHelp": "启动此配置前按顺序运行的任务:另一个运行配置,或插件提供的任务。每一个都以退出码 0 结束后,才会启动此配置。", + "desktop.runConfig.beforeLaunchMenuTitle": "添加新任务", + "desktop.runConfig.beforeLaunchMissing": "找不到配置 {id}", + "desktop.runConfig.beforeLaunchNoCandidates": "还没有可选的脚本或程序运行配置", + "desktop.runConfig.beforeLaunchRemove": "移除步骤", + "desktop.runConfig.beforeLaunchRunAnother": "运行另一个配置", + "desktop.runConfig.beforeLaunchRunStep": "运行“{name}”", + "desktop.runConfig.beforeLaunchTaskMissing": "{name}(提供它的插件未安装或已停用)", + "desktop.runConfig.beforeLaunchUp": "上移", + "desktop.runConfig.browse": "选择…", + "desktop.runConfig.builtInGroup": "脚本与程序", + "desktop.runConfig.chooseFailed": "无法打开文件选择器。", + "desktop.runConfig.conflict": "保存期间文件已在磁盘上被修改,请关闭编辑器重新打开后再试。", + "desktop.runConfig.copyConfiguration": "复制配置", + "desktop.runConfig.copyFailed": "无法复制运行配置:{reason}", + "desktop.runConfig.copyName": "{name}(副本)", + "desktop.runConfig.copyPendingHint": "按“应用”或“确定”后生成这个副本,之后就可以编辑它的选项。", + "desktop.runConfig.delete": "删除", + "desktop.runConfig.deleteBody": "确定删除“{name}”吗?它会从保存它的运行配置文件中移除。", + "desktop.runConfig.deleteFailed": "无法删除运行配置:{reason}", + "desktop.runConfig.deleteTitle": "删除运行配置", + "desktop.runConfig.dialogTitle": "运行/调试配置", + "desktop.runConfig.documentIgnored": "未读取 {file} 中的运行配置", + "desktop.runConfig.emptyHint": "还没有运行配置,点 + 新建脚本或程序运行", + "desktop.runConfig.emptyTree": "未添加运行配置。", + "desktop.runConfig.entrypoint": "入口", + "desktop.runConfig.entrypointPlaceholder": "提供方默认值", + "desktop.runConfig.environment": "环境变量", + "desktop.runConfig.environmentInvalid": "第 {line} 行不是 KEY=VALUE 格式。", + "desktop.runConfig.environmentPlaceholder": "每行一个 KEY=VALUE", + "desktop.runConfig.errorConflict": "脚本文件和脚本文本只能选一个", + "desktop.runConfig.errorDuplicate": "变量名重复", + "desktop.runConfig.errorInvalidCharacter": "包含不允许的字符", + "desktop.runConfig.errorInvalidName": "变量名无效", + "desktop.runConfig.errorInvalidPath": "路径无效", + "desktop.runConfig.errorInvalidTaskValues": "任务设置无效,请重新编辑", + "desktop.runConfig.errorInvalidValue": "值无效", + "desktop.runConfig.errorNotAllowed": "这种运行配置不能使用此项", + "desktop.runConfig.errorNotFound": "找不到该文件或文件夹", + "desktop.runConfig.errorOther": "值无效({code})", + "desktop.runConfig.errorOutsideProject": "工作目录必须在项目内", + "desktop.runConfig.errorRequired": "必填", + "desktop.runConfig.errorTaskNotDeclared": "没有已启用的插件提供这个任务", + "desktop.runConfig.errorTooLong": "内容太长", + "desktop.runConfig.errorUnavailable": "在此系统上不可用", + "desktop.runConfig.fieldAllowMultipleInstances": "允许多个实例", + "desktop.runConfig.fieldBeforeLaunch": "执行前", + "desktop.runConfig.fieldExecutionPolicyBypass": "绕过执行策略(-ExecutionPolicy Bypass)", + "desktop.runConfig.fieldInterpreter": "解释器路径", + "desktop.runConfig.fieldInterpreterArguments": "解释器选项", + "desktop.runConfig.fieldName": "名称", + "desktop.runConfig.fieldProgram": "程序路径", + "desktop.runConfig.fieldScript": "脚本路径", + "desktop.runConfig.fieldScriptOptions": "脚本选项", + "desktop.runConfig.fieldSource": "执行", + "desktop.runConfig.fieldStoreAsProjectFile": "存为项目文件", + "desktop.runConfig.fieldText": "脚本文本", + "desktop.runConfig.folderHint": "文件夹只用来整理列表,随其中的配置一起保存;空文件夹不会保存。", + "desktop.runConfig.folderNameEmpty": "请输入文件夹名称。", + "desktop.runConfig.folderNameInvalid": "文件夹名称不能超过 256 字节,也不能包含控制字符。", + "desktop.runConfig.folderNameTaken": "这一类配置中已经有同名文件夹。", + "desktop.runConfig.formTooNew": "这个运行配置需要更新版本的 Lithe 才能编辑。", + "desktop.runConfig.interpreterArgumentsHelp": "写在脚本路径前面、交给解释器本身的选项,例如 bash 的 -x(逐行打印执行的命令);脚本读不到这些值。留空时使用括号里显示的自动选项。", + "desktop.runConfig.interpreterArgumentsPlaceholder": "传给解释器的选项,例如 -x", + "desktop.runConfig.interpreterAutomatic": "自动", + "desktop.runConfig.interpreterCustom": "自定义…", + "desktop.runConfig.interpreterCustomField": "自定义解释器", + "desktop.runConfig.interpreterHelp": "选“自动”时使用括号里的解释器;也可以选终端检测到的同类 shell,或选“自定义…”填写命令名(按 PATH 查找)或可执行文件路径。", + "desktop.runConfig.interpreterShell": "{name}({path})", + "desktop.runConfig.loadFailed": "无法读取运行配置:{reason}", + "desktop.runConfig.newConfiguration": "新建运行配置", + "desktop.runConfig.newConfigurationEllipsis": "新建运行配置…", + "desktop.runConfig.newFolder": "新建文件夹", + "desktop.runConfig.newFolderName": "新建文件夹", + "desktop.runConfig.notEditable": "插件可用后才能编辑这个运行配置。", + "desktop.runConfig.noteWindowsOnly": "只在 Windows 上生效,其他系统会忽略。", + "desktop.runConfig.ok": "确定", + "desktop.runConfig.optionDefault": "默认", + "desktop.runConfig.optionReadOnly": "此处无法编辑", + "desktop.runConfig.orSelectToEdit": "或选择要编辑的运行配置", + "desktop.runConfig.programArgumentsHelp": "启动程序时附在程序路径后面的命令行参数。多个参数用空格分隔,含空格的参数用引号括起来。", + "desktop.runConfig.programArgumentsPlaceholder": "传给程序的参数,例如 --port 8080", + "desktop.runConfig.programNotFound": "在 PATH 中找不到“{program}”,请填写解释器或程序的完整路径。", + "desktop.runConfig.removeConfiguration": "删除配置", + "desktop.runConfig.run": "运行", + "desktop.runConfig.runtimeArguments": "运行时参数", + "desktop.runConfig.runtimeArgumentsPlaceholder": "每行一个参数", + "desktop.runConfig.saveFailed": "保存失败:{reason}", + "desktop.runConfig.scope": "保存到", + "desktop.runConfig.scopeLocal": "仅本机(.lithe/run/local.yaml)", + "desktop.runConfig.scopeProject": "项目共享(.lithe/run/configurations.yaml)", + "desktop.runConfig.scriptOptionsHelpBatch": "写在脚本路径后面、传给脚本的参数,脚本里用 %1、%2… 读取。多个参数用空格分隔,含空格的参数用引号括起来。", + "desktop.runConfig.scriptOptionsHelpPowerShell": "写在脚本路径后面、传给脚本的参数,脚本里用 $args 或 param() 读取。多个参数用空格分隔,含空格的参数用引号括起来。", + "desktop.runConfig.scriptOptionsHelpShell": "写在脚本路径后面、传给脚本的参数,脚本里用 $1、$2… 读取。多个参数用空格分隔,含空格的参数用引号括起来。", + "desktop.runConfig.scriptOptionsPlaceholder": "传给脚本的参数,例如 --verbose input.txt", + "desktop.runConfig.sortAlphabetically": "按字母顺序排序", + "desktop.runConfig.sourceFile": "脚本文件", + "desktop.runConfig.sourceText": "脚本文本", + "desktop.runConfig.storeAsProjectFileHelp": "勾选后保存到 .lithe/run/configurations.yaml,可随项目提交共享;不勾选则只保存在本机的 .lithe/run/local.yaml。", + "desktop.runConfig.taskAddTitle": "添加任务:{name}", + "desktop.runConfig.taskCheckFailed": "无法检查任务:{reason}", + "desktop.runConfig.taskEditTitle": "编辑任务:{name}", + "desktop.runConfig.toolPath": "{arg1} {arg2}", + "desktop.runConfig.toolPathPlaceholder": "留空则自动选择", + "desktop.runConfig.toolPick": "工具安装", + "desktop.runConfig.toolPickNone": "选择安装…", + "desktop.runConfig.typeBatch": "批处理脚本(cmd)", + "desktop.runConfig.typeExecutable": "程序", + "desktop.runConfig.typeNotRunnableHere": "本机不能运行", + "desktop.runConfig.typePowerShell": "PowerShell 脚本", + "desktop.runConfig.typeShell": "Shell 脚本", + "desktop.runConfig.unavailableBatchPlatform": "批处理脚本只能在 Windows 上运行;在这台电脑上可以编辑和保存,但不能运行。", + "desktop.runConfig.unavailableInvalid": "运行配置无效:{reason}", + "desktop.runConfig.unavailableMissingDirectory": "工作目录“{directory}”不存在了,请编辑配置修改它。", + "desktop.runConfig.unavailableOther": "此运行配置现在无法运行:{reason}", + "desktop.runConfig.unavailablePlatform": "{type}不能在当前系统上运行;可以编辑和保存,但不能运行。", + "desktop.runConfig.unavailablePluginMissing": "需要插件“{plugin}”,但它没有安装或没有启用。", + "desktop.runConfig.unavailableRepositoryMismatch": "已安装的“{plugin}”不是配置记录的仓库 {repository} 发布的插件。", + "desktop.runConfig.unavailableVersionUnsupported": "已安装的“{plugin}”版本不满足要求 {requirement}。", + "desktop.runConfig.unnamed": "未命名", + "desktop.runConfig.variableAdd": "添加变量", + "desktop.runConfig.variableName": "变量名", + "desktop.runConfig.variableRemove": "删除变量", + "desktop.runConfig.variableValue": "值", + "desktop.runConfig.windowsOnlyType": "仅 Windows", + "desktop.runConfig.workingDirectory": "工作目录", + "desktop.runConfig.workingDirectoryPlaceholder": "工作区内的路径;留空使用默认目录", + "desktop.search.collapseFile": "收起详情", + "desktop.search.expandFile": "展开详情", + "desktop.search.fileMaskPlaceholder": "文件掩码,例如 *.java、*.kt", + "desktop.search.first200": "显示前 200 条结果。请缩小搜索范围以查看更多。", + "desktop.search.noReplacements": "没有可替换的内容。", + "desktop.search.replace": "替换", + "desktop.search.replaceAll": "全部替换…", + "desktop.search.replaceConflict": "替换期间有文件在磁盘上被修改", + "desktop.search.replaceDone": "已在 {files} 个文件中替换", + "desktop.search.replaceFailed": "无法准备替换:{reason}", + "desktop.search.replaceFile": "替换文件", + "desktop.search.replacePartlyFailed": "已在 {changed} 个文件中替换;{failed} 个失败:{reason}", + "desktop.search.replacePlaceholder": "替换为", + "desktop.search.replacePreviewTitle": "在文件中替换", + "desktop.search.replacePreviewing": "正在查找可替换的内容…", + "desktop.search.replaceSkipped": "已在 {changed} 个文件中替换;{skipped} 个文件已变化或不是 UTF-8,未修改", + "desktop.search.replaceSummary": "{files} 个文件中的 {occurrences} 处", + "desktop.search.replaceToggle": "切换替换", + "desktop.search.watchUnavailable": "无法监听项目变化。请刷新搜索结果以检查更新。", + "desktop.semantics.completion": "补全建议", + "desktop.semantics.completionFailed": "无法应用补全。", + "desktop.semantics.definitions": "定义", + "desktop.semantics.formatFailed": "无法格式化文档。", + "desktop.semantics.formatNothing": "没有需要格式化的内容。", + "desktop.semantics.hover": "悬浮信息", + "desktop.semantics.noDefinition": "未找到定义。", + "desktop.semantics.noReferences": "未找到引用。", + "desktop.semantics.noServer": "此文件没有可用的语言服务器。", + "desktop.semantics.operationFailed": "语言服务器无法完成该请求。", + "desktop.semantics.references": "引用", + "desktop.semantics.renameApplied": "已在 {count} 个文件中重命名。", + "desktop.semantics.renameButton": "重命名", + "desktop.semantics.renameCancel": "取消", + "desktop.semantics.renameDescription": "重命名此符号的所有引用。", + "desktop.semantics.renameFailed": "无法完成重命名,已写入的文件已恢复。", + "desktop.semantics.renameName": "新名称", + "desktop.semantics.renameNothing": "语言服务器没有返回任何更改。", + "desktop.semantics.renamePartial": "部分已打开的文档在重命名期间发生了变化,未更新。", + "desktop.semantics.renameRejected": "重命名涉及项目之外的文件或只读文档,未做任何更改。", + "desktop.semantics.renameTitle": "重命名符号", + "desktop.semantics.targetUnavailable": "目标不是本地文件,暂时无法打开。", + "desktop.settings.about": "关于", + "desktop.settings.about.build": "构建", + "desktop.settings.about.buildUnknown": "未记录", + "desktop.settings.about.community": "加入交流", + "desktop.settings.about.copied": "已复制", + "desktop.settings.about.copy": "复制", + "desktop.settings.about.copyFailed": "复制失败:{reason}", + "desktop.settings.about.copyHelp": "复制版本、平台、构建和运行时,可直接粘贴到问题反馈里。", + "desktop.settings.about.core": "Rust 内核", + "desktop.settings.about.coreHelp": "桌面客户端共用的 Rust 内核:项目、构建运行和插件。", + "desktop.settings.about.info": "版本信息", + "desktop.settings.about.issues": "问题反馈", + "desktop.settings.about.issuesHelp": "在 GitHub 上报告问题或提功能建议。", + "desktop.settings.about.platform": "运行平台", + "desktop.settings.about.project": "项目", + "desktop.settings.about.qq": "QQ 群", + "desktop.settings.about.qqHelp": "群号 {number},提问、反馈和交流都可以。", + "desktop.settings.about.repo": "开源仓库", + "desktop.settings.about.repoHelp": "源码、发布版本和讨论都在 GitHub。", + "desktop.settings.about.runtime": "运行时", + "desktop.settings.about.tagline": "轻量、通用、跨平台的插件化 IDE,按需灵活配置", + "desktop.settings.about.version": "版本", + "desktop.settings.about.viva": "Viva", + "desktop.settings.about.vivaHelp": "Lithe 界面所用的 Go 优先、GPU 原生桌面框架的上游仓库。", + "desktop.settings.about.wechat": "微信群", + "desktop.settings.about.wechatHelp": "在飞书文档里扫码加入。", + "desktop.settings.aiGeneration.help": "提交信息生成和行内编辑使用的服务商与选项。这些是 Lithe 自己的偏好,只影响本应用,不改写 Codex 或 Claude 的配置。", + "desktop.settings.aiGeneration.includeBody": "生成提交正文", + "desktop.settings.aiGeneration.language": "输出语言", + "desktop.settings.aiGeneration.languageChinese": "简体中文", + "desktop.settings.aiGeneration.languageEnglish": "英文", + "desktop.settings.aiGeneration.languageInterface": "跟随界面语言", + "desktop.settings.aiGeneration.loading": "正在加载…", + "desktop.settings.aiGeneration.page": "生成", + "desktop.settings.aiGeneration.provider": "服务商", + "desktop.settings.aiGeneration.providerAuto": "自动(先 Codex,后 Claude)", + "desktop.settings.aiGeneration.providerClaude": "只用 Claude Code", + "desktop.settings.aiGeneration.providerCodex": "只用 Codex", + "desktop.settings.aiGeneration.sourceReady": "{source}:{name},模型 {model},配置 {path}", + "desktop.settings.aiGeneration.sourceUnavailable": "{source}:没有带密钥的可用服务商", + "desktop.settings.aiGeneration.title": "生成选项", + "desktop.settings.appearanceHelp": "外观模式会同时应用到 Lithe 的所有窗口", + "desktop.settings.categories": "设置页面", + "desktop.settings.editor.tabLimit": "标签数量上限", + "desktop.settings.editor.tabLimitCount": "最多打开的文件标签", + "desktop.settings.editor.tabLimitHelp": "超过上限后再打开文件,会自动关闭另一个文件标签。有未保存修改的标签、终端和 Agent 对话不会被关闭。", + "desktop.settings.editor.tabLimitNone": "不限制", + "desktop.settings.editor.tabPolicy": "达到上限时关闭", + "desktop.settings.editor.tabPolicyOldest": "最早打开的标签", + "desktop.settings.editor.tabPolicyRecent": "最久未使用的标签", + "desktop.settings.editorSemantic": "语义高亮", + "desktop.settings.editorSemanticHelp": "语言服务器为类、方法和变量着色。关闭后只保留编辑器的语法高亮。", + "desktop.settings.editorTabs": "编辑器标签页", + "desktop.settings.editorTabsHelp": "一个编辑器分组的标签页在一行放不下时如何排列", + "desktop.settings.followSystemEffective": "跟随系统({effective})", + "desktop.settings.fonts": "字体", + "desktop.settings.fontsEditHelp": "在上方列表勾选要调整的位置,可以多选。这里的修改点“保存”后才生效,勾选的位置随后使用同一套设置;“还原”放弃未保存的修改。运行输出包括运行、构建、测试的输出和 Git 控制台。", + "desktop.settings.fontsLigaturesHelp": "把 ->、!= 等字符组合画成一个字形。需要所选字体本身支持连字;运行输出暂不显示连字。", + "desktop.settings.fontsLineSpacing": "行间距", + "desktop.settings.fontsLineSpacingAuto": "自动({value})", + "desktop.settings.fontsLineSpacingDecrease": "减小行间距", + "desktop.settings.fontsLineSpacingIncrease": "增大行间距", + "desktop.settings.fontsLineSpacingScope": "{scope} {value}", + "desktop.settings.fontsLoading": "正在读取已安装字体…", + "desktop.settings.fontsNoneChecked": "未勾选位置", + "desktop.settings.fontsNotInstalled": "{family}(未安装)", + "desktop.settings.fontsOverview": "各位置效果", + "desktop.settings.fontsOverviewHelp": "编辑器、终端和运行输出当前使用的字体。勾选要调整的位置,在下方修改后保存。", + "desktop.settings.fontsPreview": "预览", + "desktop.settings.fontsScopeEditor": "编辑器", + "desktop.settings.fontsScopeOutput": "运行输出", + "desktop.settings.fontsScopeSeparator": "、", + "desktop.settings.fontsScopeTerminal": "终端", + "desktop.settings.fontsSearch": "搜索字体", + "desktop.settings.fontsSizeDecrease": "减小字体大小", + "desktop.settings.fontsSizeIncrease": "增大字体大小", + "desktop.settings.fontsSizeValue": "{size} pt", + "desktop.settings.fontsSummary": "{family} · {size} pt · 行距 {spacing}", + "desktop.settings.fontsSystemDefault": "系统默认", + "desktop.settings.languageHelp": "菜单、按钮和提示使用的语言", + "desktop.settings.layoutHint": "拖动侧栏、标题栏和状态栏里的按钮可以调整位置", + "desktop.settings.localHistory.builtInsHelp": "项目树中隐藏的目录也列在这里:Lithe 自己的目录(例如 `**/.git/`),以及已启用插件声明的目录(例如构建输出目录)。隐藏目录里的文件始终不记入本地历史,删掉对应的行也一样。删掉的行在应用后显示为以“!”开头的行;删除这一行即可恢复该规则。", + "desktop.settings.localHistory.help": "本地历史在你保存和编辑项目文件时保留各个版本,存放在 Lithe 自己的数据目录中。忽略规则只让文件不进入本地历史,项目树仍然显示它们。", + "desktop.settings.localHistory.invalidLimit": "上限请填写不小于 1 的整数(单位 MB),留空则使用默认值。", + "desktop.settings.localHistory.regexHelp": "每行一条,不区分大小写,在以 `/` 分隔的项目内相对路径中任意位置匹配,例如 `^build/` 或 `(test|spec)/`。", + "desktop.settings.localHistory.wildcardHelp": "每行一条规则,按项目内的路径匹配,例如 `*.log` 或 `**/generated/`。", + "desktop.settings.network.apply": "应用", + "desktop.settings.network.clearPassword": "移除密码", + "desktop.settings.network.custom": "手动配置代理", + "desktop.settings.network.direct": "不使用代理", + "desktop.settings.network.exclusions": "不使用代理的地址", + "desktop.settings.network.exclusionsHelp": "用逗号分隔:主机名、域名后缀(*.example.com)、IP 地址、CIDR 网段,或用 表示不含点的主机名。", + "desktop.settings.network.host": "主机", + "desktop.settings.network.ignoredExclusions": "以下排除项不是支持的格式,已忽略:{entries}", + "desktop.settings.network.invalidPort": "端口必须是 1 到 65535 之间的数字。", + "desktop.settings.network.mode": "连接方式", + "desktop.settings.network.password": "密码", + "desktop.settings.network.passwordStored": "已保存,留空保持不变", + "desktop.settings.network.port": "端口", + "desktop.settings.network.proxy": "代理", + "desktop.settings.network.proxyHelp": "Lithe 自身的请求(插件市场、下载、AI 供应商、注册表)如何访问网络。终端和运行进程保持各自的环境。", + "desktop.settings.network.revert": "还原", + "desktop.settings.network.system": "使用系统代理设置", + "desktop.settings.network.type": "协议", + "desktop.settings.network.username": "用户名", + "desktop.settings.noMatches": "没有匹配的设置", + "desktop.settings.ok": "好", + "desktop.settings.pageLater": "新桌面端暂未提供此页面", + "desktop.settings.processTermination.askBeforeEnding": "结束前询问", + "desktop.settings.processTermination.askBeforeStopping": "停止前询问", + "desktop.settings.processTermination.confirmTabClose": "关闭有程序在运行的标签页或项目前询问", + "desktop.settings.processTermination.endWithoutAsking": "直接结束", + "desktop.settings.processTermination.leftoverTerminals": "遗留的终端", + "desktop.settings.processTermination.onQuit": "退出 Lithe 时", + "desktop.settings.processTermination.runServices": "运行服务", + "desktop.settings.processTermination.runServicesHelp": "在 Lithe 中启动的运行配置和构建任务。关闭所属项目或退出 Lithe 时,它们总会连同自己启动的进程一起停止;这里只决定是否先列出并询问。", + "desktop.settings.processTermination.seconds": "秒", + "desktop.settings.processTermination.startupSweepHelp": "Lithe 崩溃或被强制退出后,下次启动会找出它此前启动、仍在运行的程序。运行、构建、调试适配器和工具进程会直接结束;这里决定遗留的终端是先列出并询问,还是同样直接结束。", + "desktop.settings.processTermination.stopTimeLonger": "延长等待时间", + "desktop.settings.processTermination.stopTimeShorter": "缩短等待时间", + "desktop.settings.processTermination.stopWithoutAsking": "直接停止", + "desktop.settings.processTermination.terminals": "有程序在运行的终端", + "desktop.settings.processTermination.terminalsHelp": "终端里除了 Shell 本身还有程序在运行(例如开发服务器、npm run dev)时,这个终端就是“运行中”。空闲终端总是直接关闭,不会询问。结束终端会结束其中启动的程序;关闭项目时,它的终端按关闭标签页处理。", + "desktop.settings.projectColors": "用颜色区分项目", + "desktop.settings.projectColorsHelp": "用项目颜色为标题栏和面板之间的区域着色,与项目头像颜色一致。", + "desktop.settings.projectOpen": "打开项目的位置", + "desktop.settings.projectOpenAsk": "每次询问", + "desktop.settings.resetLayout": "恢复默认布局", + "desktop.settings.semanticHighlight": "使用语义颜色", + "desktop.settings.stepping.adapter": "调试器", + "desktop.settings.stepping.apply": "应用", + "desktop.settings.stepping.classFilters": "不进入的类", + "desktop.settings.stepping.classFiltersHelp": "每行一个模式,使用调试器自己的写法,例如 java.*。调用栈中匹配的帧会淡化显示。", + "desktop.settings.stepping.customized": "已自定义", + "desktop.settings.stepping.description": "单步执行时跳过的类与方法。修改在下一次调试会话生效。", + "desktop.settings.stepping.hideFilteredFrames": "在调用栈中折叠被过滤的帧", + "desktop.settings.stepping.loadFailed": "无法读取已安装的调试器:{reason}", + "desktop.settings.stepping.loading": "正在读取已安装的调试器…", + "desktop.settings.stepping.none": "已安装的调试器都不支持单步过滤。", + "desktop.settings.stepping.restoreDefaults": "恢复插件默认值", + "desktop.settings.stepping.saveFailed": "无法应用单步过滤:{reason}", + "desktop.settings.stepping.saving": "正在应用…", + "desktop.settings.stepping.skipConstructors": "跳过构造方法", + "desktop.settings.stepping.skipStaticInitializers": "跳过静态初始化块", + "desktop.settings.stepping.skipSynthetics": "跳过合成方法", + "desktop.settings.stepping.title": "调试器单步", + "desktop.settings.stepping.usingDefaults": "使用插件默认值", + "desktop.settings.system": "跟随系统", + "desktop.settings.tabsMultipleRows": "多行", + "desktop.settings.tabsOneRow": "一行,如果标签页不适合:", + "desktop.settings.tabsScroll": "滚动标签页面板", + "desktop.settings.tabsShowIn": "在以下位置显示标签页:", + "desktop.settings.tabsSqueeze": "挤压标签页", + "desktop.settings.terminal.behavior": "行为", + "desktop.settings.terminal.clickMove": "单击移动光标", + "desktop.settings.terminal.clickMoveHelp": "在正在输入的命令上单击,光标移到单击的位置。需要开启 Shell 集成。已打开的终端立即生效。", + "desktop.settings.terminal.cursor": "光标", + "desktop.settings.terminal.cursorHelp": "程序没有指定光标形状时终端使用的形状,以及竖线和下划线光标的粗细。已打开的终端立即生效。", + "desktop.settings.terminal.cursorNormal": "标准", + "desktop.settings.terminal.cursorShape": "形状", + "desktop.settings.terminal.cursorShapeBar": "竖线", + "desktop.settings.terminal.cursorShapeBlock": "方块", + "desktop.settings.terminal.cursorShapeUnderline": "下划线", + "desktop.settings.terminal.cursorThick": "粗", + "desktop.settings.terminal.cursorThickness": "粗细", + "desktop.settings.terminal.cursorThin": "细", + "desktop.settings.terminal.optionAsMeta": "Option 键当作 Meta 键", + "desktop.settings.terminal.optionAsMetaHelp": "Option 加字母发送 Esc 加该字母,例如 Option+B、Option+F 在 Shell 和 Emacs 中按单词移动。开启后 Option 不再输入特殊字符和重音符号。已打开的终端立即生效。", + "desktop.settings.terminal.scrollback": "回滚行数", + "desktop.settings.terminal.scrollbackDefault": "恢复默认", + "desktop.settings.terminal.scrollbackHelp": "新建终端在屏幕上方保留的历史行数(100–50000)。已打开的终端保持原有上限。", + "desktop.settings.terminal.scrollbackLess": "减少行数", + "desktop.settings.terminal.scrollbackLines": "保留行数", + "desktop.settings.terminal.scrollbackMore": "增加行数", + "desktop.settings.terminal.shellIntegration": "Shell 集成", + "desktop.settings.terminal.shellIntegrationHelp": "让 Shell 向 Lithe 报告提示符、命令和当前文件夹,单击移动光标、调整终端大小时保持提示符完整都依赖它。关闭后 Shell 按原样启动,这些功能随之停用。之后新开或重启的终端生效。", + "desktop.settings.terminalShellHelp": "新建终端时运行的 Shell,也包括终端工具窗口自动打开的那个。+ 旁边的 ⌄ 菜单可以用其他已安装的 Shell 新建终端。", + "desktop.settings.terminalShellMissing": "{path}(未找到)", + "desktop.settings.unknownKept": "设置文件中有 {count} 项此版本无法识别的设置({keys})。此版本不会使用它们,但会原样保留,换回能识别它们的版本时仍然有效。", + "desktop.settings.updates.applying": "正在用增量更新生成 Lithe {version}…", + "desktop.settings.updates.auto": "自动检查更新", + "desktop.settings.updates.autoHelp": "启动 5 秒后检查一次,之后每小时一次;窗口在后台时暂停,回到前台再补查。检查时更新服务器会看到你的 IP 地址。", + "desktop.settings.updates.available": "Lithe {version} 可更新。", + "desktop.settings.updates.availableDelta": "Lithe {version} 可更新,增量更新 {size}(完整安装包 {full})。", + "desktop.settings.updates.channel": "更新渠道", + "desktop.settings.updates.channelBusy": "下载或安装更新期间不能切换渠道或修改发布源。", + "desktop.settings.updates.channelFollowsBuild": "自动({channel})", + "desktop.settings.updates.channelHelp": "正式版只收到发布过的稳定版本;AutoBuild 由 main 上的每次合入自动构建,更新更快但可能不稳定。两个渠道共用设置。", + "desktop.settings.updates.check": "立即检查", + "desktop.settings.updates.checking": "正在检查更新…", + "desktop.settings.updates.cross": "{channel}的 Lithe {version} 可安装,会完整替换当前构建。", + "desktop.settings.updates.downloading": "正在下载 Lithe {version}… {percent}%", + "desktop.settings.updates.downloadingDelta": "正在下载 Lithe {version} 的增量更新… {percent}%", + "desktop.settings.updates.downloadingFull": "增量更新无法使用,改为下载完整的 Lithe {version}… {percent}%", + "desktop.settings.updates.failed": "更新失败:{reason}", + "desktop.settings.updates.help": "Lithe 从带签名的发布源检查新版本,经你确认后安装;发布源提供增量更新时只下载改动的部分。新版本启动前,当前版本保持不变。", + "desktop.settings.updates.installing": "正在安装并重启…", + "desktop.settings.updates.lastChecked": "上次检查:{time}", + "desktop.settings.updates.local": "这是本地开发构建,不属于任何更新渠道,也不会检查更新。", + "desktop.settings.updates.notConfigured": "此构建未配置更新源,请从发布页面安装新版本。", + "desktop.settings.updates.notes": "发布说明", + "desktop.settings.updates.ready": "Lithe {version} 已下载,点“更新”即可安装并重启。", + "desktop.settings.updates.restore": "恢复上次使用{channel}时的设置", + "desktop.settings.updates.restoreHelp": "新版本首次启动时换回当时保存的设置快照,更新相关的设置保持现在的值。不勾选则继续使用当前设置。", + "desktop.settings.updates.row": "检查更新", + "desktop.settings.updates.skipped": "已跳过 Lithe {version},有更新的版本时会再提示。", + "desktop.settings.updates.source": "{channel}发布源", + "desktop.settings.updates.sourceCustom": "自定义发布源,版本签名仍须通过当前构建的验证。", + "desktop.settings.updates.sourceDefault": "默认({repo})", + "desktop.settings.updates.sourceHelp": "发布源是一份带签名的 JSON 文件,Lithe 只安装签名能被当前构建验证的版本。", + "desktop.settings.updates.sourceInvalid": "发布源必须是 https:// 地址。", + "desktop.settings.updates.sourceReset": "恢复默认", + "desktop.settings.updates.sourceSave": "保存", + "desktop.settings.updates.title": "更新", + "desktop.settings.updates.toAutoBuild.body": "AutoBuild 由 main 上的每次合入自动构建,没有经过发布测试,可能有缺陷。切换后 Lithe 会立即检查 AutoBuild 的最新构建,先显示更新内容,由你决定是否下载;它会完整替换当前构建。", + "desktop.settings.updates.toAutoBuild.confirm": "切换到 AutoBuild", + "desktop.settings.updates.toAutoBuild.title": "切换到 AutoBuild?", + "desktop.settings.updates.toStable.body": "可以等正式版发布 {version} 之后的版本再切换,不会装回更旧的版本;也可以立即安装正式版现在的最新版本,它可能比当前构建旧。", + "desktop.settings.updates.toStable.now": "立即切换", + "desktop.settings.updates.toStable.title": "切回正式版?", + "desktop.settings.updates.toStable.wait": "等下一个正式版", + "desktop.settings.updates.upToDate": "Lithe {version} 已是最新版本。", + "desktop.settings.updates.update": "更新", + "desktop.settings.updates.waiting": "正式版发布 {version} 之后的版本时切回正式版。", + "desktop.sourceSettings.add": "添加覆盖", + "desktop.sourceSettings.allEntriesShown": "所有可用条目已列出。", + "desktop.sourceSettings.cancel": "取消", + "desktop.sourceSettings.chooseNone": "可添加的项都已在列表中。", + "desktop.sourceSettings.chooseTitle": "添加{title}", + "desktop.sourceSettings.close": "返回", + "desktop.sourceSettings.compilerTitle": "{compiler} 编译器", + "desktop.sourceSettings.effective": "当前生效:{value}", + "desktop.sourceSettings.entryAdd": "添加", + "desktop.sourceSettings.entryDown": "下移", + "desktop.sourceSettings.entryEmpty": "没有条目", + "desktop.sourceSettings.entryKind": "{title}…", + "desktop.sourceSettings.entryRemove": "移除", + "desktop.sourceSettings.entryUp": "上移", + "desktop.sourceSettings.fileCount": "{count} 项", + "desktop.sourceSettings.inherit": "继承({value})", + "desktop.sourceSettings.modules": "模块", + "desktop.sourceSettings.noValue": "未确定", + "desktop.sourceSettings.remove": "继承项目设置", + "desktop.startupSweep.body": "上次运行 Lithe 启动的 {arg1} 个进程仍在运行。结束它们会停止这些进程。", + "desktop.startupSweep.end": "结束这些进程", + "desktop.startupSweep.item": "{arg1} PID {arg2} {arg3}", + "desktop.startupSweep.keep": "保留运行", + "desktop.startupSweep.kind.build": "构建", + "desktop.startupSweep.kind.debug": "调试", + "desktop.startupSweep.kind.process": "进程", + "desktop.startupSweep.kind.run": "运行", + "desktop.startupSweep.kind.terminal": "终端", + "desktop.startupSweep.title": "残留进程", + "desktop.status.caret": "光标位置", + "desktop.status.encoding": "文本编码", + "desktop.status.fPS": "帧率", + "desktop.status.fpsTooltip": "帧率:最近一秒界面线程来得及显示的帧数。空闲时等于屏幕刷新率;界面线程卡住时会下降,后台任务没跑完不会拉低它。", + "desktop.status.healthy": "运行正常", + "desktop.status.indent": "缩进", + "desktop.status.indentSpaces": "{count} 个空格", + "desktop.status.indentTab": "Tab 宽度:{width}", + "desktop.status.lSPNotStarted": "LSP 未启动", + "desktop.status.lineEnding": "换行符", + "desktop.status.lineEndingCRLF": "CRLF", + "desktop.status.lineEndingLF": "LF", + "desktop.status.lspFailed": "LSP 出错", + "desktop.status.lspReady": "LSP 就绪", + "desktop.status.lspStarting": "LSP 启动中", + "desktop.status.lspStopped": "LSP 已停止", + "desktop.status.memory": "内存", + "desktop.status.noChanges": "没有更改", + "desktop.status.oneProblem": "1 个问题", + "desktop.status.path": "路径", + "desktop.status.problems": "{count} 个问题", + "desktop.status.readOnly": "只读", + "desktop.status.vim": "Vim", + "desktop.status.writable": "可编辑", + "desktop.svg.tooLarge": "此 SVG 文件过大,无法预览。", + "desktop.sync.allRemotes": "获取所有远程仓库", + "desktop.sync.authFailed": "Git 无法登录远程仓库。请为它配置凭据助手或 SSH 密钥,先在终端运行一次 git fetch 确认,然后重试。Git 的输出:{reason}", + "desktop.sync.cancel": "取消", + "desktop.sync.cancelled": "已取消", + "desktop.sync.divergedPrompt": "“{name}”与“{upstream}”已分叉:领先 {ahead} 个提交,落后 {behind} 个。请选择合并方式。", + "desktop.sync.divergedTitle": "分支已分叉", + "desktop.sync.fetchButton": "获取", + "desktop.sync.fetchFailed": "获取失败:{reason}", + "desktop.sync.fetchPrompt": "这些选项只对本次获取生效,不会修改 Git 配置。", + "desktop.sync.fetchTitle": "获取选项", + "desktop.sync.fetched": "已获取 Git 远程仓库", + "desktop.sync.fetching": "正在获取远程仓库…", + "desktop.sync.inherit": "沿用 Git 配置", + "desktop.sync.merge": "合并", + "desktop.sync.merged": "已将上游合并到“{name}”", + "desktop.sync.no": "不获取", + "desktop.sync.noUpstream": "“{name}”没有跟踪远程分支", + "desktop.sync.onDemand": "按需", + "desktop.sync.progress": "{stage} {percent}%", + "desktop.sync.prune": "清理已失效的远程跟踪分支", + "desktop.sync.rebase": "变基", + "desktop.sync.rebased": "已将“{name}”变基到上游", + "desktop.sync.remoteName": "已配置的远程名称", + "desktop.sync.settingsFailed": "无法读取获取设置,已显示默认值:{reason}", + "desktop.sync.settingsHint": "以下选项反映此仓库 Git 配置(lithe.fetch.*)所选的值,配置未设置的选项使用应用默认值。在此获取不会修改配置。", + "desktop.sync.settingsInvalid": "此仓库的获取设置无效,已显示默认值:{reason}", + "desktop.sync.settingsInvalidNoReason": "此仓库的获取设置无效,已显示默认值。", + "desktop.sync.settingsLoading": "正在读取此仓库的获取设置…", + "desktop.sync.stage.compressing": "正在压缩对象", + "desktop.sync.stage.counting": "正在统计对象", + "desktop.sync.stage.enumerating": "正在枚举对象", + "desktop.sync.stage.receiving": "正在接收对象", + "desktop.sync.stage.resolving": "正在解析差异", + "desktop.sync.stage.updating": "正在更新文件", + "desktop.sync.stage.writing": "正在写入对象", + "desktop.sync.submodules": "子模块", + "desktop.sync.tagBehavior": "Git 实际获取的标签:{behavior}", + "desktop.sync.tagBehavior.all": "全部标签", + "desktop.sync.tagBehavior.custom": "自定义引用规则", + "desktop.sync.tagBehavior.none": "不获取标签", + "desktop.sync.tagBehavior.prune": "全部标签,并移除过期标签", + "desktop.sync.tagBehavior.reachable": "仅已获取提交上的标签", + "desktop.sync.tagBehavior.remoteDependent": "取决于远程仓库", + "desktop.sync.tagBehavior.unavailable": "不可用", + "desktop.sync.tags": "标签", + "desktop.sync.tagsAll": "所有标签", + "desktop.sync.tagsNone": "不获取标签", + "desktop.sync.tagsPrune": "所有标签并清理本地多余标签", + "desktop.sync.upToDate": "“{name}”已是最新", + "desktop.sync.updateFailed": "更新失败:{reason}", + "desktop.sync.updated": "已更新“{name}”", + "desktop.sync.updating": "正在更新“{name}”…", + "desktop.sync.yes": "全部", + "desktop.tab.close": "关闭", + "desktop.tab.closeAllButPinned": "关闭除固定标签外的全部", + "desktop.tab.pin": "固定标签", + "desktop.tab.selectInProject": "在项目视图中选择", + "desktop.tab.unpin": "取消固定标签", + "desktop.tags.annotated": "带说明的附注标签", + "desktop.tags.create": "创建标签", + "desktop.tags.createAt": "标签将打在提交 {hash} 上。", + "desktop.tags.createFrom": "标签将打在当前提交(HEAD)上。", + "desktop.tags.createTitle": "新建标签", + "desktop.tags.created": "已创建标签 {name}", + "desktop.tags.delete": "删除", + "desktop.tags.deleteFailed": "无法删除标签:{reason}", + "desktop.tags.deletePrompt": "要删除标签 {name} 吗?", + "desktop.tags.deleteTitle": "删除标签", + "desktop.tags.deleted": "已删除标签 {name}", + "desktop.tags.failed": "无法创建标签:{reason}", + "desktop.tags.message": "说明", + "desktop.tags.name": "标签名称", + "desktop.tags.newTag": "新建标签…", + "desktop.terminal.closeBusyBody": "“{terminal}”中仍有程序在运行,关闭标签页会结束它。", + "desktop.terminal.closeBusyConfirm": "关闭", + "desktop.terminal.closeBusyTitle": "关闭终端?", + "desktop.terminal.find": "在终端中查找", + "desktop.terminal.findClose": "关闭查找", + "desktop.terminal.findCount": "第 {current} 个,共 {total} 个", + "desktop.terminal.findNext": "下一个匹配", + "desktop.terminal.findNone": "无匹配", + "desktop.terminal.findPrevious": "上一个匹配", + "desktop.terminal.label": "终端", + "desktop.terminal.localNumber": "本地 ({number})", + "desktop.terminal.noTerminals": "终端都已移到编辑器中。点击 + 在这里新建一个。", + "desktop.terminal.openLinkFailed": "无法打开链接:{reason}", + "desktop.terminal.pasteImageFailed": "无法保存剪贴板里的图片:{reason}", + "desktop.terminal.pasteImageTooLarge": "剪贴板里的图片太大,无法粘贴。", + "desktop.terminal.restartHint": "按 Enter 键开始新会话。", + "desktop.terminal.runSelection": "在终端运行选中内容", + "desktop.terminal.scrollbarLabel": "终端回滚", + "desktop.terminal.sessionEnded": "会话已结束。", + "desktop.terminal.sessionEndedStatus": "会话已结束,退出状态 {status}。", + "desktop.terminal.shellWithPath": "{name} ({path})", + "desktop.terminal.startFailed": "无法启动 shell:{reason}", + "desktop.tests.cancelled": "测试运行已取消", + "desktop.tests.empty": "运行测试后在这里查看结果。", + "desktop.tests.exitedWithError": "测试在报告结果前因错误结束。", + "desktop.tests.noSystems": "此工作区没有声明测试的构建系统。", + "desktop.tests.noTestsFound": "没有找到任何测试。", + "desktop.tests.noTestsMatched": "没有测试匹配所选范围。", + "desktop.tests.openLocation": "打开失败测试的源码位置", + "desktop.tests.preparing": "正在准备测试…", + "desktop.tests.rerun": "重新运行测试", + "desktop.tests.resultsUnavailable": "无法读取测试结果:{error}", + "desktop.tests.run": "运行测试", + "desktop.tests.running": "正在运行测试…", + "desktop.tests.stop": "停止正在运行的测试", + "desktop.tests.stopping": "正在停止测试运行…", + "desktop.tests.summary": "{passed} 通过,{failed} 失败,{skipped} 跳过", + "desktop.tests.timedOut": "测试超时", + "desktop.title.branchMenu": "分支菜单", + "desktop.title.cloneLater": "克隆仓库稍后提供", + "desktop.title.configurationNotStartable": "无法启动 {name}:没有构建插件负责运行它。", + "desktop.title.currentFileNotRunnable": "当前文件没有可运行的入口(例如带 main 方法的类)。请打开这样的文件,或在运行配置菜单里选择一个运行配置。", + "desktop.title.hiddenRunConfigurations": "已隐藏 {count} 条无法运行的已保存配置", + "desktop.title.keymapLater": "快捷键页稍后提供", + "desktop.title.logsUnavailable": "Lithe 启动时未能打开日志", + "desktop.title.newProjectLater": "新建项目稍后提供", + "desktop.title.noRecentProjects": "无最近项目", + "desktop.title.noRunConfigurations": "没有运行配置", + "desktop.title.notDebuggable": "无法调试 {name}:它所属的插件没有为这个运行声明调试适配器。", + "desktop.title.pluginsLater": "插件页稍后提供", + "desktop.title.projectMenu": "项目菜单", + "desktop.title.runBusy": "运行窗口还在执行其他操作。请等它结束,或者先停止它。", + "desktop.toolchains.automatic": "自动({value})", + "desktop.toolchains.chooseHelp": "选择一行只修改草稿。保存会写入本项目的 .lithe/toolchains/local.json;取消不会改动文件。", + "desktop.toolchains.conflict": "{tool} 同时由 {plugins} 定义;请只保留其中一个插件。", + "desktop.toolchains.custom": "自定义…", + "desktop.toolchains.description": "已启用插件声明的工具。生效值与来源由共享 Core 解析得出;点击保存前不会写入任何文件。", + "desktop.toolchains.directory": "安装目录", + "desktop.toolchains.directoryHelp": "选择包含工具程序的安装根目录,例如 JDK 目录,而不是 bin 目录。验证版本只修改草稿;点击保存后才写入项目选择。", + "desktop.toolchains.effective": "生效:{value}", + "desktop.toolchains.global": "全局默认", + "desktop.toolchains.globalHelp": "统一管理自动识别和手动添加的 SDK,保存到应用的用户设置。项目可单独覆盖默认版本;已启动的进程需重启后使用新版本。", + "desktop.toolchains.installation": "{home} · {version} · {provider}", + "desktop.toolchains.invalidDirectory": "所选目录中未找到可用的工具安装,请检查目录后重试。", + "desktop.toolchains.layerAutomatic": "自动发现", + "desktop.toolchains.layerGlobal": "全局默认", + "desktop.toolchains.layerPinned": "已固定", + "desktop.toolchains.layerProject": "项目环境", + "desktop.toolchains.loadFailed": "无法读取工具链:{reason}", + "desktop.toolchains.loading": "正在读取工具链…", + "desktop.toolchains.noInstallations": "没有找到安装。", + "desktop.toolchains.noProject": "打开项目后才能读取其工具链。", + "desktop.toolchains.pinSource": "固定在 {directory}", + "desktop.toolchains.project": "当前项目", + "desktop.toolchains.projectCandidateBlocked": "{path} · 需信任当前项目后探测与使用", + "desktop.toolchains.projectTrustRequiredNotice": "检测到项目内的工具环境;在开启项目信任前不会探测版本或运行。", + "desktop.toolchains.providerUnsupported": "当前版本还不能查询插件后端;由提供方报告的安装不会显示。", + "desktop.toolchains.reasonNotExecutable": "文件不可执行", + "desktop.toolchains.reasonProbeFailed": "版本检测失败", + "desktop.toolchains.reasonProjectTrustRequired": "需要信任当前项目", + "desktop.toolchains.reasonUnsafePath": "路径不安全或超出允许目录", + "desktop.toolchains.reasonVersionUnsatisfied": "不满足最低版本要求", + "desktop.toolchains.reload": "重新读取", + "desktop.toolchains.reloadAfterSave": "保存步骤已完成,但未能重新读取或正常关闭配置来源。再次保存前请重新加载;草稿已保留。", + "desktop.toolchains.reset": "使用自动", + "desktop.toolchains.save": "保存", + "desktop.toolchains.saveFailed": "无法保存工具链:{reason}", + "desktop.toolchains.saved": "已保存", + "desktop.toolchains.saving": "正在保存…", + "desktop.toolchains.sourceChanged": "项目或工具链文件已变更,请重新加载后再保存。当前草稿已保留。", + "desktop.toolchains.sourceInvalid": "工具链或忽略配置无效、过大或无法安全访问。请检查来源文件后重新加载。", + "desktop.toolchains.title": "工具链", + "desktop.toolchains.trustProject": "信任当前项目中的工具环境", + "desktop.toolchains.trustProjectHelp": "允许 Lithe 对当前项目目录内的工具环境(如虚拟环境)和包装器执行版本探测与运行。此授权仅在本机对当前工作区生效,保存在应用本机设置中而不会写入项目 .lithe/,且可随时撤销。请仅对来源可信的项目开启;已运行的进程需重启后使用更新后的工具链。", + "desktop.toolchains.trustStatusTrusted": "本机此项目 · 已信任", + "desktop.toolchains.trustStatusUntrusted": "本机此项目 · 未信任", + "desktop.toolchains.unavailable": "不可用:{reason}", + "desktop.toolchains.updatingTrust": "正在更新项目信任状态…", + "desktop.toolchains.useDirectory": "使用此目录", + "desktop.tools.background": "背景", + "desktop.tools.dragHint": "可拖动到其他位置", + "desktop.tools.moveTo": "移动到", + "desktop.tools.moveToTitleBar": "移到标题栏", + "desktop.tools.structure": "结构", + "desktop.tools.withShortcut": "{name} {keys}", + "desktop.updates.arrow.available": "Lithe {version} 可更新,点击查看更新内容", + "desktop.updates.arrow.downloading": "正在下载 Lithe {version}… {percent}%", + "desktop.updates.arrow.ready": "Lithe {version} 已下载,点击查看并重启更新", + "desktop.updates.available": "Lithe {version} 已发布,点标题栏右上角的绿色箭头查看更新内容。", + "desktop.updates.channel.autobuild": "AutoBuild", + "desktop.updates.channel.stable": "正式版", + "desktop.updates.dialog.cross": "这是{channel}渠道的版本,会完整替换当前构建。两个渠道共用设置,安装前会先保存一份当前设置的快照。", + "desktop.updates.dialog.current": "当前版本 {version} · {channel}", + "desktop.updates.dialog.download": "下载并安装", + "desktop.updates.dialog.downloads": "打开下载页面", + "desktop.updates.dialog.fullNotes": "在 GitHub 查看完整说明", + "desktop.updates.dialog.later": "稍后", + "desktop.updates.dialog.noNotes": "这个版本没有附带更新说明。", + "desktop.updates.dialog.notesLoading": "正在读取更新内容…", + "desktop.updates.dialog.restart": "重启并更新", + "desktop.updates.dialog.sizeDelta": "增量更新 {size}(完整安装包 {full})", + "desktop.updates.dialog.sizeFull": "完整安装包 {size}", + "desktop.updates.dialog.skip": "跳过此版本", + "desktop.updates.dialog.title": "Lithe {version} 可更新", + "desktop.updates.dialog.titleReady": "Lithe {version} 已准备好安装", + "desktop.updates.manual.managed": "这份 Lithe 由软件包管理器安装,请用它更新,或从下载页面安装新版本。", + "desktop.updates.manual.notWritable": "Lithe 无权替换当前位置的应用,请从下载页面安装新版本。", + "desktop.updates.viewChanges": "查看更新内容", + "desktop.vcs.commitDirectly": "提交会立即发送到仓库,没有单独的推送步骤。", + "desktop.viewer.binaryHint": "此文件不是文本。以下以十六进制只读显示其开头部分。", + "desktop.viewer.close": "关闭", + "desktop.viewer.externalHint": "Lithe 无法显示此类文件,请用系统默认应用打开。", + "desktop.viewer.failed": "无法显示此文件:{reason}", + "desktop.viewer.imageFailed": "无法载入此图片", + "desktop.viewer.openExternally": "用默认应用打开", + "desktop.viewer.openFailed": "无法打开文件:{reason}", + "desktop.viewer.resetZoom": "重置为实际大小(100%)", + "desktop.viewer.resetZoomHint": "重置为实际大小", + "desktop.viewer.tooLarge": "此文件过大,无法在此显示,请用系统默认应用打开。", + "desktop.viewer.truncated": "仅显示前 64 KB。", + "desktop.viewer.zoom": "图片缩放", + "desktop.viewer.zoomIn": "放大", + "desktop.viewer.zoomOut": "缩小", + "desktop.welcome.dropFolderOnly": "请拖入文件夹以将其作为项目打开。", + "desktop.welcome.emptyHint": "打开本地文件夹开始工作。", + "desktop.welcome.emptyTitle": "没有最近项目", + "desktop.welcome.menuPin": "固定到顶部", + "desktop.welcome.menuReveal": "在访达中显示", + "desktop.welcome.menuRevealOther": "在文件管理器中显示", + "desktop.welcome.menuRevealWindows": "在文件资源管理器中显示", + "desktop.welcome.menuUnpin": "取消固定", + "desktop.welcome.missing": "文件夹已不存在", + "desktop.welcome.noMatches": "没有匹配的项目", + "desktop.welcome.unavailable": "新桌面端暂未提供", + "desktop.workbenchBackground.close": "关闭", + "desktop.workbenchBackground.failed": "无法使用该图片:{reason}", + "desktop.workbenchBackground.help": "在整个工作台后面显示你自己的图片。Lithe 会在自己的数据目录中保留一份副本,移动或删除原图不会影响背景。", + "desktop.workbenchBackground.imageFilter": "PNG 和 JPEG 图片", + "desktop.workbenchBackground.loading": "正在载入背景图片…", + "desktop.workbenchBackground.medium": "中", + "desktop.workbenchBackground.remove": "移除", + "desktop.workbenchBackground.status": "{name},{width}×{height}", + "desktop.workbenchBackground.strong": "浓", + "desktop.workbenchBackground.subtle": "淡", + "desktop.workbenchBackground.tooLarge": "图片文件超过 30 MB。", + "desktop.workbenchBackground.tooManyPixels": "图片像素超过 6400 万。", + "desktop.workbenchBackground.unsupported": "只支持 PNG 和 JPEG 图片。", + "desktop.workbenchBackground.visibility": "图片可见度", + "desktop.worktree.openNewWindow": "在新窗口中打开", + "desktop.worktree.openNewWindowFailed": "无法在新窗口中打开工作树:{reason}", + "diagnostics.goToProblem": "转到问题", "document.fileAccess.isHardLinkedChangesAreNotSavedAutomaticallySaveManuallyToChooseHowToUpdateTheFile": "{arg1} 是硬链接文件,不会自动保存修改。请手动保存并选择更新方式。", "document.fileAccess.onlyRegularFilesCanBeOpenedAsTextDevicesSocketsAndNamedPipesAreNotSupported": "只能将普通文件作为文本打开,不支持设备、套接字和命名管道。", "document.fileAccess.openTheTargetFileDirectlySymbolicLinkEditingIsNotSupportedByThisFileAdapter": "请直接打开目标文件。当前文件适配器暂不支持编辑符号链接。", diff --git a/desktop/internal/pluginhost/pluginhost.go b/desktop/internal/pluginhost/pluginhost.go index f0190dcc37..22b71ca05c 100644 --- a/desktop/internal/pluginhost/pluginhost.go +++ b/desktop/internal/pluginhost/pluginhost.go @@ -106,6 +106,11 @@ type Capabilities map[string][]int // form Core describes in the plugin's translation, saves them and runs them // with the command Core plans for the detected instance. A declared kind has // no debugger. +// - beforeLaunchTasks: the Add New Task menu of every configuration's Before +// launch list offers the tasks a build system declares, edits each with the +// form Core describes in the plugin's translation, and runs the step with +// the command Core plans for the detected instance before the configuration +// starts. // - toolDefinitions: settings discovery, Build/Run selection and tool // launches use the shared Core resolver. // - commandInstallers: plugin management reports the commands a @@ -151,6 +156,7 @@ type Capabilities map[string][]int func Declared() Capabilities { baseline := []string{ "backend", + "beforeLaunchTasks", "buildProviders", "buildSystems", "commandInstallers", diff --git a/desktop/internal/pluginhost/pluginhost_test.go b/desktop/internal/pluginhost/pluginhost_test.go index 130716095f..ae30027ea4 100644 --- a/desktop/internal/pluginhost/pluginhost_test.go +++ b/desktop/internal/pluginhost/pluginhost_test.go @@ -59,7 +59,7 @@ func TestValidateRefusesBrokenValidator(t *testing.T) { func TestDeclaredServesTheBaselineOfEveryWiredCapability(t *testing.T) { declared := Declared() want := []string{ - "backend", "buildProviders", "buildSystems", "commandInstallers", "debugAdapters", + "backend", "beforeLaunchTasks", "buildProviders", "buildSystems", "commandInstallers", "debugAdapters", "languageServers", "languages", "managedRuntimes", "outputLinkMatchers", "pluginFunctions", "projectGenerators", "runConfigurationTypes", "settings", "sourceSettings", "toolDefinitions", "ui", "vcsProviders", diff --git a/desktop/internal/pluginicons/pluginicons.go b/desktop/internal/pluginicons/pluginicons.go new file mode 100644 index 0000000000..37e330e3a2 --- /dev/null +++ b/desktop/internal/pluginicons/pluginicons.go @@ -0,0 +1,392 @@ +// Package pluginicons draws the icons plugins ship inside their packages: the +// {"path", "darkPath", "mode"} form of the contract's UI icons. Core checks the +// declaration and the shape of each path; the contract leaves decoding the bytes +// to the platform adapter, which is this package. +// +// Installed packages are read-only at runtime. Icons are read through +// pluginpkg.ReadFile, compiled to gfx.Icon values and kept in memory only: no +// cache file, rasterization or converted copy is written anywhere, so nothing +// here touches a package's bytes, its code signature or an update's baseline. +// +// SVG is compiled with Viva's iconcompile, the compiler of the host's own icons. +// It draws filled shapes in their own colors and tinted strokes; a stroke color +// is drawn in the tint. Content the compiler cannot draw is reported as +// ErrUnsupported, and so is PNG, because the icon slots of this host draw +// vectors only. Callers fall back to their own icon on any error. +package pluginicons + +import ( + "bytes" + "encoding/xml" + "errors" + "fmt" + "io" + "os" + "path" + "strconv" + "strings" + "sync" + + "github.com/vivaui/viva/gfx" + "github.com/vivaui/viva/tools/iconcompile" + + "github.com/1lck/Lithe-IDEA/desktop/internal/pluginpkg" +) + +// Limits from the plugin contract's UI icons. +const ( + // MaxFileBytes bounds one icon resource. + MaxFileBytes int64 = 256 << 10 + // MaxDimension bounds an icon's width and height, in image units. + MaxDimension = 1024 + // MaxPackageBytes bounds the unique icon bytes one package may use. + MaxPackageBytes int64 = 8 << 20 + // MaxPackagePixels bounds the image area of one package's unique icons. + MaxPackagePixels = 4_194_304 +) + +const ( + // ModeTemplate icons are drawn in the tint of the control that holds them. + ModeTemplate = "template" + // ModeOriginal icons keep their own colors. + ModeOriginal = "original" +) + +var ( + // ErrUnreadable is an icon the package does not hold as a regular file. + ErrUnreadable = errors.New("plugin icon is not readable from its package") + // ErrUnsupported is an icon in a format, or using SVG this host cannot draw. + ErrUnsupported = errors.New("plugin icon format is not supported") + // ErrRefused is an icon the contract refuses: active or external SVG + // content, or a resource over its size limits. + ErrRefused = errors.New("plugin icon is refused") +) + +// Reason is the log reason of an icon error. +func Reason(err error) string { + switch { + case errors.Is(err, ErrRefused): + return "refused" + case errors.Is(err, ErrUnsupported): + return "unsupported_format" + default: + return "unreadable" + } +} + +// Declaration is a package icon a manifest names. +type Declaration struct { + Path string + DarkPath string + Mode string +} + +// Icon is a compiled package icon. +type Icon struct { + light, dark gfx.Icon +} + +// For is the icon for a theme: the dark variant in a dark theme when there is one. +func (icon Icon) For(dark bool) gfx.Icon { + if dark { + return icon.dark + } + return icon.light +} + +// Cache holds the icons read so far, by plugin and declaration. Reads happen off +// the UI thread; lookups are cheap and safe from any goroutine. +type Cache struct { + mu sync.Mutex + icons map[key]entry + packages map[string]*budget // by package directory +} + +type key struct { + pluginID string + declaration Declaration +} + +// entry is one read: the package it came from, and its icon or failure. +type entry struct { + directory string + icon Icon + err error +} + +// budget is what one package's unique icon files have used. +type budget struct { + files map[string]bool + bytes int64 + pixels float64 +} + +// Read reads and compiles the icon the plugin installed at directory declares, +// unless it was already read from that directory. It returns only a failure of +// this read, so the caller reports each broken icon once; later reads of the +// same icon return nil and Lookup keeps answering false. +func (cache *Cache) Read(pluginID, directory string, declaration Declaration) error { + k := key{pluginID, declaration} + cache.mu.Lock() + if current, ok := cache.icons[k]; ok && current.directory == directory { + cache.mu.Unlock() + return nil + } + cache.mu.Unlock() + + icon, files, err := read(directory, declaration) + cache.mu.Lock() + defer cache.mu.Unlock() + if current, ok := cache.icons[k]; ok && current.directory == directory { + return nil // a concurrent read stored it first + } + if err == nil { + err = cache.charge(directory, files) + } + if cache.icons == nil { + cache.icons = map[key]entry{} + } + cache.icons[k] = entry{directory: directory, icon: icon, err: err} + return err +} + +// Lookup is the icon Read stored for the plugin's declaration. +func (cache *Cache) Lookup(pluginID string, declaration Declaration) (Icon, bool) { + cache.mu.Lock() + defer cache.mu.Unlock() + current, ok := cache.icons[key{pluginID, declaration}] + if !ok || current.err != nil { + return Icon{}, false + } + return current.icon, true +} + +// charge adds the files not yet counted to their package's budget, or refuses +// the icon when they would exceed it. The cache lock is held. +func (cache *Cache) charge(directory string, files []resource) error { + if cache.packages == nil { + cache.packages = map[string]*budget{} + } + used := cache.packages[directory] + if used == nil { + used = &budget{files: map[string]bool{}} + cache.packages[directory] = used + } + bytes, pixels := used.bytes, used.pixels + for _, file := range files { + if !used.files[file.path] { + bytes += file.bytes + pixels += file.pixels + } + } + if bytes > MaxPackageBytes { + return fmt.Errorf("%w: the package's icons exceed %d bytes", ErrRefused, MaxPackageBytes) + } + if pixels > MaxPackagePixels { + return fmt.Errorf("%w: the package's icons exceed %d pixels", ErrRefused, MaxPackagePixels) + } + for _, file := range files { + used.files[file.path] = true + } + used.bytes, used.pixels = bytes, pixels + return nil +} + +// resource is one icon file a read used, for the package budget. +type resource struct { + path string + bytes int64 + pixels float64 +} + +func read(directory string, declaration Declaration) (Icon, []resource, error) { + mode := declaration.Mode + if mode == "" { + mode = ModeTemplate + } + if mode != ModeTemplate && mode != ModeOriginal { + return Icon{}, nil, fmt.Errorf("%w: mode %q", ErrUnsupported, declaration.Mode) + } + light, file, err := readResource(directory, declaration.Path, mode) + if err != nil { + return Icon{}, nil, err + } + files := []resource{file} + dark := light + if declaration.DarkPath != "" { + dark, file, err = readResource(directory, declaration.DarkPath, mode) + if err != nil { + return Icon{}, nil, err + } + files = append(files, file) + } + return Icon{light: light, dark: dark}, files, nil +} + +// readResource reads and compiles one package-relative icon file. +func readResource(directory, name, mode string) (gfx.Icon, resource, error) { + clean, err := pluginpkg.ValidatePath(name) + if err != nil { + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %v", ErrUnreadable, err) + } + switch strings.ToLower(path.Ext(clean)) { + case ".svg": + case ".png": + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %s: this host draws vector icons only", ErrUnsupported, clean) + default: + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %s", ErrUnsupported, clean) + } + data, err := pluginpkg.ReadFile(directory, strings.Split(clean, "/"), MaxFileBytes) + if errors.Is(err, pluginpkg.ErrReadTooLarge) { + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %s exceeds %d bytes", ErrRefused, clean, MaxFileBytes) + } + if err != nil { + // Messages name the package-relative path only, never where the package + // is installed. + detail := "cannot be read" + switch { + case errors.Is(err, os.ErrNotExist): + detail = "is missing" + case errors.Is(err, pluginpkg.ErrNotPackageFile): + detail = "is not a regular file without symbolic links" + } + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %s %s", ErrUnreadable, clean, detail) + } + paint, err := checkSVG(data) + if err != nil { + return gfx.Icon{}, resource{}, fmt.Errorf("%s: %w", clean, err) + } + icon, err := iconcompile.Compile(clean, data) + if err != nil { + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %v", ErrUnsupported, err) + } + width, height := float64(icon.ViewBox), float64(icon.ViewHeight) + if height == 0 { + height = width + } + if width > MaxDimension || height > MaxDimension || paint.width > MaxDimension || paint.height > MaxDimension { + return gfx.Icon{}, resource{}, fmt.Errorf("%w: %s is larger than %d×%d", ErrRefused, clean, MaxDimension, MaxDimension) + } + if !paint.stroked { + // SVG fills a shape that names no paint; the compiler's icon dialect + // strokes it unless told otherwise. A document that strokes nothing + // therefore fills its tinted shapes, as SVG draws them. + icon.Stroke = 0 + } + if mode == ModeTemplate { + if icon, err = silhouette(icon); err != nil { + return gfx.Icon{}, resource{}, fmt.Errorf("%s: %w", clean, err) + } + } + return icon, resource{path: clean, bytes: int64(len(data)), pixels: width * height}, nil +} + +// silhouette is a template icon: every shape drawn in the tint. Colored fills +// become tinted fills; the shapes must then share one way of being drawn. +func silhouette(icon gfx.Icon) (gfx.Icon, error) { + if len(icon.Layers) == 0 { + return icon, nil + } + if len(icon.Commands) > 0 && icon.Stroke > 0 { + return gfx.Icon{}, fmt.Errorf("%w: a template icon mixes stroked and filled shapes", ErrUnsupported) + } + for _, layer := range icon.Layers { + if layer.FillRule == gfx.PathFillEvenOdd { + return gfx.Icon{}, fmt.Errorf("%w: a template icon fills with the evenodd rule", ErrUnsupported) + } + icon.Commands = append(icon.Commands, layer.Commands...) + } + icon.Stroke, icon.Layers = 0, nil + return icon, nil +} + +// svgPaint is what the safety pass learned about a document. +type svgPaint struct { + // stroked says some element names a stroke paint. + stroked bool + // width and height are the root's sizes in user units, 0 when unset. + width, height float64 +} + +// refusedElements are SVG elements the contract refuses: scripts, styles, +// embedded or linked content, and animation. +var refusedElements = map[string]bool{ + "script": true, "style": true, "image": true, "foreignObject": true, + "iframe": true, "a": true, "feImage": true, "animate": true, + "animateMotion": true, "animateTransform": true, "animateColor": true, + "set": true, "audio": true, "video": true, "canvas": true, +} + +// checkSVG refuses the SVG content the contract does not accept: DOCTYPEs and +// entities, processing instructions, scripts and event handlers, style elements +// and attributes, embedded images and references outside the document. +func checkSVG(data []byte) (svgPaint, error) { + var paint svgPaint + decoder := xml.NewDecoder(bytes.NewReader(data)) + decoder.Strict = true + root := true + for { + token, err := decoder.Token() + if err == io.EOF { + return paint, nil + } + if err != nil { + return paint, fmt.Errorf("%w: %v", ErrRefused, err) + } + switch token := token.(type) { + case xml.Directive: + return paint, fmt.Errorf("%w: DOCTYPEs and entities are not allowed", ErrRefused) + case xml.ProcInst: + if token.Target != "xml" { + return paint, fmt.Errorf("%w: processing instruction %q", ErrRefused, token.Target) + } + case xml.StartElement: + if refusedElements[token.Name.Local] { + return paint, fmt.Errorf("%w: <%s> is not allowed", ErrRefused, token.Name.Local) + } + for _, attribute := range token.Attr { + if err := checkAttribute(attribute); err != nil { + return paint, err + } + if attribute.Name.Local == "stroke" { + if value := strings.TrimSpace(attribute.Value); value != "" && value != "none" { + paint.stroked = true + } + } + if root && (attribute.Name.Local == "width" || attribute.Name.Local == "height") { + size, _ := strconv.ParseFloat(strings.TrimSuffix(strings.TrimSpace(attribute.Value), "px"), 64) + if attribute.Name.Local == "width" { + paint.width = size + } else { + paint.height = size + } + } + } + root = false + } + } +} + +func checkAttribute(attribute xml.Attr) error { + name := attribute.Name.Local + value := strings.TrimSpace(attribute.Value) + switch { + case strings.HasPrefix(strings.ToLower(name), "on"): + return fmt.Errorf("%w: event handler %q", ErrRefused, name) + case name == "style": + return fmt.Errorf("%w: style attributes are not allowed; use presentation attributes", ErrRefused) + case name == "href" && !strings.HasPrefix(value, "#"): + return fmt.Errorf("%w: reference %q is outside the document", ErrRefused, value) + } + for rest := value; ; { + index := strings.Index(strings.ToLower(rest), "url(") + if index < 0 { + return nil + } + rest = strings.TrimSpace(rest[index+len("url("):]) + rest = strings.TrimLeft(rest, `"'`) + if !strings.HasPrefix(rest, "#") { + return fmt.Errorf("%w: reference in %q is outside the document", ErrRefused, name) + } + } +} diff --git a/desktop/internal/pluginicons/pluginicons_test.go b/desktop/internal/pluginicons/pluginicons_test.go new file mode 100644 index 0000000000..1bedff2f6d --- /dev/null +++ b/desktop/internal/pluginicons/pluginicons_test.go @@ -0,0 +1,213 @@ +package pluginicons + +import ( + "errors" + "fmt" + "os" + "path/filepath" + "strings" + "testing" + + "github.com/vivaui/viva/gfx" +) + +const pluginID = "dev.lithe.test.icons" + +// brand is a two-color original icon: a blue square with a white dot. +const brand = ` +` + +func writePackage(t *testing.T, files map[string]string) string { + t.Helper() + dir := t.TempDir() + for name, content := range files { + target := filepath.Join(dir, filepath.FromSlash(name)) + if err := os.MkdirAll(filepath.Dir(target), 0o755); err != nil { + t.Fatal(err) + } + if err := os.WriteFile(target, []byte(content), 0o644); err != nil { + t.Fatal(err) + } + } + return dir +} + +func readOne(t *testing.T, files map[string]string, declaration Declaration) (Icon, error) { + t.Helper() + var cache Cache + dir := writePackage(t, files) + err := cache.Read(pluginID, dir, declaration) + icon, ok := cache.Lookup(pluginID, declaration) + if ok != (err == nil) { + t.Fatalf("Lookup = %v after Read = %v", ok, err) + } + return icon, err +} + +func TestOriginalIconsKeepTheirColorsAndDarkVariant(t *testing.T) { + dark := strings.ReplaceAll(brand, "#548AF7", "#1E1F22") + icon, err := readOne(t, map[string]string{"icons/a.svg": brand, "icons/a-dark.svg": dark}, + Declaration{Path: "icons/a.svg", DarkPath: "icons/a-dark.svg", Mode: ModeOriginal}) + if err != nil { + t.Fatal(err) + } + light := icon.For(false) + if light.ViewBox != 16 || len(light.Layers) != 2 || len(light.Commands) != 0 { + t.Fatalf("light = viewBox %v, %d layers, %d commands", light.ViewBox, len(light.Layers), len(light.Commands)) + } + if blue := light.Layers[0].Fill; blue.Blue < 0.9 || blue.Red > 0.4 { + t.Fatalf("the brand color was not kept: %+v", blue) + } + if fill := icon.For(true).Layers[0].Fill; fill.Blue > 0.2 { + t.Fatalf("the dark theme does not use the dark variant: %+v", fill) + } +} + +func TestAnIconWithoutDarkVariantIsUsedInBothThemes(t *testing.T) { + icon, err := readOne(t, map[string]string{"a.svg": brand}, Declaration{Path: "a.svg", Mode: ModeOriginal}) + if err != nil { + t.Fatal(err) + } + if len(icon.For(true).Layers) != 2 { + t.Fatal("the dark theme has no icon") + } +} + +func TestTemplateIconsAreDrawnInTheTint(t *testing.T) { + icon, err := readOne(t, map[string]string{"a.svg": brand}, Declaration{Path: "a.svg"}) + if err != nil { + t.Fatal(err) + } + glyph := icon.For(false) + if len(glyph.Layers) != 0 || len(glyph.Commands) == 0 || glyph.Stroke != 0 { + t.Fatalf("template = %d layers, %d commands, stroke %v", len(glyph.Layers), len(glyph.Commands), glyph.Stroke) + } +} + +func TestShapesWithoutPaintAreFilledAsInSVG(t *testing.T) { + filled := `` + icon, err := readOne(t, map[string]string{"a.svg": filled}, Declaration{Path: "a.svg"}) + if err != nil { + t.Fatal(err) + } + if glyph := icon.For(false); glyph.Stroke != 0 || len(glyph.Commands) == 0 { + t.Fatalf("an unpainted shape is stroked %v", glyph.Stroke) + } + stroked := `` + icon, err = readOne(t, map[string]string{"a.svg": stroked}, Declaration{Path: "a.svg"}) + if err != nil { + t.Fatal(err) + } + if glyph := icon.For(false); glyph.Stroke != 2 { + t.Fatalf("a stroked icon has stroke %v", glyph.Stroke) + } +} + +func TestContentTheContractRefuses(t *testing.T) { + cases := map[string]string{ + "script": ``, + "style": ``, + "style attr": ``, + "handler": ``, + "image": ``, + "external use": ``, + "external url": ``, + "doctype": `]>`, + "instruction": ``, + "too wide": ``, + "too tall": ``, + "too large": ``, + } + for name, content := range cases { + t.Run(name, func(t *testing.T) { + _, err := readOne(t, map[string]string{"a.svg": content}, Declaration{Path: "a.svg", Mode: ModeOriginal}) + if !errors.Is(err, ErrRefused) || Reason(err) != "refused" { + t.Fatalf("err = %v", err) + } + }) + } +} + +func TestIconsThisHostCannotDraw(t *testing.T) { + cases := map[string]struct { + files map[string]string + declaration Declaration + }{ + "png": {map[string]string{"a.png": "\x89PNG"}, Declaration{Path: "a.png"}}, + "format": {map[string]string{"a.gif": "GIF89a"}, Declaration{Path: "a.gif"}}, + "mode": {map[string]string{"a.svg": brand}, Declaration{Path: "a.svg", Mode: "tinted"}}, + "element": {map[string]string{"a.svg": `A`}, Declaration{Path: "a.svg"}}, + "mixed template": {map[string]string{"a.svg": ` +`}, Declaration{Path: "a.svg"}}, + "evenodd template": {map[string]string{"a.svg": ``}, Declaration{Path: "a.svg"}}, + } + for name, c := range cases { + t.Run(name, func(t *testing.T) { + _, err := readOne(t, c.files, c.declaration) + if !errors.Is(err, ErrUnsupported) || Reason(err) != "unsupported_format" { + t.Fatalf("err = %v", err) + } + }) + } +} + +func TestIconsOutsideThePackageAreUnreadable(t *testing.T) { + for _, name := range []string{"missing.svg", "../a.svg", "/a.svg", `icons\a.svg`} { + _, err := readOne(t, map[string]string{"a.svg": brand}, Declaration{Path: name}) + if !errors.Is(err, ErrUnreadable) || Reason(err) != "unreadable" { + t.Fatalf("%s: err = %v", name, err) + } + } + dir := writePackage(t, map[string]string{"a.svg": brand}) + if err := os.Symlink(filepath.Join(dir, "a.svg"), filepath.Join(dir, "b.svg")); err != nil { + t.Skipf("symbolic links are unavailable: %v", err) + } + var cache Cache + if err := cache.Read(pluginID, dir, Declaration{Path: "b.svg"}); !errors.Is(err, ErrUnreadable) { + t.Fatalf("an icon was read through a link: %v", err) + } +} + +func TestReadReportsAFailureOnceAndRereadsAnUpdatedPackage(t *testing.T) { + declaration := Declaration{Path: "a.svg", Mode: ModeOriginal} + broken := writePackage(t, map[string]string{"a.svg": ``}) + var cache Cache + if err := cache.Read(pluginID, broken, declaration); err == nil { + t.Fatal("a refused icon was read") + } + if err := cache.Read(pluginID, broken, declaration); err != nil { + t.Fatalf("the same failure was reported again: %v", err) + } + if _, ok := cache.Lookup(pluginID, declaration); ok { + t.Fatal("a refused icon is drawn") + } + updated := writePackage(t, map[string]string{"a.svg": brand}) + if err := cache.Read(pluginID, updated, declaration); err != nil { + t.Fatal(err) + } + if _, ok := cache.Lookup(pluginID, declaration); !ok { + t.Fatal("the updated package's icon is not drawn") + } +} + +func TestAPackageIconsShareOnePixelBudget(t *testing.T) { + files := map[string]string{} + for index := range 5 { + files[fmt.Sprintf("i%d.svg", index)] = `` + } + dir := writePackage(t, files) + var cache Cache + for index := range 4 { + if err := cache.Read(pluginID, dir, Declaration{Path: fmt.Sprintf("i%d.svg", index)}); err != nil { + t.Fatalf("icon %d: %v", index, err) + } + } + // The same file named again with another mode costs nothing more. + if err := cache.Read(pluginID, dir, Declaration{Path: "i0.svg", Mode: ModeOriginal}); err != nil { + t.Fatalf("a counted file was charged again: %v", err) + } + if err := cache.Read(pluginID, dir, Declaration{Path: "i4.svg"}); !errors.Is(err, ErrRefused) { + t.Fatalf("the fifth 1024×1024 icon was read: %v", err) + } + var _ gfx.Icon = Icon{}.For(false) +} diff --git a/desktop/internal/pluginpkg/read.go b/desktop/internal/pluginpkg/read.go new file mode 100644 index 0000000000..464a891006 --- /dev/null +++ b/desktop/internal/pluginpkg/read.go @@ -0,0 +1,69 @@ +package pluginpkg + +import ( + "errors" + "fmt" + "io" + "os" + "path/filepath" +) + +var ( + // ErrNotPackageFile reports a package path that leads through a symbolic link + // at some level, or to something other than a regular file. + ErrNotPackageFile = errors.New("plugin package path is not a regular package file") + // ErrReadTooLarge reports a package file over the reader's limit. + ErrReadTooLarge = errors.New("plugin package file exceeds the read limit") +) + +// ReadFile reads the file of the installed package at root that segments name, +// following no symbolic link at any level, and at most limit bytes. Installed +// packages are read-only at runtime; this opens the file for reading only. +func ReadFile(root string, segments []string, limit int64) ([]byte, error) { + if len(segments) == 0 { + return nil, ErrNotPackageFile + } + path := root + var info os.FileInfo + for _, segment := range segments { + path = filepath.Join(path, segment) + var err error + info, err = os.Lstat(path) + if err != nil { + return nil, err + } + if info.Mode()&os.ModeSymlink != 0 { + return nil, ErrNotPackageFile + } + } + // Opening a FIFO or device would block or reach outside the package. + if !info.Mode().IsRegular() { + return nil, ErrNotPackageFile + } + file, err := os.Open(path) + if err != nil { + return nil, err + } + defer file.Close() + opened, err := file.Stat() + if err != nil { + return nil, err + } + linked, err := os.Lstat(path) + // The file must still be the regular file checked above, not one a + // concurrent change put in its place. + if err != nil || !opened.Mode().IsRegular() || !os.SameFile(opened, linked) { + return nil, ErrNotPackageFile + } + if opened.Size() > limit { + return nil, fmt.Errorf("%w: %d bytes, limit %d", ErrReadTooLarge, opened.Size(), limit) + } + data, err := io.ReadAll(io.LimitReader(file, limit+1)) + if err != nil { + return nil, err + } + if int64(len(data)) > limit { + return nil, fmt.Errorf("%w: limit %d", ErrReadTooLarge, limit) + } + return data, nil +} diff --git a/desktop/internal/pluginpkg/read_test.go b/desktop/internal/pluginpkg/read_test.go new file mode 100644 index 0000000000..06d80f6529 --- /dev/null +++ b/desktop/internal/pluginpkg/read_test.go @@ -0,0 +1,54 @@ +package pluginpkg + +import ( + "errors" + "os" + "path/filepath" + "testing" +) + +func TestReadFileEnforcesTheLimit(t *testing.T) { + dir := t.TempDir() + if err := os.WriteFile(filepath.Join(dir, "big.bin"), make([]byte, 33), 0o644); err != nil { + t.Fatal(err) + } + if _, err := ReadFile(dir, []string{"big.bin"}, 32); !errors.Is(err, ErrReadTooLarge) { + t.Fatalf("a file over the limit was read: %v", err) + } + if data, err := ReadFile(dir, []string{"big.bin"}, 33); err != nil || len(data) != 33 { + t.Fatalf("read = %d %v", len(data), err) + } +} + +func TestReadFileReadsOnlyRegularPackageFiles(t *testing.T) { + dir := t.TempDir() + if err := os.MkdirAll(filepath.Join(dir, "icons", "nested"), 0o755); err != nil { + t.Fatal(err) + } + if err := os.WriteFile(filepath.Join(dir, "icons", "a.svg"), []byte(""), 0o644); err != nil { + t.Fatal(err) + } + if data, err := ReadFile(dir, []string{"icons", "a.svg"}, 1<<10); err != nil || string(data) != "" { + t.Fatalf("read = %q %v", data, err) + } + if _, err := ReadFile(dir, nil, 1<<20); !errors.Is(err, ErrNotPackageFile) { + t.Fatalf("the package directory itself was read: %v", err) + } + if _, err := ReadFile(dir, []string{"icons", "nested"}, 1<<20); !errors.Is(err, ErrNotPackageFile) { + t.Fatalf("a directory was read: %v", err) + } + if _, err := ReadFile(dir, []string{"icons", "missing.svg"}, 1<<20); !errors.Is(err, os.ErrNotExist) { + t.Fatalf("missing file = %v", err) + } + if err := os.Symlink(filepath.Join(dir, "icons"), filepath.Join(dir, "linked")); err != nil { + t.Skipf("symbolic links are unavailable: %v", err) + } + if err := os.Symlink(filepath.Join(dir, "icons", "a.svg"), filepath.Join(dir, "icons", "b.svg")); err != nil { + t.Fatal(err) + } + for _, segments := range [][]string{{"linked", "a.svg"}, {"icons", "b.svg"}} { + if _, err := ReadFile(dir, segments, 1<<20); !errors.Is(err, ErrNotPackageFile) { + t.Fatalf("%v was read through a link: %v", segments, err) + } + } +} diff --git a/desktop/internal/pluginweb/page.go b/desktop/internal/pluginweb/page.go index b0e89deacf..d896458e32 100644 --- a/desktop/internal/pluginweb/page.go +++ b/desktop/internal/pluginweb/page.go @@ -16,7 +16,6 @@ import ( "encoding/json" "errors" "fmt" - "io" "os" "path/filepath" "strings" @@ -24,6 +23,7 @@ import ( "time" "github.com/1lck/Lithe-IDEA/desktop/internal/core" + "github.com/1lck/Lithe-IDEA/desktop/internal/pluginpkg" ) const ( @@ -159,7 +159,7 @@ func (p *Page) Serve(path string) (mime string, data []byte, ok bool) { default: return "", nil, false } - data, err = readPackageFile(p.root, resource.Segments, p.info.FileLimit) + data, err = pluginpkg.ReadFile(p.root, resource.Segments, p.info.FileLimit) if err != nil { if !errors.Is(err, os.ErrNotExist) { p.log("resource", err) @@ -177,52 +177,6 @@ func (p *Page) Serve(path string) (mime string, data []byte, ok bool) { return resource.MIME, data, true } -// errOutsidePackage is a package path that leads through a link or to -// something other than a regular file. -var errOutsidePackage = errors.New("plugin page resource is not a regular package file") - -// readPackageFile reads a file of the package at root, following no -// symbolic link at any level, and at most limit bytes. -func readPackageFile(root string, segments []string, limit int64) ([]byte, error) { - path := root - for _, segment := range segments { - path = filepath.Join(path, segment) - info, err := os.Lstat(path) - if err != nil { - return nil, err - } - if info.Mode()&os.ModeSymlink != 0 { - return nil, errOutsidePackage - } - } - file, err := os.Open(path) - if err != nil { - return nil, err - } - defer file.Close() - opened, err := file.Stat() - if err != nil { - return nil, err - } - linked, err := os.Lstat(path) - // The file must still be the regular file checked above, not one a - // concurrent change put in its place. - if err != nil || !opened.Mode().IsRegular() || !os.SameFile(opened, linked) { - return nil, errOutsidePackage - } - if opened.Size() > limit { - return nil, fmt.Errorf("plugin page resource is larger than %d bytes", limit) - } - data, err := io.ReadAll(io.LimitReader(file, limit+1)) - if err != nil { - return nil, err - } - if int64(len(data)) > limit { - return nil, fmt.Errorf("plugin page resource is larger than %d bytes", limit) - } - return data, nil -} - // Loaded reports a navigation of the page; one that leaves the plugin's // origin is sent back to the page's entry. func (p *Page) Loaded(url string) { diff --git a/desktop/internal/pluginweb/page_test.go b/desktop/internal/pluginweb/page_test.go index 007de56230..f4eb632811 100644 --- a/desktop/internal/pluginweb/page_test.go +++ b/desktop/internal/pluginweb/page_test.go @@ -3,7 +3,6 @@ package pluginweb import ( "context" "encoding/json" - "errors" "os" "path/filepath" "strings" @@ -210,22 +209,6 @@ func TestPageServesItsPackageOnly(t *testing.T) { } } -func TestReadPackageFileEnforcesTheLimit(t *testing.T) { - dir := t.TempDir() - if err := os.WriteFile(filepath.Join(dir, "big.bin"), make([]byte, 33), 0o644); err != nil { - t.Fatal(err) - } - if _, err := readPackageFile(dir, []string{"big.bin"}, 32); err == nil { - t.Fatal("a file over the limit was read") - } - if data, err := readPackageFile(dir, []string{"big.bin"}, 33); err != nil || len(data) != 33 { - t.Fatalf("read = %d %v", len(data), err) - } - if _, err := readPackageFile(dir, nil, 1<<20); !errors.Is(err, errOutsidePackage) { - t.Fatalf("the package directory itself was read: %v", err) - } -} - func TestPageRequestsReachTheHost(t *testing.T) { f := openFixture(t) if reply := f.request(t, 1, "ui.setState", map[string]any{"state": map[string]int{"tab": 2}}); string(reply["ok"]) != "{}" { diff --git a/desktop/internal/workbench/app.go b/desktop/internal/workbench/app.go index 59288b8c8d..298a34d8df 100644 --- a/desktop/internal/workbench/app.go +++ b/desktop/internal/workbench/app.go @@ -36,6 +36,7 @@ import ( "github.com/1lck/Lithe-IDEA/desktop/internal/logwindow" "github.com/1lck/Lithe-IDEA/desktop/internal/marketplace" "github.com/1lck/Lithe-IDEA/desktop/internal/plugindiag" + "github.com/1lck/Lithe-IDEA/desktop/internal/pluginicons" "github.com/1lck/Lithe-IDEA/desktop/internal/pluginpkg" "github.com/1lck/Lithe-IDEA/desktop/internal/pluginservice" "github.com/1lck/Lithe-IDEA/desktop/internal/projectgen" @@ -116,8 +117,13 @@ type Kernel interface { // folders and order of the list (runconfig_dialog.go). CopyRunConfiguration(ctx context.Context, root, configurationID, name string, plugins []core.RunInstalledPlugin) (string, []core.RunConfigChange, error) ArrangeRunConfigurations(ctx context.Context, request core.RunConfigArrangement) ([]core.RunConfigChange, error) - // RunBeforeLaunch expands the steps a configuration runs before it starts (runconfig_before_launch.go). - RunBeforeLaunch(ctx context.Context, root, configurationID string) (core.RunBeforeLaunch, error) + // RunBeforeLaunch expands the steps a configuration runs before it starts, and + // PlanBeforeLaunchTask the command of a plugin task step (runconfig_before_launch.go). + // CheckBeforeLaunchTask and BeforeLaunchField edit the list (runconfig_steps.go). + RunBeforeLaunch(ctx context.Context, root, configurationID string, plugins *core.RunTypePlugins) (core.RunBeforeLaunch, error) + PlanBeforeLaunchTask(ctx context.Context, manifest json.RawMessage, buildSystemID, workspaceRoot string, request core.BeforeLaunchTaskPlanRequest) (core.BuildPlan, error) + CheckBeforeLaunchTask(ctx context.Context, root string, runType core.RunTypeKey, values map[string]json.RawMessage, plugins *core.RunTypePlugins) (core.RunTaskCheck, error) + BeforeLaunchField(ctx context.Context, root, configurationID string, plugins *core.RunTypePlugins) (core.RunBeforeLaunchField, error) RunArgumentText(ctx context.Context, lists [][]string) ([]string, error) SetDebugBreakpoints(ctx context.Context, sessionID, sourcePath string, breakpoints []core.DebugSourceBreakpoint) (core.DebugUpdate, error) ExecuteDebug(ctx context.Context, sessionID, operationID, command string, threadID *int64, granularity string) (core.DebugUpdate, error) @@ -625,6 +631,9 @@ type App struct { // plugins is the plugin stack, nil when the window was built without a plugin // kernel or without a writable plugin root. plugins *pluginservice.Service + // pluginIcons are the icons read from installed packages: read off the window thread, + // looked up while drawing. + pluginIcons pluginicons.Cache // pluginDownloads holds native temporary file leases for the open settings window. pluginDownloads *marketplace.ArchiveSession // prompts are the questions plugins ask the user, one sheet at a time. diff --git a/desktop/internal/workbench/root.go b/desktop/internal/workbench/root.go index a8e61e6d3f..82fc1e6bc3 100644 --- a/desktop/internal/workbench/root.go +++ b/desktop/internal/workbench/root.go @@ -313,6 +313,7 @@ func (a *App) overlays(c ui.C) { a.drawWorktreeDialog(c, p) a.drawRunConfigDialog(c, p) a.drawRunConfigDelete(c, p) + a.drawRunConfigTask(c, p) a.drawBeforeLaunchConfirmation(c, p) a.buildOptionsDialog(c, p) a.drawStartupSweep(c) diff --git a/desktop/internal/workbench/runconfig.go b/desktop/internal/workbench/runconfig.go index d38334a4f4..2087ee898d 100644 --- a/desktop/internal/workbench/runconfig.go +++ b/desktop/internal/workbench/runconfig.go @@ -36,11 +36,13 @@ type runConfigState struct { // types are the kinds a user can create, in display order, each with the reason this // platform cannot run it, if any: the built-in ones, then the ones enabled plugins // declare. typePlugins are the plugins that declare them, as requests about those kinds - // send them, nil when none does; both are replaced, never changed, by the next read. - // typesLoading is set while they are asked for, and typesStale says to read them again - // once that answers (loadRunConfigTypes). + // send them, nil when none does, and typeDirectories their package directories by plugin + // ID, where the icons they name are read; all are replaced, never changed, by the next + // read. typesLoading is set while they are asked for, and typesStale says to read them + // again once that answers (loadRunConfigTypes). types []core.RunConfigurationType typePlugins *core.RunTypePlugins + typeDirectories map[string]string typesLoading, typesStale bool // manualOrder says list is in the order the user gave it on this machine rather than by // name; Core keeps the choice locally and lists the configurations in that order. @@ -52,6 +54,8 @@ type runConfigState struct { reveal string // deleting is the user configuration whose delete waits for confirmation. deleting *runConfigDeletion + // task is the open form of a before-launch task step, over the dialog (runconfig_steps.go). + task *runConfigTaskEdit // beforeLaunch is the start that waits for the user to allow the steps a project file // names before it (runconfig_before_launch.go). beforeLaunch *beforeLaunchConfirmation diff --git a/desktop/internal/workbench/runconfig_before_launch.go b/desktop/internal/workbench/runconfig_before_launch.go index 8ac4e67ad3..78db2299df 100644 --- a/desktop/internal/workbench/runconfig_before_launch.go +++ b/desktop/internal/workbench/runconfig_before_launch.go @@ -1,22 +1,26 @@ package workbench -// Steps before launch (#1616): a run configuration names built-in process runs that start, -// in order, before it does, as IntelliJ IDEA's "Before launch: Run Another Configuration". -// Core expands the list and says whether a project file named it -// (`runConfig.beforeLaunch`); the host asks once per list a project file names, runs each -// step as its process run, writes the output to the console of the configuration that -// starts, and starts the configuration only after every step exited with 0. Stopping the +// Steps before launch (#1616): a run configuration names steps that start, in order, before +// it does, as IntelliJ IDEA's "Before launch" list: another built-in process run, or a task a +// plugin declares (API-29, `beforeLaunchTasks`), such as running a build tool's command. Core +// expands the list and says whether a project file named it (`runConfig.beforeLaunch`); the +// host asks once per list a project file names, runs each step (a process run as its launch +// plan, a task as Core's plan of it, `build.beforeLaunchTaskPlan`, by the build tool the +// plugin's detected instance resolves), writes the output to the console of the configuration +// that starts, and starts the configuration only after every step exited with 0. Stopping the // configuration stops the step that runs. // // Note: 决策见 .agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md import ( "context" + "encoding/json" "errors" "fmt" "os/exec" "slices" + "github.com/1lck/Lithe-IDEA/desktop/internal/buildprocess" "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" "github.com/vivaui/viva/gfx" @@ -47,10 +51,11 @@ type beforeLaunchConfirmation struct { // with the reason in its console. func (a *App) runBeforeLaunch(p *project, op *buildOperation, id string, start func()) { root, kernel := p.root, a.kernel + kinds, language := p.runConfigs.kinds(), a.language().Code() a.background(p, runPreparationTimeout, func(ctx context.Context) func(*App) { prepare, release := op.bind(ctx) defer release() - steps, err := kernel.RunBeforeLaunch(prepare, root, id) + steps, err := kernel.RunBeforeLaunch(prepare, root, id, a.runTypePlugins(prepare, kernel, kinds, language)) return func(a *App) { if !a.ownsLiveOperation(p, op) { a.finishBuildError(p, op, context.Canceled) @@ -85,11 +90,15 @@ func (a *App) ownsLiveOperation(p *project, op *buildOperation) bool { return a.project == p && p.build.owns(op) && !op.cancelled } -// refuseBeforeLaunch ends op with why its steps cannot run. +// refuseBeforeLaunch ends op with why its steps cannot run. A refusal of a task step names +// the configuration that lists it and the task's kind. func (a *App) refuseBeforeLaunch(p *project, op *buildOperation, refusal *core.RunBeforeLaunchRefusal) { - code, step := "", "" + code, step, task := "", "", "" if refusal != nil { code, step = refusal.Code, refusal.ConfigurationID + if refusal.Task != nil { + task = refusal.Task.Type + } } if configuration := p.runConfigs.configuration(step); configuration != nil { step = configuration.Name @@ -107,6 +116,10 @@ func (a *App) refuseBeforeLaunch(p *project, op *buildOperation, refusal *core.R message = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.refused.cycle", map[string]string{"step": step}) case "tooLong": message = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.refused.tooLong", map[string]string{"step": step}) + case "taskNotDeclared": + message = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.refused.taskNotDeclared", map[string]string{"step": step, "task": task}) + case "invalidTaskValues": + message = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.refused.invalidTaskValues", map[string]string{"step": step, "task": task}) default: message = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.refused.other", map[string]string{"step": step}) } @@ -115,18 +128,41 @@ func (a *App) refuseBeforeLaunch(p *project, op *buildOperation, refusal *core.R a.finishBuildError(p, op, errors.New(message)) } +// beforeLaunchRun is what the steps of one start take from the window thread: the project, +// the kernel and language, the build messages and plugin directory a task's plan needs, and, +// per step that runs a plugin's task, the detected instances of the build system that +// declares it. +type beforeLaunchRun struct { + root, pluginRoot string + kernel Kernel + language i18n.Language + messages i18n.BuildMessages + instances [][]buildInstance +} + // runBeforeLaunchSteps starts each step in order off the window thread and waits for it; // start runs once the last one exited with 0. Each step is bounded like a run's // preparation and ends when op is stopped. func (a *App) runBeforeLaunchSteps(p *project, op *buildOperation, steps []core.RunBeforeLaunchItem, start func()) { - root, kernel, language := p.root, a.kernel, a.language() + run := beforeLaunchRun{ + root: p.root, kernel: a.kernel, language: a.language(), messages: a.text.Build, + instances: make([][]buildInstance, len(steps)), + } + if a.plugins != nil { + run.pluginRoot = a.plugins.Root + } + for index, step := range steps { + if step.Task != nil { + run.instances[index] = p.runTypeInstances(step.Task.RunTypeKey) + } + } a.background(p, 0, func(ctx context.Context) func(*App) { for index, step := range steps { - header := i18n.SharedFormat(language, "desktop.runConfig.beforeLaunch.stepHeader", map[string]string{ + header := i18n.SharedFormat(run.language, "desktop.runConfig.beforeLaunch.stepHeader", map[string]string{ "index": fmt.Sprint(index + 1), "count": fmt.Sprint(len(steps)), "name": step.Name, }) a.streamBuildOutput(p, op, "\x1b[2m"+header+"\x1b[0m\n") - if err := a.runBeforeLaunchStep(ctx, p, op, kernel, language, root, step); err != nil { + if err := a.runBeforeLaunchStep(ctx, p, op, run, run.instances[index], step); err != nil { return func(a *App) { a.failBeforeLaunch(p, op, step, err) } } } @@ -141,15 +177,18 @@ func (a *App) runBeforeLaunchSteps(p *project, op *buildOperation, steps []core. } // runBeforeLaunchStep starts one step's process with its output in op's console and waits -// for it to exit. -func (a *App) runBeforeLaunchStep(ctx context.Context, p *project, op *buildOperation, kernel Kernel, language i18n.Language, root string, step core.RunBeforeLaunchItem) error { +// for it to exit. instances are the detected instances of the build system whose task the +// step runs, nil for a process run. +func (a *App) runBeforeLaunchStep(ctx context.Context, p *project, op *buildOperation, run beforeLaunchRun, instances []buildInstance, step core.RunBeforeLaunchItem) error { bounded, cancel := context.WithTimeout(ctx, runPreparationTimeout) defer cancel() prepare, release := op.bind(bounded) defer release() - process, cleanup, err := a.startConfiguredProcess(prepare, prepare, kernel, language, root, step.ConfigurationID, func(text string) { - a.streamBuildOutput(p, op, text) - }) + output := func(text string) { a.streamBuildOutput(p, op, text) } + if step.Task != nil { + return a.runBeforeLaunchTask(prepare, p, run, instances, step, output) + } + process, cleanup, err := a.startConfiguredProcess(prepare, prepare, run.kernel, run.language, run.root, step.ConfigurationID, output) defer cleanup() if err != nil { return err @@ -157,6 +196,34 @@ func (a *App) runBeforeLaunchStep(ctx context.Context, p *project, op *buildOper return process.Wait() } +// runBeforeLaunchTask starts the process of a plugin's task step under ctx and waits for it: +// Core plans the build system's command with the saved values, at the step's working +// directory, and the build tool of the instance the plan picks runs it. A build system with +// no detected instance cannot run the task. +func (a *App) runBeforeLaunchTask(ctx context.Context, p *project, run beforeLaunchRun, instances []buildInstance, step core.RunBeforeLaunchItem, output func(string)) error { + if len(instances) == 0 || run.pluginRoot == "" { + return errors.New(run.messages.TargetMissing) + } + task := *step.Task + spec, err := a.declaredProcessSpec(ctx, p, run.root, run.pluginRoot, instances, run.messages, func(manifest json.RawMessage, sources declaredPlanSources) (core.BuildPlan, error) { + return run.kernel.PlanBeforeLaunchTask(ctx, manifest, task.BuildSystemID, run.root, core.BeforeLaunchTaskPlanRequest{ + Task: task, WorkingDirectory: step.WorkingDirectory, Instances: sources.instances, + PluginDirectory: sources.pluginDirectory, WorkspaceStateDirectory: sources.stateDirectory, + }) + }) + if err == nil { + err = ctx.Err() + } + if err != nil { + return err + } + process, err := buildprocess.Start(ctx, spec, func(_ buildprocess.Stream, text string) { output(text) }) + if err != nil { + return err + } + return process.Wait() +} + // failBeforeLaunch ends op because step did not exit with 0, naming the step and its exit // code; a stop ends it as stopped. func (a *App) failBeforeLaunch(p *project, op *buildOperation, step core.RunBeforeLaunchItem, err error) { diff --git a/desktop/internal/workbench/runconfig_before_launch_test.go b/desktop/internal/workbench/runconfig_before_launch_test.go index 104536765c..99f3a4e965 100644 --- a/desktop/internal/workbench/runconfig_before_launch_test.go +++ b/desktop/internal/workbench/runconfig_before_launch_test.go @@ -195,19 +195,41 @@ func TestStoppingDuringABeforeLaunchStepEndsIt(t *testing.T) { } } -// The editor shows the chosen steps by name, offers the other process runs and sends the -// edited list; a save that did not change the list sends none. +// The editor keeps the steps Core read, process runs and plugin tasks alike, sends the edited +// list in order, and counts a list as changed only when what it saves changed: the name and +// summary Core gave a task are not saved. func TestRunConfigFormKeepsTheStepList(t *testing.T) { + task := `{"task":{"pluginID":"io.example","buildSystemID":"go","type":"command","values":{"command":"generate"}},"name":"Run Go command","summary":"go generate"}` f := &runConfigForm{values: map[string]json.RawMessage{}, texts: map[string]*string{}, flags: map[string]*bool{}} f.fields = []core.RunEditorField{{ID: "beforeLaunch", Kind: runFieldBeforeLaunch}} - f.readValues(f.fields, map[string]json.RawMessage{"beforeLaunch": json.RawMessage(`["user:a","user:b"]`)}) + f.readValues(f.fields, map[string]json.RawMessage{"beforeLaunch": json.RawMessage(`["user:a",` + task + `,"user:b"]`)}) if !f.drawable(i18n.English, f.fields[0]) { t.Fatal("the step field is not drawn") } - moveRunConfigStep(f.beforeLaunch, 1, 0) - moveRunConfigStep(f.beforeLaunch, 1, 2) - if got := string(f.collect()["beforeLaunch"]); got != `["user:b","user:a"]` { - t.Fatalf("collected %s", got) + read := slices.Clone(f.beforeLaunch.items) + moveRunConfigStep(f.beforeLaunch.items, 2, 0) + moveRunConfigStep(f.beforeLaunch.items, 2, 3) + var collected []json.RawMessage + if err := json.Unmarshal(f.collect()["beforeLaunch"], &collected); err != nil || len(collected) != 3 { + t.Fatalf("collected %s (%v)", f.collect()["beforeLaunch"], err) + } + if string(collected[0]) != `"user:b"` || string(collected[2]) != `"user:a"` { + t.Fatalf("collected %s", f.collect()["beforeLaunch"]) + } + var step core.RunTaskStep + if err := json.Unmarshal(collected[1], &step); err != nil || step.Task.Type != "command" || string(step.Task.Values) != `{"command":"generate"}` { + t.Fatalf("the task step collected as %s (%v)", collected[1], err) + } + + renamed := slices.Clone(read) + renamedTask := *renamed[1].Task + renamedTask.Name, renamedTask.Summary = "another name", "another summary" + renamed[1].Task = &renamedTask + if !sameRunConfigSteps(read, renamed) { + t.Fatal("a task's name and summary count as a change") + } + if sameRunConfigSteps(read, f.beforeLaunch.items) { + t.Fatal("a moved step does not count as a change") } empty := &runConfigForm{values: map[string]json.RawMessage{}, texts: map[string]*string{}, flags: map[string]*bool{}} @@ -216,20 +238,11 @@ func TestRunConfigFormKeepsTheStepList(t *testing.T) { if got := string(empty.collect()["beforeLaunch"]); got != `[]` { t.Fatalf("an empty list collected %s", got) } - - s := runConfigState{list: []core.RunConfiguration{ - {ID: "user:a", Name: "a", Provider: runProviderShell}, - {ID: "user:self", Name: "self", Provider: runProviderShell}, - {ID: "run:maven", Name: "maven", Provider: "build.example"}, - }} - candidates := s.beforeLaunchCandidates("user:self") - if len(candidates) != 1 || candidates[0].ID != "user:a" { - t.Fatalf("candidates = %+v", candidates) - } } -// In the Run/Debug Configurations window a step added from the menu of Add step counts as a -// change, so Apply saves it with the configuration and the dialog shows nothing left to save. +// In the Run/Debug Configurations window a step added from the Add New Task menu (Run Another +// Configuration) counts as a change, so Apply saves it with the configuration and the dialog +// shows nothing left to save. func TestRunConfigDialogSavesAnAddedStep(t *testing.T) { root := t.TempDir() writeBeforeLaunchDocument(t, root, "local.yaml", @@ -251,10 +264,11 @@ func TestRunConfigDialogSavesAnAddedStep(t *testing.T) { t.Fatal("the opened configuration shows as something to save") } h.clickNamed(i18n.Shared(h.app.language(), "desktop.runConfig.beforeLaunchAdd")) + h.clickNamed(i18n.Shared(h.app.language(), "desktop.runConfig.beforeLaunchRunAnother")) h.clickNamed("generate") h.settle() - if !slices.Equal(f.beforeLaunch, []string{"user:generate"}) || !d.dirty() { - t.Fatalf("steps %v, dirty %v after the menu added one", f.beforeLaunch, d.dirty()) + if len(f.beforeLaunch.items) != 1 || f.beforeLaunch.items[0].ConfigurationID != "user:generate" || !d.dirty() { + t.Fatalf("steps %+v, dirty %v after the menu added one", f.beforeLaunch.items, d.dirty()) } applyDialog(t, h, p, runConfigDialogApply) @@ -266,3 +280,167 @@ func TestRunConfigDialogSavesAnAddedStep(t *testing.T) { t.Fatalf("dialog open %v dirty %v after Apply", d.open, d.dirty()) } } + +// A task a plugin declares is an entry of the Before Launch menu, under its translated name: +// choosing it opens the task's own form, OK has Core check the values, a missing required one +// stays in the form under its field, and the step Core returns joins the list. The saved +// configuration runs the task by the plugin's build tool before it starts, after the project +// file's list was allowed, with the task's output first in the configuration's console. +func TestPluginDeclaredBeforeLaunchTaskIsAddedAndRunsFirst(t *testing.T) { + h, p, root := runTypesHarness(t, "print", true) + f := newDeclaredRunDraft(t, h, p) + if f.beforeLaunch == nil { + t.Fatal("the new configuration has no Before Launch list") + } + fillDeclaredRun(t, h, p, f, "Fixture Alpha", false) + h.settle() + language := h.app.language() + h.clickNamed(i18n.Shared(language, "desktop.runConfig.beforeLaunchAdd")) + h.settle() + if !h.shows(i18n.Shared(language, "desktop.runConfig.beforeLaunchRunAnother")) || !h.shows("夹具任务") { + t.Fatal("the Before Launch menu does not offer the plugin's task under its Chinese name") + } + h.clickNamed("夹具任务") + awaitStateWithin(t, h, 10*time.Second, "the task form", func() bool { return p.runConfigs.task != nil }) + task := p.runConfigs.task + h.settle() + if !h.shows("任务目标") || !h.shows("准备夹具。") { + t.Fatal("the task form does not show the task's translated field and description") + } + + ok := i18n.Shared(language, "desktop.runConfig.ok") + h.clickNamed(ok) + awaitStateWithin(t, h, 10*time.Second, "Core's check of the empty target", func() bool { return !task.checking }) + if p.runConfigs.task != task || task.form.errors["field:target"] != "required" || len(f.beforeLaunch.items) != 0 { + t.Fatalf("an empty required target: form open %v, errors %v, steps %+v", p.runConfigs.task == task, task.form.errors, f.beforeLaunch.items) + } + h.app.post(func(a *App) { *task.form.texts["field:target"] = "beta" }) + h.settle() + h.clickNamed(ok) + awaitStateWithin(t, h, 10*time.Second, "the added task step", func() bool { return p.runConfigs.task == nil }) + prepare := core.RunTypeKey{PluginID: runTypesPluginID, BuildSystemID: "fixture-runs", Type: "prepare"} + if len(f.beforeLaunch.items) != 1 || f.beforeLaunch.items[0].Task == nil || f.beforeLaunch.items[0].Task.Task.RunTypeKey != prepare { + t.Fatalf("steps after OK = %+v", f.beforeLaunch.items) + } + h.settle() + if !h.shows("夹具任务") { + t.Fatal("the list does not show the added task") + } + + applyDialog(t, h, p, runConfigDialogRun) + awaitStateWithin(t, h, 10*time.Second, "the confirmation", func() bool { return p.runConfigs.beforeLaunch != nil }) + if steps := p.runConfigs.beforeLaunch.steps; len(steps) != 1 || steps[0].Task == nil || steps[0].Task.RunTypeKey != prepare { + t.Fatalf("asked steps = %+v", steps) + } + h.settle() + h.clickNamed(i18n.Shared(language, "desktop.runConfig.beforeLaunch.confirmRun")) + run := awaitProcessRun(t, h, p, "Fixture Alpha", nil) + console := run.output.all() + step, own := strings.Index(console, "run-type ran: task beta"), strings.Index(console, "run-type ran: fast -v alpha one two") + if step < 0 || own < step { + t.Fatalf("the task did not run before the configuration; console:\n%s", console) + } + data, err := os.ReadFile(filepath.Join(root, ".lithe", "run", "plugin", runTypesPluginID+".toml")) + if err != nil || !strings.Contains(string(data), "prepare") || !strings.Contains(string(data), "beta") { + t.Fatalf("plugin run document = %s, %v", data, err) + } + if saved := p.runConfigs.configuration(p.runConfigs.list[0].ID); saved == nil || len(saved.BeforeLaunch) != 1 || + saved.BeforeLaunch[0].Task == nil || saved.BeforeLaunch[0].Task.RunTypeKey != prepare { + t.Fatalf("saved configuration = %+v", saved) + } +} + +// The Before Launch section works as IntelliJ IDEA's: "−", the pencil and the arrows wait for +// a selected step; the arrows move it and the selection with it; the pencil on a run step +// opens the list of configurations to run, and the one chosen takes the step's place; "−" +// removes the step and selects the next; with no step left the list says so; the title folds +// the section and opens it again. Every change counts as an edit of the configuration. +func TestRunConfigBeforeLaunchToolbarEditsTheList(t *testing.T) { + root := t.TempDir() + writeBeforeLaunchDocument(t, root, "local.yaml", + beforeLaunchEcho("user:generate", "step-generate"), + beforeLaunchEcho("user:compile", "step-compile"), + beforeLaunchEcho("user:lint", "step-lint"), + beforeLaunchEcho("user:app", "app-ran", "user:generate", "user:compile"), + ) + h, p := openBeforeLaunchProject(t, root) + d := &p.runConfigs.dialog + h.app.post(func(a *App) { a.openRunConfigDialog(p, "user:app") }) + var f *runConfigForm + awaitStateWithin(t, h, 10*time.Second, "the editor of app", func() bool { + if draft := d.drafts["user:app"]; draft != nil { + f = draft.form + } + return f != nil && f.ready() && f.beforeLaunch != nil + }) + h.settle() + language := h.app.language() + text := func(id string) string { return i18n.Shared(language, id) } + runStep := func(name string) string { + return i18n.SharedFormat(language, "desktop.runConfig.beforeLaunchRunStep", map[string]string{"name": name}) + } + order := func() []string { + var ids []string + for _, entry := range f.beforeLaunch.items { + ids = append(ids, entry.ConfigurationID) + } + return ids + } + remove, edit, up, down := text("desktop.runConfig.beforeLaunchRemove"), text("desktop.runConfig.beforeLaunchEdit"), + text("desktop.runConfig.beforeLaunchUp"), text("desktop.runConfig.beforeLaunchDown") + if !h.shows(runStep("generate")) || !h.shows(runStep("compile")) { + t.Fatal("the list does not show the saved steps as runs of their configurations") + } + for _, name := range []string{remove, edit, up, down} { + if !h.pageHit(name).Disabled { + t.Fatalf("%q acts with no step selected", name) + } + } + + h.clickNamed(runStep("compile")) + h.settle() + if f.beforeLaunch.selected != 1 || h.pageHit(remove).Disabled || h.pageHit(up).Disabled || !h.pageHit(down).Disabled { + t.Fatalf("after selecting the last step: selected %d, remove/up/down disabled %v/%v/%v", + f.beforeLaunch.selected, h.pageHit(remove).Disabled, h.pageHit(up).Disabled, h.pageHit(down).Disabled) + } + h.clickNamed(up) + h.settle() + if !slices.Equal(order(), []string{"user:compile", "user:generate"}) || f.beforeLaunch.selected != 0 || !d.dirty() { + t.Fatalf("after moving up: steps %v, selected %d, dirty %v", order(), f.beforeLaunch.selected, d.dirty()) + } + + h.clickNamed(edit) + h.settle() + if !f.beforeLaunch.choose || !h.shows(text("desktop.runConfig.beforeLaunchChooseTitle")) { + t.Fatal("the pencil on a run step does not open the list of configurations to run") + } + h.clickNamed("lint") + h.settle() + if !slices.Equal(order(), []string{"user:lint", "user:generate"}) || f.beforeLaunch.selected != 0 || f.beforeLaunch.choose { + t.Fatalf("after choosing lint for the first step: steps %v, selected %d, chooser open %v", order(), f.beforeLaunch.selected, f.beforeLaunch.choose) + } + + h.clickNamed(remove) + h.settle() + if !slices.Equal(order(), []string{"user:generate"}) || f.beforeLaunch.selected != 0 { + t.Fatalf("after removing the first step: steps %v, selected %d", order(), f.beforeLaunch.selected) + } + h.clickNamed(remove) + h.settle() + empty := text("desktop.runConfig.beforeLaunchEmpty") + if len(order()) != 0 || f.beforeLaunch.selected != -1 || !h.shows(empty) { + t.Fatalf("after removing the last step: steps %v, selected %d, empty note shown %v", order(), f.beforeLaunch.selected, h.shows(empty)) + } + + title := text("desktop.runConfig.fieldBeforeLaunch") + h.clickNamed(text("native.collapseSection") + " " + title) + h.settle() + if !f.beforeLaunch.collapsed || h.shows(empty) { + t.Fatal("the title does not fold the section") + } + h.clickNamed(text("native.expandSection") + " " + title) + h.settle() + if f.beforeLaunch.collapsed || !h.shows(empty) { + t.Fatal("the title does not open the folded section") + } +} diff --git a/desktop/internal/workbench/runconfig_before_launch_visual_test.go b/desktop/internal/workbench/runconfig_before_launch_visual_test.go index 843ca238e1..f639c22418 100644 --- a/desktop/internal/workbench/runconfig_before_launch_visual_test.go +++ b/desktop/internal/workbench/runconfig_before_launch_visual_test.go @@ -15,8 +15,9 @@ import ( ) // TestVisualBeforeLaunchSteps captures the steps before launch: the Run/Debug Configurations -// window editing a run with two steps, the question before the steps a project file names -// run, and the Run window after the steps and the run. It needs only LITHE_VISUAL_OUTPUT_DIR; +// window editing a run with two steps, the same list with a step selected and the list of +// configurations to run open, the question before the steps a project file names run, and +// the Run window after the steps and the run. It needs only LITHE_VISUAL_OUTPUT_DIR; // the dark captures are in Chinese and the light ones in English. func TestVisualBeforeLaunchSteps(t *testing.T) { out := os.Getenv("LITHE_VISUAL_OUTPUT_DIR") @@ -43,6 +44,7 @@ func TestVisualBeforeLaunchSteps(t *testing.T) { writeBeforeLaunchDocument(t, root, "configurations.yaml", beforeLaunchEcho("user:generate", "generated-sources"), beforeLaunchEcho("user:frontend", "frontend-built"), + beforeLaunchEcho("user:docs", "docs-built"), server, ) prefs := store.At(t.TempDir()) @@ -80,7 +82,15 @@ func TestVisualBeforeLaunchSteps(t *testing.T) { return draft != nil && draft.form != nil && draft.form.open && !draft.form.loading && draft.form.beforeLaunch != nil }) shot("editor") - h.app.post(func(a *App) { a.closeRunConfigDialog(p) }) + steps := d.drafts["user:server"].form.beforeLaunch + h.app.post(func(*App) { steps.selected = 1 }) + h.settleChain() + h.app.post(func(*App) { steps.choose = true }) + shot("choose") + h.app.post(func(a *App) { + steps.choose = false + a.closeRunConfigDialog(p) + }) h.app.post(func(a *App) { a.runConfiguration(p, "user:server") }) awaitStateWithin(t, h, 10*time.Second, "the confirmation", func() bool { return p.runConfigs.beforeLaunch != nil }) diff --git a/desktop/internal/workbench/runconfig_dialog.go b/desktop/internal/workbench/runconfig_dialog.go index 6ba0ec73c8..f97e44478f 100644 --- a/desktop/internal/workbench/runconfig_dialog.go +++ b/desktop/internal/workbench/runconfig_dialog.go @@ -216,6 +216,9 @@ func (a *App) openRunConfigDialog(p *project, id string) { // closeRunConfigDialog closes the dialog and drops every draft; answers still out are ignored. func (a *App) closeRunConfigDialog(p *project) { d := &p.runConfigs.dialog + if t := p.runConfigs.task; t != nil { + p.closeRunConfigTask(t) + } d.dropDrafts() d.generation++ d.open, d.saving, d.newMenu = false, false, runConfigNewMenuClosed @@ -532,7 +535,7 @@ func (p *project) collectRunConfigDialogRows(a *App) { members[group.key] = append(members[group.key], key) } kindGroup := func(kind runConfigKind) runConfigDialogGroup { - return runConfigDialogGroup{key: kind.groupKey(), title: s.kindTitle(language, kind), icon: s.kindIcon(kind, a.colors.Dark), order: s.kindOrder(kind)} + return runConfigDialogGroup{key: kind.groupKey(), title: s.kindTitle(language, kind), icon: s.kindIcon(kind, &a.pluginIcons, a.colors.Dark), order: s.kindOrder(kind)} } listed := map[string]bool{} for index := range s.list { diff --git a/desktop/internal/workbench/runconfig_dialog_view.go b/desktop/internal/workbench/runconfig_dialog_view.go index 6cb6aeb0d3..7879b63fd5 100644 --- a/desktop/internal/workbench/runconfig_dialog_view.go +++ b/desktop/internal/workbench/runconfig_dialog_view.go @@ -2,6 +2,7 @@ package workbench import ( "runtime" + "strings" "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/fileicons" @@ -154,20 +155,22 @@ func (a *App) drawRunConfigNewMenu(c ui.C, p *project, anchor ui.Box, at runConf } // runConfigDialogTypeItems adds an item per kind to the menu of kinds, each creating a new -// configuration of that kind: the built-in kinds, then the ones enabled plugins declare, each -// with the description its plugin gives. A kind this platform cannot run is still offered, -// saying so. +// configuration of that kind: the built-in kinds, then the ones enabled plugins declare. Every +// row stays one line: the description its plugin gives, and for a kind this platform cannot +// run (still offered) the note saying so, are the tip of an ⓘ at the row's end. func (a *App) runConfigDialogTypeItems(c ui.C, menu *ui.MenuItems, p *project) { language := a.language() s := &p.runConfigs + more := i18n.Shared(language, "native.moreInformation") + viewport := c.Bounds() for _, listed := range s.types { kind := runConfigKindOfType(listed) - item := menu.Item(s.kindTitle(language, kind)).Icon(s.kindIcon(kind, a.colors.Dark)) - switch { - case listed.Unavailable(): - item = item.Description(runConfigTypeNote(language, listed)) - case listed.Description != "": - item = item.Description(listed.Description) + item := menu.Item(s.kindTitle(language, kind)).Icon(s.kindIcon(kind, &a.pluginIcons, a.colors.Dark)) + if tip := runConfigTypeTip(language, listed); tip != "" { + id := ui.ID(c.Key("kindinfo:" + kind.groupKey())) + item = item.Trailing(runConfigTypeInfoWidth, func(canvas *gfx.Canvas, slot gfx.Rect, theme gfx.Theme) { + a.paintRunConfigTypeInfo(canvas, theme, slot, viewport, id, more, tip) + }) } if item.Clicked() { c.After(func() { @@ -181,6 +184,46 @@ func (a *App) runConfigDialogTypeItems(c ui.C, menu *ui.MenuItems, p *project) { } } +// runConfigTypeInfoWidth is the slot a kind's ⓘ takes at the end of its row in the menu of +// kinds, and runConfigTypeInfoSize the ⓘ inside it. +const ( + runConfigTypeInfoWidth = 22 + runConfigTypeInfoSize = 14 +) + +// runConfigTypeTip is what the ⓘ of a kind in the menu of kinds says: the note of a kind this +// platform cannot run, then the kind's description. It is empty for a kind with neither, whose +// row has no ⓘ. +func runConfigTypeTip(language i18n.Language, kind core.RunConfigurationType) string { + var lines []string + if kind.Unavailable() { + lines = append(lines, runConfigTypeNote(language, kind)) + } + if kind.Description != "" { + lines = append(lines, kind.Description) + } + return strings.Join(lines, "\n") +} + +// paintRunConfigTypeInfo paints a kind's ⓘ in slot, the end of its row in the menu of kinds, as +// a target of its own over the row's, so pressing it does not choose the kind. While the pointer +// rests on it, tip shows beside it as a field's ⓘ shows its tip; label names it for assistive +// technology, which reads tip as its hint. +func (a *App) paintRunConfigTypeInfo(canvas *gfx.Canvas, theme gfx.Theme, slot, viewport gfx.Rect, id gfx.ID, label, tip string) { + size := float32(runConfigTypeInfoSize) + bounds := gfx.Rect{X: slot.X + (slot.Width-size)/2, Y: slot.Y + (slot.Height-size)/2, Width: size, Height: size} + canvas.HitWithOptions(id, bounds, label, gfx.HitOptions{Role: gfx.RoleButton, Hint: tip, SkipFocus: true}) + hovered := canvas.Hovered() == id + tint := a.colors.Subtle + if hovered { + tint = a.colors.Text + } + canvas.DrawIcon(icons.Info, bounds, tint) + if hovered && canvas.Pressed().IsZero() { + components.BeginTooltip(canvas, theme, viewport, bounds, components.TooltipOptions{Layer: ui.TooltipLayer, Side: components.TooltipRight}).Paint(tip) + } +} + // runConfigTypeNote is the short note of a kind this platform cannot run, beside its name. func runConfigTypeNote(language i18n.Language, kind core.RunConfigurationType) string { if kind.Provider == runProviderBatch && kind.Availability != nil && kind.Availability.Code == "unsupportedPlatform" { @@ -487,14 +530,14 @@ func (a *App) drawRunConfigNameRow(c ui.C, field func(k ui.C, label string)) { func (a *App) runConfigDraftIcon(p *project, key string) gfx.Icon { if configuration := p.runConfigs.configuration(key); configuration != nil { if kind, ok := runConfigKindOf(*configuration); ok { - return p.runConfigs.kindIcon(kind, a.colors.Dark) + return p.runConfigs.kindIcon(kind, &a.pluginIcons, a.colors.Dark) } return runExecutionIcon(configuration.Execution) } if draft := p.runConfigs.dialog.drafts[key]; draft != nil { switch { case draft.form != nil: - return p.runConfigs.kindIcon(draft.form.kind, a.colors.Dark) + return p.runConfigs.kindIcon(draft.form.kind, &a.pluginIcons, a.colors.Dark) case draft.copyOf != "" && draft.icon.ViewBox > 0: return draft.icon } diff --git a/desktop/internal/workbench/runconfig_edit.go b/desktop/internal/workbench/runconfig_edit.go index 644849ef95..fe3b480ab9 100644 --- a/desktop/internal/workbench/runconfig_edit.go +++ b/desktop/internal/workbench/runconfig_edit.go @@ -51,11 +51,14 @@ type runConfigEditor struct { // the picker's selection, 0 for none. installs []runConfigInstall pick int - // beforeLaunch is the IDs of the process runs that start first, as the editor shows them; - // savedBeforeLaunch is the list it opened with, so a save that did not change it leaves the - // layers as they are. beforeLaunchMenu says the menu that adds a step is open. - beforeLaunch, savedBeforeLaunch []string - beforeLaunchMenu bool + // beforeLaunch is the steps that start first, as the editor shows them (runconfig_steps.go), + // nil until Core read the list (`runConfig.beforeLaunchField`); savedBeforeLaunch is the + // list it opened with, so a save that did not change it leaves the layers as they are. + // beforeLaunchCandidates and beforeLaunchTasks are what a step may run. + beforeLaunch *runConfigSteps + savedBeforeLaunch []core.RunBeforeLaunchEntry + beforeLaunchCandidates []core.RunConfigurationName + beforeLaunchTasks []core.RunTaskKind } // runConfigInstall is one discovered installation a tool choice can be set to. @@ -116,10 +119,6 @@ func (a *App) openRunConfigEditor(p *project, id string) *runConfigEditor { directory: configuration.Cwd, environment: environmentText(configuration.Env), scope: "local", loading: true, } - for _, step := range configuration.BeforeLaunch { - e.beforeLaunch = append(e.beforeLaunch, step.Configuration) - } - e.savedBeforeLaunch = slices.Clone(e.beforeLaunch) var buildInstance *buildInstance var optionSnapshot map[string]json.RawMessage if provider, ok := providerRunEditorState(*configuration); ok { @@ -138,12 +137,21 @@ func (a *App) openRunConfigEditor(p *project, id string) *runConfigEditor { a.loadRunConfigInstalls(p, e, e.generation) } generation := e.generation - args, kernel := slices.Clone(configuration.Args), a.kernel + args, kernel, root := slices.Clone(configuration.Args), a.kernel, p.root + kinds, language := p.runConfigs.kinds(), a.language().Code() a.background(p, buildRequestTimeout, func(ctx context.Context) func(*App) { texts, err := kernel.RunArgumentText(ctx, [][]string{args}) if err == nil && len(texts) != 1 { err = errors.New("runConfig.argumentText returned no text") } + var steps core.RunBeforeLaunchField + if err == nil { + read := a.runTypeRead(ctx, kernel, kinds, language) + steps, err = kernel.BeforeLaunchField(ctx, root, id, read.plugins) + if err == nil { + a.readRunTaskIcons(ctx, read, steps.Tasks) + } + } var resolvedFields []runOptionField if err == nil && buildInstance != nil { fields, resolveErr := resolveInstanceOptionFields(ctx, kernel, *buildInstance, optionSnapshot) @@ -160,6 +168,12 @@ func (a *App) openRunConfigEditor(p *project, id string) *runConfigEditor { e.loading = false if err == nil { e.arguments = texts[0] + e.beforeLaunch = newRunConfigSteps(slices.Clone(steps.Value)) + if e.beforeLaunch.items == nil { + e.beforeLaunch.items = []core.RunBeforeLaunchEntry{} + } + e.savedBeforeLaunch = slices.Clone(e.beforeLaunch.items) + e.beforeLaunchCandidates, e.beforeLaunchTasks = steps.Candidates, steps.Tasks } else { e.failure = i18n.SharedFormat(a.language(), "desktop.runConfig.saveFailed", map[string]string{"reason": err.Error()}) } @@ -185,7 +199,13 @@ func (e *runConfigEditor) ready() bool { // fingerprint is every value the editor saves, so a change shows as a different one. func (e *runConfigEditor) fingerprint() string { - values := []any{e.arguments, e.directory, e.environment, e.scope, e.runtimeArguments, e.entrypoint, append([]string{}, e.beforeLaunch...)} + var steps []any + if e.beforeLaunch != nil { + for _, entry := range e.beforeLaunch.items { + steps = append(steps, runConfigStepSaved(entry)) + } + } + values := []any{e.arguments, e.directory, e.environment, e.scope, e.runtimeArguments, e.entrypoint, steps} for _, tool := range e.tools { values = append(values, tool.id, tool.kind, tool.path) } @@ -220,10 +240,11 @@ func (a *App) saveRunConfigEditor(p *project, e *runConfigEditor, done func(ok b WorkingDirectory: strings.TrimSpace(e.directory), Arguments: e.arguments, Environment: environment, } steps := e.savedBeforeLaunch - if !slices.Equal(e.beforeLaunch, e.savedBeforeLaunch) { - steps = append([]string{}, e.beforeLaunch...) + if e.beforeLaunch != nil && !sameRunConfigSteps(e.beforeLaunch.items, e.savedBeforeLaunch) { + steps = slices.Clone(e.beforeLaunch.items) edit.BeforeLaunch = &steps } + kinds, language := p.runConfigs.kinds(), a.language().Code() var multiSelectEdits map[string][]string var multiSelectInstance *buildInstance var editorSnapshot runConfigEditor @@ -315,22 +336,13 @@ func (a *App) saveRunConfigEditor(p *project, e *runConfigEditor, done func(ok b } edit.ProviderRunOptions = raw } + if edit.BeforeLaunch != nil { + edit.RunTypePlugins = a.runTypePlugins(ctx, kernel, kinds, language) + } return finish(a.saveRunConfigOptions(ctx, edit)) }) } -// beforeLaunchCandidates is the process runs configuration id can run first: every built-in -// process run that can start, other than itself, as Core allows them. -func (s *runConfigState) beforeLaunchCandidates(id string) []core.RunConfigurationName { - var candidates []core.RunConfigurationName - for _, configuration := range s.list { - if configuration.ID != id && configuration.IsProcess() && !configuration.Unavailable() { - candidates = append(candidates, core.RunConfigurationName{ID: configuration.ID, Name: configuration.Name}) - } - } - return candidates -} - // saveRunConfigOptions has Core compute the file changes of the edit and applies them as one // transaction, only while every file still holds the bytes Core read. func (a *App) saveRunConfigOptions(ctx context.Context, edit core.RunOptionsEdit) error { diff --git a/desktop/internal/workbench/runconfig_edit_test.go b/desktop/internal/workbench/runconfig_edit_test.go index c34376173a..966f250ce9 100644 --- a/desktop/internal/workbench/runconfig_edit_test.go +++ b/desktop/internal/workbench/runconfig_edit_test.go @@ -96,12 +96,12 @@ func TestRunConfigEditorSavesTheLocalLayer(t *testing.T) { } // A changed step list counts as a change; one emptied again is the list the editor read. - h.app.post(func(*App) { e.beforeLaunch = []string{"user:prepare"} }) + h.app.post(func(*App) { e.beforeLaunch.items = []core.RunBeforeLaunchEntry{{ConfigurationID: "user:prepare"}} }) h.settle() if !d.dirty() { t.Fatal("a changed step list does not show as something to save") } - h.app.post(func(*App) { e.beforeLaunch = []string{} }) + h.app.post(func(*App) { e.beforeLaunch.items = []core.RunBeforeLaunchEntry{} }) h.settle() if d.dirty() { t.Fatal("an emptied step list shows as something to save") diff --git a/desktop/internal/workbench/runconfig_form.go b/desktop/internal/workbench/runconfig_form.go index 974aa76e68..d963470167 100644 --- a/desktop/internal/workbench/runconfig_form.go +++ b/desktop/internal/workbench/runconfig_form.go @@ -109,13 +109,18 @@ type runConfigForm struct { // pointers, so each widget keeps the address it is bound by while the maps grow. texts map[string]*string flags map[string]*bool + // areas size each multiline text field to its text by field ID (runConfigTextArea); + // one is made as its field is first drawn. + areas map[string]*runConfigTextArea // environment is the variable rows in order; each row keeps its address while rows // are added or removed. environment []*runConfigVariable - // beforeLaunch is the IDs of the process runs that start before this one, in order; nil - // until the form names the field. beforeLaunchMenu says the menu that adds one is open. - beforeLaunch []string - beforeLaunchMenu bool + // beforeLaunch is the steps that run before this configuration, in order (runconfig_steps.go); + // nil until the form names the field. + beforeLaunch *runConfigSteps + // task says the form edits the values of a before-launch task step rather than a + // configuration (runconfig_steps.go): Core checks them on OK, and an edit asks for nothing. + task bool // errors are the wrong values the last save reported: a code such as required by field ID. errors map[string]string // refreshing says an editorForm request for the edited values is out, so the automatic @@ -189,7 +194,7 @@ func (a *App) loadRunConfigTypes(p *project, reload bool) { s.types = append(s.types, kind) } } - s.typePlugins = kinds.plugins + s.typePlugins, s.typeDirectories = kinds.plugins, kinds.directories } if s.typesStale { a.loadRunConfigTypes(p, true) @@ -225,16 +230,17 @@ func (f *runConfigForm) ready() bool { // requestRunConfigForm asks Core for the editor. The first answer fills the fields and // values; a later one, for the values being edited, only replaces the field descriptions, // so the automatic values follow the edit and nothing the user typed since is lost. -// A declared kind's request carries the plugins that declare kinds, so its fields read in -// the interface language. +// The request carries the plugins that declare kinds and before-launch tasks, so a declared +// kind's fields read in the interface language and the Before Launch field offers the tasks. func (a *App) requestRunConfigForm(p *project, f *runConfigForm, generation uint64, request core.RunEditorFormRequest, initial bool) { kernel, kinds, language := a.kernel, p.runConfigs.kinds(), a.language().Code() - declared := f.kind.declared() a.background(p, buildRequestTimeout, func(ctx context.Context) func(*App) { - if declared { - request.RunTypePlugins = a.runTypePlugins(ctx, kernel, kinds, language) - } + read := a.runTypeRead(ctx, kernel, kinds, language) + request.RunTypePlugins = read.plugins form, err := kernel.RunEditorForm(ctx, request) + for _, field := range form.Fields { + a.readRunTaskIcons(ctx, read, field.Tasks) + } return func(a *App) { if !f.open || f.generation != generation { return @@ -323,13 +329,7 @@ func (f *runConfigForm) readValues(fields []core.RunEditorField, values map[stri } case field.Kind == runFieldBeforeLaunch: if f.beforeLaunch == nil { - f.beforeLaunch = []string{} - if known { - _ = json.Unmarshal(raw, &f.beforeLaunch) - } - if f.beforeLaunch == nil { - f.beforeLaunch = []string{} - } + f.beforeLaunch = runConfigStepsOf(raw) } case runFieldTextual(field.Kind): if f.texts[field.ID] == nil { @@ -362,7 +362,7 @@ func (f *runConfigForm) collect() map[string]json.RawMessage { } value = rows case field.Kind == runFieldBeforeLaunch && f.beforeLaunch != nil: - value = f.beforeLaunch + value = f.beforeLaunch.items case runFieldTextual(field.Kind) && f.texts[field.ID] != nil: value = *f.texts[field.ID] default: @@ -387,13 +387,16 @@ func (k runConfigKind) answeredBy(form core.RunEditorForm) bool { return form.RunType != nil && *form.RunType == k.runType } -// runConfigFormEdited marks the form changed and asks for the editor of the edited values. +// runConfigFormEdited marks the form changed and asks for the editor of the edited values; a +// task step's form has no editor to ask for. func (a *App) runConfigFormEdited(p *project, f *runConfigForm) { if !f.open || f.loading || f.fields == nil { return } f.dirty = true - a.refreshRunConfigForm(p, f) + if !f.task { + a.refreshRunConfigForm(p, f) + } } // refreshRunConfigForm asks for the editor of the edited values, so automatic values such as @@ -425,12 +428,9 @@ func (a *App) saveRunConfigForm(p *project, f *runConfigForm, done func(id strin generation := f.generation request := core.RunConfigurationSave{Root: p.root, Provider: f.kind.provider, RunType: f.kind.key(), ConfigurationID: f.id, Values: f.collect()} kernel, kinds, language := a.kernel, p.runConfigs.kinds(), a.language().Code() - declared := f.kind.declared() a.background(p, buildRequestTimeout, func(ctx context.Context) func(*App) { request.Plugins = a.runConfigPlugins(ctx) - if declared { - request.RunTypePlugins = a.runTypePlugins(ctx, kernel, kinds, language) - } + request.RunTypePlugins = a.runTypePlugins(ctx, kernel, kinds, language) saved, err := kernel.SaveRunConfiguration(ctx, request) if err == nil && saved.Status == "saved" { err = applyRunConfigChanges(ctx, request.Root, saved.Changes) diff --git a/desktop/internal/workbench/runconfig_form_view.go b/desktop/internal/workbench/runconfig_form_view.go index 8864d1b21a..e900a7d4bb 100644 --- a/desktop/internal/workbench/runconfig_form_view.go +++ b/desktop/internal/workbench/runconfig_form_view.go @@ -2,14 +2,14 @@ package workbench import ( "encoding/json" - "fmt" "reflect" - "slices" + "strings" "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/fileicons" "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" "github.com/1lck/Lithe-IDEA/desktop/internal/icons" + "github.com/vivaui/viva/components" "github.com/vivaui/viva/gfx" "github.com/vivaui/viva/ui" ) @@ -17,8 +17,9 @@ import ( const ( // runConfigFormLabelWidth is the column of field titles. runConfigFormLabelWidth = 150 - // runConfigFormTextHeight is the height of a script saved as text. - runConfigFormTextHeight = 140 + // runConfigFormTextRows is how many rows a multiline text field, such as a script saved + // as text, grows to with its text before it scrolls. + runConfigFormTextRows = 4 // runConfigFormVariableNameWidth is the name column of an environment variable row. runConfigFormVariableNameWidth = 170 ) @@ -213,6 +214,12 @@ func runConfigFieldError(language i18n.Language, code string) string { return i18n.Shared(language, "desktop.runConfig.errorDuplicate") case "unavailable": return i18n.Shared(language, "desktop.runConfig.errorUnavailable") + case "invalidValue": + return i18n.Shared(language, "desktop.runConfig.errorInvalidValue") + case "taskNotDeclared": + return i18n.Shared(language, "desktop.runConfig.errorTaskNotDeclared") + case "invalidTaskValues": + return i18n.Shared(language, "desktop.runConfig.errorInvalidTaskValues") } return i18n.SharedFormat(language, "desktop.runConfig.errorOther", map[string]string{"code": code}) } @@ -255,8 +262,8 @@ func visibleRunConfigField(field core.RunEditorField, values map[string]json.Raw } // drawRunConfigFormFields declares the header row, then every other field that shows for the -// edited values. A wrong value's reason sits under its field; one for a field not drawn sits -// at the end. +// edited values, and last the Before Launch section, which spans the form as IDEA's does. A +// wrong value's reason sits under its field; one for a field not drawn sits at the end. func (a *App) drawRunConfigFormFields(c ui.C, p *project, f *runConfigForm, ready bool) { if f.fields == nil { return @@ -264,15 +271,18 @@ func (a *App) drawRunConfigFormFields(c ui.C, p *project, f *runConfigForm, read language := a.language() values := f.collect() drawn := map[string]bool{} - var header, body []core.RunEditorField + var header, body, sections []core.RunEditorField for _, field := range f.fields { if !f.drawable(language, field) || !visibleRunConfigField(field, values) { continue } drawn[field.ID] = true - if field.Placement == "header" { + switch { + case field.Kind == runFieldBeforeLaunch: + sections = append(sections, field) + case field.Placement == "header": header = append(header, field) - } else { + default: body = append(body, field) } } @@ -290,6 +300,14 @@ func (a *App) drawRunConfigFormFields(c ui.C, p *project, f *runConfigForm, read for _, field := range body { a.drawRunConfigFormField(c.Key(field.ID), p, f, field, ready) } + for _, field := range sections { + k := c.Key(field.ID) + title, _ := runConfigFieldTitle(language, field) + ui.Column(k).FillWidth().Gap(4).Children(func() { + a.drawRunConfigBeforeLaunch(k, p, f.beforeLaunch, title, runConfigFieldHelp(language, f.kind.provider, field), field.Candidates, field.Tasks, ready, func() { a.runConfigFormEdited(p, f) }) + a.drawRunConfigFormError(k, f, field.ID, 0) + }) + } for _, wrong := range f.fields { if !drawn[wrong.ID] { a.drawRunConfigFormError(c.Key(wrong.ID), f, wrong.ID, 0) @@ -323,7 +341,7 @@ func (a *App) drawRunConfigFormHeaderField(c ui.C, p *project, f *runConfigForm, func (a *App) drawRunConfigFormField(c ui.C, p *project, f *runConfigForm, field core.RunEditorField, ready bool) { language := a.language() label, _ := runConfigFieldTitle(language, field) - tall := field.Kind == runFieldMultilineText || field.Kind == runFieldEnvironment || field.Kind == runFieldBeforeLaunch + tall := field.Kind == runFieldMultilineText || field.Kind == runFieldEnvironment ui.Column(c).FillWidth().Gap(4).Children(func() { row := ui.Row(c).FillWidth().Gap(12) if tall { @@ -331,8 +349,14 @@ func (a *App) drawRunConfigFormField(c ui.C, p *project, f *runConfigForm, field } else { row = row.Items(ui.Center) } + // The title sits level with the first row of a multiline text field, whose rows start at + // its top. + titleHeight := float32(28) + if field.Kind == runFieldMultilineText { + titleHeight = runConfigTextAreaHeight(c.Theme(), 1) + } row.Children(func() { - ui.Row(c.Part("title")).Width(runConfigFormLabelWidth).MinHeight(28).Shrink(0).Items(ui.Center).Gap(4).Children(func() { + ui.Row(c.Part("title")).Width(runConfigFormLabelWidth).MinHeight(titleHeight).Shrink(0).Items(ui.Center).Gap(4).Children(func() { if field.Kind != runFieldCheckbox { ui.Text(c, label).Ellipsis().Shrink(1).MinWidth(0) a.runConfigFormHelp(c, language, f.kind.provider, field) @@ -362,8 +386,6 @@ func (a *App) drawRunConfigFormControl(c ui.C, p *project, f *runConfigForm, fie switch field.Kind { case runFieldEnvironment: a.drawRunConfigVariables(c, p, f, ready) - case runFieldBeforeLaunch: - a.drawRunConfigBeforeLaunch(c, &f.beforeLaunch, &f.beforeLaunchMenu, field.Candidates, ready, func() { a.runConfigFormEdited(p, f) }) case runFieldChoice: options := field.Options if ui.Choice(c, f.texts[field.ID], options, func(option string) string { @@ -373,7 +395,13 @@ func (a *App) drawRunConfigFormControl(c ui.C, p *project, f *runConfigForm, fie edited() } case runFieldMultilineText: - if ui.TextArea(c, f.texts[field.ID], label, placeholder).Mono().Grow(1).Height(runConfigFormTextHeight).Disabled(!ready).Changed() { + // The field is declared first: that brings the text up to what was just typed, and the + // field is sized by it in the same paint. MinHeight replaces the textarea's own minimum + // of several rows, so one row is one row. + box := ui.TextArea(c, f.texts[field.ID], label, placeholder) + area := f.textArea(field.ID) + height := runConfigTextAreaHeight(c.Theme(), area.rows(c, *f.texts[field.ID])) + if box.Mono().Grow(1).MinWidth(0).MinHeight(height).Height(height).Draw(area.hook).Disabled(!ready).Changed() { edited() } case runFieldFile, runFieldExecutable, runFieldDirectory: @@ -396,6 +424,54 @@ func (a *App) drawRunConfigFormControl(c ui.C, p *project, f *runConfigForm, fie } } +// runConfigTextArea sizes a multiline text field to its text, from one row up to +// runConfigFormTextRows, after which the field scrolls. The rows wrap at the width the field +// was laid out at, which only its paint knows: hook keeps that width, and asks for another +// paint when it changes so the field is sized afresh. layout counts the rows as the field's +// own layout wraps them; that one is the field's and not readable here. +type runConfigTextArea struct { + width float32 + layout components.TextareaLayout + hook func(*ui.DrawContext) +} + +// textArea is the sizing of the multiline text field id, made on first use. +func (f *runConfigForm) textArea(id string) *runConfigTextArea { + if f.areas == nil { + f.areas = map[string]*runConfigTextArea{} + } + area := f.areas[id] + if area == nil { + area = &runConfigTextArea{} + area.hook = func(d *ui.DrawContext) { + if d.Rect.Width != area.width { + area.width = d.Rect.Width + d.Canvas.RequestFrame() + } + } + f.areas[id] = area + } + return area +} + +// rows is how many rows value takes in the field, between one and runConfigFormTextRows. A +// final newline starts a row of its own. Before the field's first paint the lines are counted +// without wrapping. +func (area *runConfigTextArea) rows(c ui.C, value string) int { + rows := strings.Count(value, "\n") + 1 + if canvas := c.Canvas(); canvas != nil && area.width > 0 { + rows = area.layout.RowCount(canvas, *c.Theme(), value, area.width, false) + } + return min(max(rows, 1), runConfigFormTextRows) +} + +// runConfigTextAreaHeight is the height of a multiline text field showing rows rows: the rows +// at the line height Viva's textarea paints them with (the font size plus 7, its text-sm +// leading) and the margin it keeps above and below them. +func runConfigTextAreaHeight(theme *ui.Theme, rows int) float32 { + return float32(rows)*(theme.Metrics.FontSizeM+7) + 2*components.TextareaPadY +} + // drawRunConfigVariables declares the environment variable rows, each a name, a value and its // remove button, and the button that adds a row. func (a *App) drawRunConfigVariables(c ui.C, p *project, f *runConfigForm, ready bool) { @@ -428,94 +504,6 @@ func (a *App) drawRunConfigVariables(c ui.C, p *project, f *runConfigForm, ready }) } -// runConfigBeforeLaunchLimit is the most steps a configuration names, as Core allows. -const runConfigBeforeLaunchLimit = 16 - -// drawRunConfigBeforeLaunch declares the steps that run before the configuration, each its name -// with buttons that move it up or down or remove it, and the button whose menu adds one of the -// process runs not chosen yet. A step whose configuration is gone shows its ID. edited, when -// set, runs after each change, so an editor that tracks its edits by flag sees it. -func (a *App) drawRunConfigBeforeLaunch(c ui.C, chosen *[]string, menuOpen *bool, candidates []core.RunConfigurationName, ready bool, edited func()) { - language := a.language() - change := func(apply func()) { - c.After(func() { - apply() - if edited != nil { - edited() - } - }) - } - steps := *chosen - names := make(map[string]string, len(candidates)) - for _, candidate := range candidates { - names[candidate.ID] = candidate.Name - } - ui.Column(c.Part("before-launch")).Grow(1).MinWidth(0).Gap(4).Children(func() { - if len(steps) == 0 { - ui.Text(c, i18n.Shared(language, "desktop.runConfig.beforeLaunchEmpty")).Color(a.colors.Subtle).LineHeight(28) - } - for index, id := range steps { - k := c.KeyInt(index) - name, known := names[id] - if !known { - name = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunchMissing", map[string]string{"id": id}) - } - ui.Row(k).FillWidth().MinHeight(28).Items(ui.Center).Gap(4).Children(func() { - ui.Icon(k, icons.Play).Size(14, 14).Shrink(0).Color(a.colors.Subtle) - color := a.colors.Text - if !known { - color = a.theme.Danger - } - ui.Text(k, fmt.Sprintf("%d. %s", index+1, name)).Color(color).Ellipsis().Grow(1).MinWidth(0) - if a.gitIconButton(k.Part("up"), i18n.Shared(language, "desktop.runConfig.beforeLaunchUp"), icons.ArrowUp, false, !ready || index == 0) { - change(func() { moveRunConfigStep(*chosen, index, index-1) }) - } - if a.gitIconButton(k.Part("down"), i18n.Shared(language, "desktop.runConfig.beforeLaunchDown"), icons.ArrowDown, false, !ready || index == len(steps)-1) { - change(func() { moveRunConfigStep(*chosen, index, index+1) }) - } - if a.gitIconButton(k.Part("remove"), i18n.Shared(language, "desktop.runConfig.beforeLaunchRemove"), icons.Trash2, false, !ready) { - change(func() { *chosen = slices.Delete(slices.Clone(*chosen), index, index+1) }) - } - }) - } - var left []core.RunConfigurationName - for _, candidate := range candidates { - if !slices.Contains(steps, candidate.ID) { - left = append(left, candidate) - } - } - full := len(steps) >= runConfigBeforeLaunchLimit - add := ui.Button(c.Part("add"), i18n.Shared(language, "desktop.runConfig.beforeLaunchAdd")).Icon(icons.Plus).Ghost(). - Disabled(!ready || len(left) == 0 || full) - if len(candidates) == 0 { - add = add.Tooltip(i18n.Shared(language, "desktop.runConfig.beforeLaunchNoCandidates")) - } - if add.Clicked() { - c.After(func() { *menuOpen = !*menuOpen }) - } - if *menuOpen { - ui.Menu(c.Part("add-menu"), add, menuOpen, func(menu *ui.MenuItems) { - for _, candidate := range left { - if menu.Item(candidate.Name).Clicked() { - change(func() { - a.performed("run.configuration.form.beforeLaunch.add", surfaceButton) - *chosen = append(slices.Clone(*chosen), candidate.ID) - }) - } - } - }) - } - }) -} - -// moveRunConfigStep swaps the step at from with the one at to, when both exist. -func moveRunConfigStep(steps []string, from, to int) { - if from < 0 || to < 0 || from >= len(steps) || to >= len(steps) { - return - } - steps[from], steps[to] = steps[to], steps[from] -} - // removeRunConfigVariable is rows without row. func removeRunConfigVariable(rows []*runConfigVariable, row *runConfigVariable) []*runConfigVariable { kept := make([]*runConfigVariable, 0, len(rows)) diff --git a/desktop/internal/workbench/runconfig_process_test.go b/desktop/internal/workbench/runconfig_process_test.go index 0b9643c12a..4bc0291ff1 100644 --- a/desktop/internal/workbench/runconfig_process_test.go +++ b/desktop/internal/workbench/runconfig_process_test.go @@ -13,6 +13,7 @@ import ( "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" + "github.com/vivaui/viva/gfx" ) // A bare command is found only in the absolute directories of the search path, in order; a @@ -231,6 +232,83 @@ func TestBuiltInRunIsCreatedAndRunWithoutAnyPlugin(t *testing.T) { } } +// A script saved as text starts one row tall and grows a row at a time with its text, wrapped +// rows included, up to four rows; a longer script scrolls inside them. +func TestRunConfigScriptTextGrowsToFourRows(t *testing.T) { + root := t.TempDir() + h := newHarness(t, &testKernel{Client: core.NewClient()}) + h.open(root) + p := h.app.project + h.app.post(func(a *App) { a.refreshRunConfigurations(p) }) + awaitStateWithin(t, h, 10*time.Second, "the configuration types", func() bool { + s := &p.runConfigs + return s.generation > 0 && !s.loading && s.types != nil + }) + f := newRunConfigDraft(t, h, p, runProviderShell) + h.app.post(func(a *App) { + *f.texts["source"] = "text" + a.runConfigFormEdited(p, f) + }) + awaitStateWithin(t, h, 10*time.Second, "the script text field", func() bool { return !f.refreshing && f.texts["text"] != nil }) + var label string + for _, field := range f.fields { + if field.ID == "text" { + label, _ = runConfigFieldTitle(h.app.language(), field) + } + } + if label == "" { + t.Fatalf("no script text field in %+v", f.fields) + } + drawn := func() float32 { + t.Helper() + for _, hit := range h.driver.Snapshot().Hits { + if hit.Label == label && hit.Role == gfx.RoleTextField { + return hit.Bounds.Height + } + } + t.Fatalf("the script text field %q is not drawn", label) + return 0 + } + height := func(value string) float32 { + t.Helper() + h.app.post(func(*App) { *f.texts["text"] = value }) + h.settle() + h.settle() // the paint after a field's first one sizes it at its width + return drawn() + } + rows := func(n int) float32 { return runConfigTextAreaHeight(&h.app.theme, n) } + for _, step := range []struct { + value string + rows int + }{ + {"", 1}, + {"echo one", 1}, + {"echo one\necho two", 2}, + {"echo one\necho two\n", 3}, + {"1\n2\n3\n4", 4}, + {"1\n2\n3\n4\n5\n6\n7", 4}, + {"echo one", 1}, + } { + if got := height(step.value); got != rows(step.rows) { + t.Fatalf("script %q is %v tall, want %d rows (%v)", step.value, got, step.rows, rows(step.rows)) + } + } + // One line longer than the field wraps, and the field grows with its rows. + long := strings.TrimSpace(strings.Repeat("echo wrapped ", 40)) + if got := height(long); got <= rows(1) || got > rows(runConfigFormTextRows) { + t.Fatalf("a wrapped line is %v tall, want more than one row (%v) and at most four (%v)", got, rows(1), rows(runConfigFormTextRows)) + } + // Typed lines size the field as they arrive. + typed := "echo one\necho two\necho three" + h.typeInto(label, func() { h.app.post(func(*App) { *f.texts["text"] = "" }) }, typed) + if got := *f.texts["text"]; got != typed { + t.Fatalf("the script holds %q, want %q", got, typed) + } + if got := drawn(); got != rows(3) { + t.Fatalf("three typed lines are %v tall, want three rows (%v)", got, rows(3)) + } +} + // newRunConfigDraft opens the Run/Debug Configurations dialog, adds a configuration of // provider as the + menu does and waits for its form. func newRunConfigDraft(t *testing.T, h *harness, p *project, provider string) *runConfigForm { diff --git a/desktop/internal/workbench/runconfig_steps.go b/desktop/internal/workbench/runconfig_steps.go new file mode 100644 index 0000000000..9ce0d98913 --- /dev/null +++ b/desktop/internal/workbench/runconfig_steps.go @@ -0,0 +1,563 @@ +package workbench + +// The Before Launch section of the Run/Debug Configurations dialog, as IntelliJ IDEA's: a title +// that folds it over a framed list of steps with a toolbar on top. Each step runs another +// configuration or a task a plugin declares (API-29, `beforeLaunchTasks`). The toolbar's "+" +// opens the "Add New Task" menu: "Run Another Configuration", which opens the list of +// configurations to run, and every task kind the installed plugins declare. A task opens its +// form in a dialog, and Core checks the values (`runConfig.checkBeforeLaunchTask`) before the +// step joins the list. The list is saved with the configuration, which Core checks again. +// +// Note: 决策见 .agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md + +import ( + "bytes" + "context" + "encoding/json" + "errors" + "maps" + "slices" + + "github.com/1lck/Lithe-IDEA/desktop/internal/core" + "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" + "github.com/1lck/Lithe-IDEA/desktop/internal/icons" + "github.com/1lck/Lithe-IDEA/desktop/internal/treelist" + "github.com/vivaui/viva/gfx" + "github.com/vivaui/viva/ui" +) + +const ( + // runConfigBeforeLaunchLimit is the most steps a configuration names, as Core allows. + runConfigBeforeLaunchLimit = 16 + // runConfigBeforeLaunchRows is how many steps the list shows before it scrolls. + runConfigBeforeLaunchRows = 4 + // runConfigMenuTitleHeight is the row of the centered title over a menu of the section. + runConfigMenuTitleHeight = 28 +) + +// runConfigSteps is the edited Before Launch list of one configuration: its steps in order, +// as the `beforeLaunch` editor value holds them, and the state of the section that shows them. +type runConfigSteps struct { + items []core.RunBeforeLaunchEntry + // list is the state of the rows; selected is the step the toolbar acts on, -1 for none. + list ui.ListState + selected int + // collapsed folds the section to its title. + collapsed bool + // menu is the open "Add New Task" menu. choose is the open list of configurations to run: + // the one chosen joins the list at its end, or with replace at a step's index takes that + // step's place. + menu, choose bool + replace int +} + +// newRunConfigSteps is the list of items with no step selected. +func newRunConfigSteps(items []core.RunBeforeLaunchEntry) *runConfigSteps { + if items == nil { + items = []core.RunBeforeLaunchEntry{} + } + return &runConfigSteps{items: items, selected: -1, replace: -1} +} + +// runConfigStepsOf reads a `beforeLaunch` editor value; nil or a value of another shape is an +// empty list. +func runConfigStepsOf(raw json.RawMessage) *runConfigSteps { + var items []core.RunBeforeLaunchEntry + if len(raw) == 0 || json.Unmarshal(raw, &items) != nil { + items = nil + } + return newRunConfigSteps(items) +} + +// runConfigStepSaved is what a step saves: the configuration it runs, or the task with its +// values. The name and summary Core gave it are not saved. +func runConfigStepSaved(entry core.RunBeforeLaunchEntry) any { + if entry.Task != nil { + return entry.Task.Task + } + return entry.ConfigurationID +} + +// sameRunConfigSteps says two lists save the same steps in the same order. +func sameRunConfigSteps(a, b []core.RunBeforeLaunchEntry) bool { + saved := func(entries []core.RunBeforeLaunchEntry) []byte { + values := make([]any, 0, len(entries)) + for _, entry := range entries { + values = append(values, runConfigStepSaved(entry)) + } + raw, _ := json.Marshal(values) + return raw + } + return bytes.Equal(saved(a), saved(b)) +} + +// runConfigTaskKind is the kind of task step key among tasks, nil when no installed plugin +// declares it. +func runConfigTaskKind(tasks []core.RunTaskKind, key core.RunTypeKey) *core.RunTaskKind { + index := slices.IndexFunc(tasks, func(kind core.RunTaskKind) bool { return kind.RunType == key }) + if index < 0 { + return nil + } + return &tasks[index] +} + +// runTaskIcon is the icon of a task kind: the package or host icon the plugin names, else a +// wrench. +func (a *App) runTaskIcon(kind *core.RunTaskKind) gfx.Icon { + if kind == nil { + return icons.Wrench + } + if icon, ok := runTypePackageIcon(&a.pluginIcons, kind.RunType.PluginID, kind.Icon, a.colors.Dark); ok { + return icon + } + if kind.Icon != nil && kind.Icon.Host != "" { + if icon := pluginToolIcon(kind.Icon.Host); icon != nil { + return *icon + } + } + return icons.Wrench +} + +// moveRunConfigStep swaps the step at from with the one at to, when both exist. +func moveRunConfigStep[T any](steps []T, from, to int) { + if from < 0 || to < 0 || from >= len(steps) || to >= len(steps) { + return + } + steps[from], steps[to] = steps[to], steps[from] +} + +// runConfigStepRow is a step as its row shows it: the icon and name, what a task runs, the +// kind of a task an installed plugin declares, and whether what the step names is gone. +type runConfigStepRow struct { + icon gfx.Icon + name string + summary string + kind *core.RunTaskKind + missing bool +} + +// runConfigStepRowOf is how entry shows: a run step as "Run 'name'" with its configuration's +// icon, a task step with its kind's icon and name and what it runs. names holds the name of +// every configuration a step can run by ID. +func (a *App) runConfigStepRowOf(p *project, language i18n.Language, entry core.RunBeforeLaunchEntry, names map[string]string, tasks []core.RunTaskKind) runConfigStepRow { + if entry.Task != nil { + kind := runConfigTaskKind(tasks, entry.Task.Task.RunTypeKey) + row := runConfigStepRow{icon: a.runTaskIcon(kind), name: entry.Task.Name, summary: entry.Task.Summary, kind: kind} + if entry.Task.Missing || kind == nil { + row.kind, row.missing = nil, true + row.name = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunchTaskMissing", map[string]string{"name": entry.Task.Name}) + } + return row + } + row := runConfigStepRow{icon: a.runConfigDraftIcon(p, entry.ConfigurationID)} + if name, known := names[entry.ConfigurationID]; known { + row.name = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunchRunStep", map[string]string{"name": name}) + } else { + row.name = i18n.SharedFormat(language, "desktop.runConfig.beforeLaunchMissing", map[string]string{"id": entry.ConfigurationID}) + row.missing = true + } + return row +} + +// drawRunConfigBeforeLaunch declares the Before Launch section: the title row, whose arrow and +// name fold it, and under it the framed list. title is the section's name and help the tip of +// its ⓘ; edited, when set, runs after each change, so an editor that tracks its edits by flag +// sees it. +func (a *App) drawRunConfigBeforeLaunch(c ui.C, p *project, steps *runConfigSteps, title, help string, candidates []core.RunConfigurationName, tasks []core.RunTaskKind, ready bool, edited func()) { + k := c.Part("before-launch") + ui.Column(k).FillWidth().Gap(6).Children(func() { + a.drawRunConfigStepsTitle(k, steps, title, help) + if !steps.collapsed { + a.drawRunConfigStepsList(k, p, steps, title, candidates, tasks, ready, edited) + } + }) +} + +// drawRunConfigStepsTitle declares the title row of the section, as IDEA's titled separator: +// the arrow and name that fold the section, the ⓘ with help, and a line to the row's end. +func (a *App) drawRunConfigStepsTitle(c ui.C, steps *runConfigSteps, title, help string) { + language := a.language() + open := !steps.collapsed + name, chevron := i18n.Shared(language, "native.collapseSection"), icons.ChevronDown + if !open { + name, chevron = i18n.Shared(language, "native.expandSection"), icons.ChevronRight + } + ui.Row(c.Part("title")).FillWidth().Height(24).Shrink(0).Items(ui.Center).Gap(4).Children(func() { + k := c.Part("fold") + fold := ui.Row(k).Shrink(0).Items(ui.Center).Gap(4). + HitWith(ui.ID(k), name+" "+title, gfx.HitOptions{Role: gfx.RoleButton, Cursor: gfx.PointerCursorHand, Expandable: true, Expanded: open}) + fold.Children(func() { + ui.Icon(k, chevron).Size(12, 12).Shrink(0).Color(a.colors.Subtle) + ui.Text(k, title).Shrink(0) + }) + if fold.Clicked() { + c.After(func() { steps.collapsed = !steps.collapsed }) + } + if help != "" { + ui.Button(c.Part("help"), i18n.Shared(language, "native.moreInformation")).Icon(icons.Info).IconOnly().Ghost(). + Size(18, 18).Shrink(0).Tooltip(help).TooltipOn(ui.TooltipRight) + } + ui.Row(c.Part("line")).Grow(1).MinWidth(0).Height(1).Background(a.colors.Line) + }) +} + +// drawRunConfigStepsList declares the framed list of steps: the toolbar, a line, and the rows, +// four of them before the list scrolls, or the note that there is no step. "+" opens the "Add +// New Task" menu; "−" removes the selected step, the pencil edits it, as Enter and a double +// click on its row do, and the arrows move it. Delete and, on macOS, Backspace remove it too. +// The pencil edits a task an installed plugin declares in its form, and a run step by the list +// of configurations to run. A step whose configuration or plugin is gone shows in red and +// stays until removed. title names the list. +func (a *App) drawRunConfigStepsList(c ui.C, p *project, steps *runConfigSteps, title string, candidates []core.RunConfigurationName, tasks []core.RunTaskKind, ready bool, edited func()) { + language := a.language() + changed := func() { + if edited != nil { + edited() + } + } + change := func(apply func()) { + c.After(func() { + apply() + changed() + }) + } + names := make(map[string]string, len(candidates)) + for _, candidate := range candidates { + names[candidate.ID] = candidate.Name + } + items := steps.items + rows := make([]runConfigStepRow, len(items)) + for index, entry := range items { + rows[index] = a.runConfigStepRowOf(p, language, entry, names, tasks) + } + selected := steps.selected + if selected >= len(items) { + selected = -1 + } + editable := func(index int) bool { + return ready && index >= 0 && index < len(items) && (items[index].Task == nil || rows[index].kind != nil) + } + remove := func(index int) { + change(func() { + a.performed("run.configuration.form.beforeLaunch.remove", surfaceButton) + steps.items = slices.Delete(slices.Clone(steps.items), index, index+1) + steps.selected = min(index, len(steps.items)-1) + }) + } + move := func(index, to int) { + change(func() { + a.performed("run.configuration.form.beforeLaunch.move", surfaceButton) + moved := slices.Clone(steps.items) + moveRunConfigStep(moved, index, to) + steps.items, steps.selected = moved, to + }) + } + edit := func(index int) { + if task := rows[index].kind; items[index].Task != nil && task != nil { + kind, values := *task, items[index].Task.Values + c.After(func() { + a.performed("run.configuration.form.beforeLaunch.edit", surfaceButton) + a.openRunConfigTask(p, steps, kind, index, values, changed) + }) + return + } + c.After(func() { steps.menu, steps.choose, steps.replace = false, true, index }) + } + full := len(items) >= runConfigBeforeLaunchLimit + ui.Column(c.Part("frame")).FillWidth().Border(1, a.colors.Line).Radius(a.theme.Metrics.RadiusItem()).Clip().Children(func() { + ui.Row(c.Part("toolbar")).FillWidth().Height(panelHeaderHeight).Shrink(0).Items(ui.Center).Gap(2).PadX(4).Children(func() { + add, clicked := a.gitToolButton(c.Part("add"), i18n.Shared(language, "desktop.runConfig.beforeLaunchAdd"), icons.Plus, steps.menu || steps.choose, !ready || full) + if clicked { + c.After(func() { steps.menu, steps.choose = !steps.menu && !steps.choose, false }) + } + a.drawRunConfigStepsMenu(c, p, steps, add, tasks, changed) + a.drawRunConfigStepsChooser(c, p, steps, add, candidates, change) + if a.gitIconButton(c.Part("remove"), i18n.Shared(language, "desktop.runConfig.beforeLaunchRemove"), icons.Minus, false, !ready || selected < 0) { + remove(selected) + } + if a.gitIconButton(c.Part("edit"), i18n.Shared(language, "desktop.runConfig.beforeLaunchEdit"), icons.Pencil, false, !editable(selected)) { + edit(selected) + } + if a.gitIconButton(c.Part("up"), i18n.Shared(language, "desktop.runConfig.beforeLaunchUp"), icons.ArrowUp, false, !ready || selected <= 0) { + move(selected, selected-1) + } + if a.gitIconButton(c.Part("down"), i18n.Shared(language, "desktop.runConfig.beforeLaunchDown"), icons.ArrowDown, false, !ready || selected < 0 || selected >= len(items)-1) { + move(selected, selected+1) + } + }) + ui.Row(c.Part("toolbar-line")).FillWidth().Height(1).Shrink(0).Background(a.colors.Line) + height := float32(runConfigBeforeLaunchRows*treelist.RowHeight + 2*treelist.PadY) + ui.Column(c.Part("rows")).FillWidth().Height(height).Shrink(0).Children(func() { + if len(items) == 0 { + ui.Column(c.Part("empty")).FillWidth().Grow(1).Center().PadX(12).Children(func() { + ui.Paragraph(c, i18n.Shared(language, "desktop.runConfig.beforeLaunchEmpty"), 2).TextCenter().Color(a.colors.Subtle) + }) + return + } + steps.list.Label = func(index int) string { + if index >= 0 && index < len(rows) { + return rows[index].name + } + return "" + } + if !steps.list.Changed() && steps.list.Selected() != selected { + steps.list.Select(selected) + } + list := ui.List(c.Part("list"), &steps.list, len(items), func(row ui.ListRow) { + a.drawRunConfigStepRow(row, rows[row.Index], row.Selected()) + }).Scrollbars().Label(title).Grow(1).FillWidth().PadY(treelist.PadY) + if steps.list.Changed() { + steps.selected = steps.list.Selected() + } + if index, ok := steps.list.Submitted(); ok && editable(index) { + edit(index) + } + for _, key := range runConfigDeleteKeys() { + if list.Shortcut(0, key) && ready && selected >= 0 { + remove(selected) + } + } + }) + }) +} + +// drawRunConfigStepRow declares the row of one step: its icon, its name, red when what it +// names is gone, and what a task runs. The selected row is highlighted across the list. +func (a *App) drawRunConfigStepRow(row ui.ListRow, step runConfigStepRow, selected bool) { + c := row.C + box := row.Element.Height(treelist.RowHeight).Items(ui.Center).Gap(6).PadX(8) + if selected { + box = box.Background(a.colors.Selection) + } else { + box = box.Hover(ui.Look{}.Background(a.colors.Hover)) + } + box.Children(func() { + color := a.colors.Text + if step.missing { + color = a.theme.Danger + } + ui.Icon(c, step.icon).Size(14, 14).Shrink(0).Color(a.colors.Subtle) + ui.Text(c, step.name).Color(color).Ellipsis().Shrink(1).MinWidth(0) + if step.summary != "" { + ui.Text(c.Part("summary"), step.summary).Mono().FontSize(a.theme.Metrics.FontSizeS).Color(a.colors.Subtle).Ellipsis().Shrink(1).MinWidth(0) + } + }) +} + +// paintRunConfigMenuTitle paints the centered bold title IDEA puts over the menus of the +// section. +func (a *App) paintRunConfigMenuTitle(canvas *gfx.Canvas, bounds gfx.Rect, title string) { + canvas.LabelCenter(title, bounds, gfx.TextStyle{Size: a.theme.Metrics.FontSizeM, Weight: gfx.WeightSemibold, Color: a.colors.Text}) +} + +// drawRunConfigStepsMenu declares IDEA's "Add New Task" menu under "+": its title, then "Run +// Another Configuration", which opens the list of configurations to run, and an item per task +// kind the installed plugins declare, which opens the kind's form. +func (a *App) drawRunConfigStepsMenu(c ui.C, p *project, steps *runConfigSteps, anchor ui.Box, tasks []core.RunTaskKind, changed func()) { + if !steps.menu { + return + } + language := a.language() + ui.Menu(c.Part("add-menu"), anchor, &steps.menu, func(menu *ui.MenuItems) { + menu.WidthRange(220, 320) + title := i18n.Shared(language, "desktop.runConfig.beforeLaunchMenuTitle") + menu.Content(runConfigMenuTitleHeight, func(canvas *gfx.Canvas, bounds gfx.Rect, _ gfx.Theme) { + a.paintRunConfigMenuTitle(canvas, bounds, title) + }) + if menu.Item(i18n.Shared(language, "desktop.runConfig.beforeLaunchRunAnother")).Icon(icons.Play).Clicked() { + c.After(func() { steps.menu, steps.choose, steps.replace = false, true, -1 }) + } + for _, kind := range tasks { + if menu.Item(kind.DisplayName).Icon(a.runTaskIcon(&kind)).Clicked() { + c.After(func() { + a.performed("run.configuration.form.beforeLaunch.addTask", surfaceButton) + a.openRunConfigTask(p, steps, kind, -1, kind.Values, changed) + }) + } + } + }) +} + +// drawRunConfigStepsChooser declares IDEA's "Choose Configuration to Execute" list under "+": +// its title, then every configuration no step runs yet, or a note that there is none. The one +// chosen joins the list at its end, or takes the place of the step being edited. +func (a *App) drawRunConfigStepsChooser(c ui.C, p *project, steps *runConfigSteps, anchor ui.Box, candidates []core.RunConfigurationName, change func(func())) { + if !steps.choose { + return + } + language := a.language() + var left []core.RunConfigurationName + for _, candidate := range candidates { + if !slices.ContainsFunc(steps.items, func(entry core.RunBeforeLaunchEntry) bool { + return entry.Task == nil && entry.ConfigurationID == candidate.ID + }) { + left = append(left, candidate) + } + } + ui.Menu(c.Part("choose-menu"), anchor, &steps.choose, func(menu *ui.MenuItems) { + menu.WidthRange(220, 360) + title := i18n.Shared(language, "desktop.runConfig.beforeLaunchChooseTitle") + menu.Content(runConfigMenuTitleHeight, func(canvas *gfx.Canvas, bounds gfx.Rect, _ gfx.Theme) { + a.paintRunConfigMenuTitle(canvas, bounds, title) + }) + if len(left) == 0 { + menu.Item(i18n.Shared(language, "desktop.runConfig.beforeLaunchNoCandidates")).Disabled(true) + } + for _, candidate := range left { + if menu.Item(candidate.Name).Icon(a.runConfigDraftIcon(p, candidate.ID)).Clicked() { + replace := steps.replace + change(func() { + entry := core.RunBeforeLaunchEntry{ConfigurationID: candidate.ID} + items := slices.Clone(steps.items) + if replace >= 0 && replace < len(items) { + a.performed("run.configuration.form.beforeLaunch.replace", surfaceButton) + items[replace] = entry + steps.selected = replace + } else { + a.performed("run.configuration.form.beforeLaunch.add", surfaceButton) + items = append(items, entry) + steps.selected = len(items) - 1 + } + steps.items, steps.choose, steps.replace = items, false, -1 + }) + } + } + }) +} + +// runConfigTaskEdit is the open form of a task step being added to a Before Launch list or +// edited in it. One is open at a time, over the Run/Debug Configurations dialog. +type runConfigTaskEdit struct { + // steps is the list the step goes into; index is the step the form edits, -1 to add one + // at the end. edited runs after the list changed. + steps *runConfigSteps + index int + edited func() + kind core.RunTaskKind + // form edits the task's values by the fields its kind declares; Core's reasons for wrong + // values sit under their fields. + form *runConfigForm + // checking says the values are with Core; failure is why a check could not answer. + checking bool + failure string +} + +// openRunConfigTask opens the form of a task step of kind: a new step at the end with index +// -1, else the step at index. values are the editor values it starts with by field key. +func (a *App) openRunConfigTask(p *project, steps *runConfigSteps, kind core.RunTaskKind, index int, values map[string]json.RawMessage, edited func()) { + form := &runConfigForm{ + open: true, generation: 1, kind: declaredKind(kind.RunType), task: true, + fields: kind.Fields, values: maps.Clone(values), + texts: map[string]*string{}, flags: map[string]*bool{}, + } + if form.values == nil { + form.values = map[string]json.RawMessage{} + } + form.readValues(kind.Fields, form.values) + p.runConfigs.task = &runConfigTaskEdit{steps: steps, index: index, edited: edited, kind: kind, form: form} +} + +// closeRunConfigTask drops the task form t, if it is still the open one. +func (p *project) closeRunConfigTask(t *runConfigTaskEdit) { + if p.runConfigs.task == t { + t.form.close() + p.runConfigs.task = nil + } +} + +// checkRunConfigTask has Core check the form's values. Right values put the step Core returns +// into the list and close the form; wrong ones stay in it with the reason under each field. +func (a *App) checkRunConfigTask(p *project, t *runConfigTaskEdit) { + if t.checking { + return + } + t.checking, t.failure, t.form.errors = true, "", nil + root, kernel, kinds, language := p.root, a.kernel, p.runConfigs.kinds(), a.language().Code() + key, values := t.kind.RunType, t.form.collect() + a.background(p, buildRequestTimeout, func(ctx context.Context) func(*App) { + plugins := a.runTypePlugins(ctx, kernel, kinds, language) + check, err := kernel.CheckBeforeLaunchTask(ctx, root, key, values, plugins) + if err == nil && check.Status == "ok" && check.Step == nil { + err = errors.New("runConfig.checkBeforeLaunchTask returned no step") + } else if err == nil && check.Status != "ok" && check.Status != "invalid" { + err = errors.New("runConfig.checkBeforeLaunchTask returned an unknown status") + } + return func(a *App) { + if p.runConfigs.task != t { + return + } + t.checking = false + switch { + case err != nil: + a.operationFailed("run_config_task_check", err) + t.failure = i18n.SharedFormat(a.language(), "desktop.runConfig.taskCheckFailed", map[string]string{"reason": err.Error()}) + case check.Status == "invalid": + a.operationRejected("run_config_task_check", "invalid_values") + t.form.errors = make(map[string]string, len(check.Errors)) + for _, wrong := range check.Errors { + if _, seen := t.form.errors[wrong.Field]; !seen { + t.form.errors[wrong.Field] = wrong.Code + } + } + default: + entry := core.RunBeforeLaunchEntry{Task: check.Step} + items := slices.Clone(t.steps.items) + if t.index >= 0 && t.index < len(items) { + items[t.index] = entry + } else { + items = append(items, entry) + } + t.steps.items = items + p.closeRunConfigTask(t) + if t.edited != nil { + t.edited() + } + } + } + }) +} + +// drawRunConfigTask declares the open task form over the Run/Debug Configurations dialog: the +// kind's fields, and OK, which has Core check the values, and Cancel. It closes with the +// dialog. +func (a *App) drawRunConfigTask(c ui.C, p *project) { + t := p.runConfigs.task + if t == nil { + return + } + if !p.runConfigs.dialog.open { + c.After(func() { p.closeRunConfigTask(t) }) + return + } + language := a.language() + title := i18n.SharedFormat(language, "desktop.runConfig.taskEditTitle", map[string]string{"name": t.kind.DisplayName}) + if t.index < 0 { + title = i18n.SharedFormat(language, "desktop.runConfig.taskAddTitle", map[string]string{"name": t.kind.DisplayName}) + } + open := true + closed := ui.ModalWith(c, &open, title, ui.ModalSpec{Description: t.kind.Description, Width: 560}, func() { + k := c.Part("run-config-task") + ui.Column(k).FillWidth().Gap(10).Children(func() { + a.drawRunConfigFormFields(k, p, t.form, !t.checking) + if t.failure != "" { + ui.Paragraph(k.Part("failure"), t.failure, 4).FontSize(a.theme.Metrics.FontSizeS).Color(a.theme.Danger) + } + }) + }, func() { + ui.Row(c.Part("run-config-task-footer")).FillWidth().Items(ui.Center).Gap(8).Children(func() { + ui.Spacer(c) + if ui.Button(c, i18n.Shared(language, "desktop.git.cancel")).Outline().Clicked() { + c.After(func() { p.closeRunConfigTask(t) }) + } + if ui.Button(c, i18n.Shared(language, "desktop.runConfig.ok")).Disabled(t.checking).Clicked() { + c.After(func() { + a.performed("run.configuration.form.beforeLaunch.taskOk", surfaceButton) + a.checkRunConfigTask(p, t) + }) + } + }) + }) + if closed { + c.After(func() { p.closeRunConfigTask(t) }) + } +} diff --git a/desktop/internal/workbench/runconfig_types.go b/desktop/internal/workbench/runconfig_types.go index 3153bf58c7..7537360c2e 100644 --- a/desktop/internal/workbench/runconfig_types.go +++ b/desktop/internal/workbench/runconfig_types.go @@ -2,6 +2,7 @@ package workbench import ( "context" + "encoding/json" "errors" "fmt" "os" @@ -11,6 +12,7 @@ import ( "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/i18n" "github.com/1lck/Lithe-IDEA/desktop/internal/icons" + "github.com/1lck/Lithe-IDEA/desktop/internal/pluginicons" "github.com/1lck/Lithe-IDEA/desktop/internal/pluginservice" "github.com/1lck/Lithe-IDEA/desktop/internal/pluginsettings" "github.com/1lck/Lithe-IDEA/desktop/internal/processledger" @@ -25,12 +27,13 @@ import ( // declare a kind, with the files read, are kept as the `runTypePlugins` the editor, the save // and the run of those kinds send, so they show the same translated text. -// runConfigKinds is one read of the kinds: the kinds in display order, and the plugins that -// declare one, nil when none does. Once published, neither is changed; a later read replaces -// them. +// runConfigKinds is one read of the kinds: the kinds in display order, the plugins that +// declare one, nil when none does, and their package directories by plugin ID, where the +// icons they name are read. Once published, none is changed; a later read replaces them. type runConfigKinds struct { - types []core.RunConfigurationType - plugins *core.RunTypePlugins + types []core.RunConfigurationType + plugins *core.RunTypePlugins + directories map[string]string } // readRunConfigKinds asks Core for the kinds off the window thread, in language. A plugin @@ -51,12 +54,15 @@ func (a *App) readRunConfigKinds(ctx context.Context, kernel Kernel, language st if err != nil { return runConfigKinds{}, err } - // Only the plugins that declare a kind go on; Core lists each declared kind under its - // plugin, so the host never interprets a manifest itself. + // Only the plugins that declare a kind or a before-launch task go on. Core lists each + // declared kind under its plugin and reports the translations of every plugin that + // declares either, so the host never interprets a manifest itself. declaring := []pluginservice.ToolchainPlugin{} for _, plugin := range enabled { if slices.ContainsFunc(types, func(kind core.RunConfigurationType) bool { return kind.RunType != nil && kind.RunType.PluginID == plugin.PluginID + }) || slices.ContainsFunc(reports, func(report core.RunTypeLocalization) bool { + return report.PluginID == plugin.PluginID }) { declaring = append(declaring, plugin) } @@ -65,9 +71,11 @@ func (a *App) readRunConfigKinds(ctx context.Context, kernel Kernel, language st return runConfigKinds{types: types}, nil } plugins := &core.RunTypePlugins{Language: language, Plugins: make([]core.RunTypePlugin, len(declaring))} + directories := make(map[string]string, len(declaring)) read := false for index, plugin := range declaring { plugins.Plugins[index].Manifest = plugin.Manifest + directories[plugin.PluginID] = plugin.Directory report := slices.IndexFunc(reports, func(report core.RunTypeLocalization) bool { return report.PluginID == plugin.PluginID }) if report < 0 || !reports[report].ReadRequired { continue @@ -92,7 +100,12 @@ func (a *App) readRunConfigKinds(ctx context.Context, kernel Kernel, language st a.operationRejectedIn(ctx, "run_config_types", "invalid_localization") } } - return runConfigKinds{types: types, plugins: plugins}, nil + for _, kind := range types { + if kind.RunType != nil { + a.readRunTypeIcon(ctx, directories, kind.RunType.PluginID, kind.Icon) + } + } + return runConfigKinds{types: types, plugins: plugins, directories: directories}, nil } // runTypeCandidates is every enabled plugin with its manifest and package directory, nil while @@ -113,19 +126,62 @@ func (a *App) runTypeCandidates(ctx context.Context) []pluginservice.ToolchainPl return plugins } -// runTypePlugins is the `runTypePlugins` a request about a declared kind sends: the plugins -// the last read of the kinds kept, else, before any read answered, a read of its own. It runs -// off the window thread; kinds is what the window held when the request was made. +// runTypePlugins is the `runTypePlugins` a request about declared kinds or before-launch tasks +// sends: the plugins the last read of the kinds kept, nil when none declares one, else, before +// any read answered, a read of its own. It runs off the window thread; kinds is what the window +// held when the request was made. func (a *App) runTypePlugins(ctx context.Context, kernel Kernel, kinds runConfigKinds, language string) *core.RunTypePlugins { - if kinds.plugins != nil { - return kinds.plugins + return a.runTypeRead(ctx, kernel, kinds, language).plugins +} + +// runTypeRead is kinds when a read answered, else a read of its own, empty when it fails. It +// runs off the window thread. +func (a *App) runTypeRead(ctx context.Context, kernel Kernel, kinds runConfigKinds, language string) runConfigKinds { + // A read lists the built-in kinds at least, so its types are never nil. + if kinds.types != nil { + return kinds } read, err := a.readRunConfigKinds(ctx, kernel, language) if err != nil { a.backgroundFailedIn(ctx, "run_config_types", err) - return nil + return runConfigKinds{} + } + return read +} + +// readRunTaskIcons reads the package icons of the task kinds an answer about before-launch +// steps lists, off the window thread, from the packages of the read of the kinds the request +// sent. +func (a *App) readRunTaskIcons(ctx context.Context, kinds runConfigKinds, tasks []core.RunTaskKind) { + for _, task := range tasks { + a.readRunTypeIcon(ctx, kinds.directories, task.RunType.PluginID, task.Icon) + } +} + +// readRunTypeIcon reads the package icon a kind or task kind of pluginID names, off the window +// thread, so drawing only looks it up. A broken icon is logged once, with its package-relative +// path, and leaves the kind its fallback icon. +func (a *App) readRunTypeIcon(ctx context.Context, directories map[string]string, pluginID string, icon *core.RunTypeIcon) { + directory, ok := directories[pluginID] + if icon == nil || icon.Path == "" || !ok { + return + } + if err := a.pluginIcons.Read(pluginID, directory, runTypeIconDeclaration(icon)); err != nil { + a.backgroundFailedIn(ctx, "plugin_icon", fmt.Errorf("%s: %w", pluginID, err)) } - return read.plugins +} + +// runTypePackageIcon is the package icon a kind or task kind of pluginID names, once read. +func runTypePackageIcon(cache *pluginicons.Cache, pluginID string, icon *core.RunTypeIcon, dark bool) (gfx.Icon, bool) { + if icon == nil || icon.Path == "" { + return gfx.Icon{}, false + } + found, ok := cache.Lookup(pluginID, runTypeIconDeclaration(icon)) + return found.For(dark), ok +} + +func runTypeIconDeclaration(icon *core.RunTypeIcon) pluginicons.Declaration { + return pluginicons.Declaration{Path: icon.Path, DarkPath: icon.DarkPath, Mode: icon.Mode} } // runTypeKind is the declared kind key names among the kinds read, or nil. @@ -141,7 +197,7 @@ func (s *runConfigState) runTypeKind(key core.RunTypeKey) *core.RunConfiguration // kinds is the kinds read last, for a request made off the window thread. func (s *runConfigState) kinds() runConfigKinds { - return runConfigKinds{types: s.types, plugins: s.typePlugins} + return runConfigKinds{types: s.types, plugins: s.typePlugins, directories: s.typeDirectories} } // runTypeInstances are the detected instances of the build system that declares kind key, in @@ -206,30 +262,50 @@ func (a *App) launchDeclaredRun(p *project, op *buildOperation, id string, key c // plugin package is read-only, so the writable state directory the plan may name is the // plugin's per-workspace state, outside it. func (a *App) declaredRunSpec(ctx context.Context, p *project, kernel Kernel, root, pluginRoot, id string, key core.RunTypeKey, instances []buildInstance, messages i18n.BuildMessages) (buildprocess.Spec, error) { + return a.declaredProcessSpec(ctx, p, root, pluginRoot, instances, messages, func(manifest json.RawMessage, sources declaredPlanSources) (core.BuildPlan, error) { + return kernel.PlanRunConfiguration(ctx, manifest, key.BuildSystemID, root, core.RunConfigurationPlanRequest{ + ConfigurationID: id, Instances: sources.instances, + PluginDirectory: sources.pluginDirectory, WorkspaceStateDirectory: sources.stateDirectory, + }) + }) +} + +// declaredPlanSources are what Core's plan of a declared kind or task takes from the detected +// instances of its build system: every instance, and the package directory and writable +// per-workspace state directory of the plugin. +type declaredPlanSources struct { + instances []core.RunTypeInstance + pluginDirectory, stateDirectory string +} + +// declaredProcessSpec is the process of a plan of a declared kind or task: request asks Core +// for the plan with the plugin's manifest and sources, and the process runs the build tool the +// instance the plan picks resolves, at the plan's working directory under the project. +func (a *App) declaredProcessSpec(ctx context.Context, p *project, root, pluginRoot string, instances []buildInstance, messages i18n.BuildMessages, request func(json.RawMessage, declaredPlanSources) (core.BuildPlan, error)) (buildprocess.Spec, error) { first := instances[0] state := buildStateDirectory(pluginRoot, root, first) if err := os.MkdirAll(state, 0o700); err != nil { return buildprocess.Spec{}, err } - request := core.RunConfigurationPlanRequest{ - ConfigurationID: id, PluginDirectory: first.PackageDirectory, WorkspaceStateDirectory: state, - Instances: make([]core.RunTypeInstance, 0, len(instances)), + sources := declaredPlanSources{ + pluginDirectory: first.PackageDirectory, stateDirectory: state, + instances: make([]core.RunTypeInstance, 0, len(instances)), } for _, instance := range instances { - request.Instances = append(request.Instances, core.RunTypeInstance{Root: instance.Root, Options: instance.Options}) + sources.instances = append(sources.instances, core.RunTypeInstance{Root: instance.Root, Options: instance.Options}) } - plan, err := kernel.PlanRunConfiguration(ctx, first.Manifest, key.BuildSystemID, root, request) + planned, err := request(first.Manifest, sources) if err != nil { return buildprocess.Spec{}, err } - if plan.Provider != nil { - return buildprocess.Spec{}, errors.New("the run configuration plan names a provider request") + if planned.Provider != nil { + return buildprocess.Spec{}, errors.New("the declared plan names a provider request") } - index := slices.IndexFunc(instances, func(instance buildInstance) bool { return instance.Root == plan.Root }) + index := slices.IndexFunc(instances, func(instance buildInstance) bool { return instance.Root == planned.Root }) if index < 0 { - return buildprocess.Spec{}, fmt.Errorf("the run configuration plan names no detected instance: %s", plan.Root) + return buildprocess.Spec{}, fmt.Errorf("the declared plan names no detected instance: %s", planned.Root) } - directory, err := projectRunDirectory(root, plan.WorkingDirectory) + directory, err := projectRunDirectory(root, planned.WorkingDirectory) if err != nil { return buildprocess.Spec{}, err } @@ -240,9 +316,9 @@ func (a *App) declaredRunSpec(ctx context.Context, p *project, kernel Kernel, ro return buildprocess.Spec{ Kind: processledger.KindRun, Executable: execution.Executable, - Arguments: plan.Arguments, + Arguments: planned.Arguments, WorkingDirectory: directory, - Environment: applyToolchainSelection(plan.Environment, execution.selection()), + Environment: applyToolchainSelection(planned.Environment, execution.selection()), }, nil } @@ -262,10 +338,10 @@ func (s *runConfigState) kindTitle(language i18n.Language, k runConfigKind) stri return k.runType.Type } -// kindIcon is the icon of kind k: a built-in kind's file icon, the host icon a declared kind -// names, else the icon of its execution. A package image a kind names is not drawn yet, so -// such a kind shows its execution's icon too. -func (s *runConfigState) kindIcon(k runConfigKind, dark bool) gfx.Icon { +// kindIcon is the icon of kind k: a built-in kind's file icon, the package or host icon a +// declared kind names, else the icon of its execution. A package icon not read, or that this +// host cannot draw, falls back to the execution's icon. +func (s *runConfigState) kindIcon(k runConfigKind, cache *pluginicons.Cache, dark bool) gfx.Icon { if !k.declared() { return runConfigTypeIcon(k.provider, dark) } @@ -273,6 +349,9 @@ func (s *runConfigState) kindIcon(k runConfigKind, dark bool) gfx.Icon { if kind == nil { return icons.Play } + if icon, ok := runTypePackageIcon(cache, k.runType.PluginID, kind.Icon, dark); ok { + return icon + } if kind.Icon != nil && kind.Icon.Host != "" { if icon := pluginToolIcon(kind.Icon.Host); icon != nil { return *icon diff --git a/desktop/internal/workbench/runconfig_types_test.go b/desktop/internal/workbench/runconfig_types_test.go index ff9a1be8cc..827cef4d04 100644 --- a/desktop/internal/workbench/runconfig_types_test.go +++ b/desktop/internal/workbench/runconfig_types_test.go @@ -15,6 +15,7 @@ import ( "github.com/1lck/Lithe-IDEA/desktop/internal/core" "github.com/1lck/Lithe-IDEA/desktop/internal/pluginstate" "github.com/1lck/Lithe-IDEA/desktop/internal/store" + "github.com/vivaui/viva/gfx" ) const runTypesPluginID = "dev.lithe.test.run-types" @@ -22,14 +23,15 @@ const runTypesPluginID = "dev.lithe.test.run-types" // runTypesManifest declares one build system, detected by build.runtypes, with one run // configuration kind of its own: a mode choice, a checkbox that adds -v, a required target and // the user's program arguments, run by the fixture-build tool, which is the copied test binary -// running TestRunTypeRunner. +// running TestRunTypeRunner. The build system also declares one before-launch task, which runs +// the same tool with "task" and its required target. const runTypesManifest = `{ "schemaVersion": 0, "id": "dev.lithe.test.run-types", "displayName": "Run Types Fixture", "version": "1.0.0", "pluginAPIVersion": 0, - "requires": {"buildSystems": 0, "runConfigurationTypes": 0}, + "requires": {"buildSystems": 0, "runConfigurationTypes": 0, "beforeLaunchTasks": 0}, "vendor": {"id": "dev.lithe.test", "displayName": "Test", "signatureRequirement": "publisherPackage"}, "permissions": ["process.build"], "activationEvents": ["onBuildSystem:fixture-runs"], @@ -59,11 +61,19 @@ const runTypesManifest = `{ {"id": "target", "title": "Target", "kind": "text", "placeholder": "a name", "required": true} ], "arguments": ["-test.run=^TestRunTypeRunner$", "--", "${field:mode}", "${field:verbose}", "${field:target}", "${userArguments}"] + }], + "beforeLaunchTasks": [{ + "id": "prepare", + "displayName": "Fixture Task", + "description": "Prepares the fixture.", + "icon": {"host": "run"}, + "fields": [{"id": "target", "title": "Target", "kind": "text", "required": true}], + "arguments": ["-test.run=^TestRunTypeRunner$", "--", "task", "${field:target}"] }] }] }` -// runTypesChinese is the package's Chinese translation of the kind and its fields. +// runTypesChinese is the package's Chinese translation of the kind, the task and their fields. const runTypesChinese = `{ "runConfigurationTypes": { "fixture-runs": { @@ -77,6 +87,15 @@ const runTypesChinese = `{ } } } + }, + "beforeLaunchTasks": { + "fixture-runs": { + "prepare": { + "displayName": "夹具任务", + "description": "准备夹具。", + "fields": {"target": {"title": "任务目标"}} + } + } } }` @@ -220,6 +239,147 @@ func fillDeclaredRun(t *testing.T, h *harness, p *project, f *runConfigForm, nam awaitStateWithin(t, h, 10*time.Second, "the edited form", func() bool { return !f.refreshing }) } +// The menu of kinds keeps each row one line: a kind's description, in its plugin's translation, +// is the tip of the ⓘ at the row's end, shown while the pointer rests on the ⓘ, and pressing the +// ⓘ does not choose the kind. +func TestRunConfigKindMenuShowsDescriptionsBehindInfo(t *testing.T) { + h, p, _ := runTypesHarness(t, "print", true) + d := &p.runConfigs.dialog + h.app.post(func(a *App) { + a.openRunConfigDialog(p, "") + d.newMenu = runConfigNewMenuToolbar + }) + h.settle() + const title, description = "夹具运行", "运行夹具工具。" + if !h.shows(title) || h.shows(description) { + t.Fatalf("the menu shows the kind %v and its description %v, want the kind alone", h.shows(title), h.shows(description)) + } + var info gfx.Hit + for _, hit := range h.driver.Snapshot().Hits { + if hit.Hint == description { + info = hit + } + } + if info.ID.IsZero() || info.Label != h.shared("native.moreInformation") { + t.Fatalf("no ⓘ carries the description: %+v", info) + } + at := center(info.Bounds) + if err := h.driver.Move(at.X, at.Y); err != nil { + t.Fatalf("Move: %v", err) + } + if err := h.driver.Advance(150 * time.Millisecond); err != nil { + t.Fatalf("Advance: %v", err) + } + h.settle() + if !h.shows(description) { + t.Fatal("resting on the ⓘ does not show the kind's description") + } + h.click(at) + h.settle() + if d.newMenu != runConfigNewMenuToolbar || len(d.drafts) != 0 { + t.Fatalf("pressing the ⓘ left the menu %v with drafts %v, want it open with none", d.newMenu, d.drafts) + } +} + +// runTypesIconHarness is runTypesHarness, in a dark theme, with the fixture's kind naming the +// package icon icons/fixture.svg, and icons/fixture-dark.svg as its dark variant, holding the +// given SVG documents. Logs go to the returned recorder from the start; the plugin root is +// returned too. +func runTypesIconHarness(t *testing.T, light, dark string) (*harness, *project, *treeRecordingLog, string) { + t.Helper() + options, root := runTypesOptions(t, "dark", "zh-Hans", "print", true) + installed := filepath.Join(options.PluginRoot, runTypesPluginID, "1.0.0") + manifest := strings.Replace(runTypesManifest, `"icon": {"host": "run"}`, + `"icon": {"path": "icons/fixture.svg", "darkPath": "icons/fixture-dark.svg", "mode": "original"}`, 1) + files := map[string]string{"plugin.json": manifest, "icons/fixture.svg": light, "icons/fixture-dark.svg": dark} + for name, content := range files { + target := filepath.Join(installed, filepath.FromSlash(name)) + if err := os.MkdirAll(filepath.Dir(target), 0o700); err != nil { + t.Fatal(err) + } + if err := os.WriteFile(target, []byte(content), 0o600); err != nil { + t.Fatal(err) + } + } + h := newHarnessWithOptions(t, options) + logger := &treeRecordingLog{} + h.app.logSink = logger + h.open(root) + return h, awaitRunTypes(t, h, true), logger, options.PluginRoot +} + +// pluginIconFailures are the logged failures to read a package icon. +func pluginIconFailures(logger *treeRecordingLog) []core.LogEvent { + logger.mu.Lock() + defer logger.mu.Unlock() + var failures []core.LogEvent + for _, event := range logger.events { + if event.Event == backgroundFailedEvent && event.Fields["operation"] == "plugin_icon" { + failures = append(failures, event) + } + } + return failures +} + +// iconFill is an SVG square in one color. +func iconFill(color string) string { + return `` +} + +// A declared kind that names an SVG in its package is drawn with it in the + menu, in its own +// colors and, in a dark theme, its dark variant; the package stays as installed. +func TestRunConfigKindDrawsItsPackageIcon(t *testing.T) { + h, p, logger, _ := runTypesIconHarness(t, iconFill("#FF0000"), iconFill("#0000FF")) + if failures := pluginIconFailures(logger); len(failures) != 0 { + t.Fatalf("the icon was not read: %+v", failures) + } + icon := p.runConfigs.kindIcon(declaredKind(runTypesKey), &h.app.pluginIcons, h.app.colors.Dark) + if len(icon.Layers) != 1 || icon.Layers[0].Fill.Blue != 1 || icon.Layers[0].Fill.Red != 0 { + t.Fatalf("the kind's icon = %+v, want the package's dark variant in its own color", icon) + } + if light := p.runConfigs.kindIcon(declaredKind(runTypesKey), &h.app.pluginIcons, false); len(light.Layers) != 1 || light.Layers[0].Fill.Red != 1 { + t.Fatalf("the light theme's icon = %+v, want the package's icon", light) + } + h.app.post(func(a *App) { + a.openRunConfigDialog(p, "") + p.runConfigs.dialog.newMenu = runConfigNewMenuToolbar + }) + h.settle() + if !h.shows("夹具运行") { + t.Fatal("the + menu does not list the kind") + } +} + +// An icon the contract refuses leaves the kind its execution's icon and is logged once, by its +// package-relative path and never by where the package is installed. +func TestRunConfigKindWithARefusedIconKeepsItsFallback(t *testing.T) { + refused := `` + h, p, logger, pluginRoot := runTypesIconHarness(t, refused, iconFill("#0000FF")) + kind := p.runConfigs.runTypeKind(runTypesKey) + if kind == nil { + t.Fatal("the kind is not listed") + } + icon := p.runConfigs.kindIcon(declaredKind(runTypesKey), &h.app.pluginIcons, h.app.colors.Dark) + if fallback := runExecutionIcon(kind.Execution); !slices.Equal(icon.Commands, fallback.Commands) || len(icon.Layers) != 0 { + t.Fatalf("a refused icon is drawn: %+v", icon) + } + // A second read of the kinds, as opening the dialog makes, does not log the same icon again. + read := false + h.app.post(func(a *App) { + a.loadRunConfigTypes(p, true) + read = p.runConfigs.typesLoading + }) + awaitStateWithin(t, h, 20*time.Second, "the second read of the kinds", func() bool { return read && !p.runConfigs.typesLoading }) + failures := pluginIconFailures(logger) + if len(failures) != 1 { + t.Fatalf("the refused icon was logged %d times, want once: %+v", len(failures), failures) + } + message, _ := failures[0].Fields["error"].(string) + if !strings.Contains(message, "icons/fixture.svg") || !strings.Contains(message, runTypesPluginID) || strings.Contains(message, pluginRoot) { + t.Fatalf("the failure reads %q", message) + } +} + // A plugin's declared kind lists in the plugin's translation; the + menu adds it to a dialog // group of its own, whose form shows the kind's translated fields beside the host's. The saved // configuration is a build.run-type entry in the project file, and Run starts the build tool diff --git a/desktop/internal/workbench/runconfig_types_visual_test.go b/desktop/internal/workbench/runconfig_types_visual_test.go index 70723c5548..60bcdfab2a 100644 --- a/desktop/internal/workbench/runconfig_types_visual_test.go +++ b/desktop/internal/workbench/runconfig_types_visual_test.go @@ -14,8 +14,9 @@ import ( // TestVisualPluginDeclaredRuns captures a kind a plugin declares in the Run/Debug // Configurations dialog: the + menu that lists it after the built-in kinds, its editor with -// the plugin's fields and the multiple-instances switch, and the Run window with two -// instances of it running side by side. It needs only LITHE_VISUAL_OUTPUT_DIR; the dark +// the plugin's fields and the multiple-instances switch, the Before Launch menu that offers the +// plugin's task after "Run Another Configuration", the task's own form, and the Run window with +// two instances of it running side by side. It needs only LITHE_VISUAL_OUTPUT_DIR; the dark // captures read the plugin's Chinese translation and the light ones its English manifest. func TestVisualPluginDeclaredRuns(t *testing.T) { out := os.Getenv("LITHE_VISUAL_OUTPUT_DIR") @@ -69,6 +70,23 @@ func TestVisualPluginDeclaredRuns(t *testing.T) { h.settleChain() shot("form") + h.app.post(func(*App) { f.beforeLaunch.menu = true }) + h.settleChain() + shot("before-launch-menu") + h.app.post(func(a *App) { + f.beforeLaunch.menu = false + for _, field := range f.fields { + if field.ID == runFieldBeforeLaunch && len(field.Tasks) > 0 { + kind := field.Tasks[0] + a.openRunConfigTask(p, f.beforeLaunch, kind, -1, kind.Values, nil) + } + } + }) + awaitStateWithin(t, h, 10*time.Second, "the task form", func() bool { return p.runConfigs.task != nil }) + h.settleChain() + shot("task-form") + h.app.post(func(*App) { p.closeRunConfigTask(p.runConfigs.task) }) + applyDialog(t, h, p, runConfigDialogOK) id := p.runConfigs.list[0].ID running := func() int { diff --git a/desktop/internal/workbench/runconfig_view.go b/desktop/internal/workbench/runconfig_view.go index 877bce6577..af12e70240 100644 --- a/desktop/internal/workbench/runconfig_view.go +++ b/desktop/internal/workbench/runconfig_view.go @@ -192,7 +192,7 @@ func (a *App) drawRunConfigRow(p *project, row ui.ListRow, selected bool) { ui.Row(c.Part("arrow")).Size(treelist.Disclosure, treelist.Icon).Shrink(0) icon, name := runExecutionIcon(configuration.Execution), a.colors.Text if kind, ok := runConfigKindOf(configuration); ok { - icon = s.kindIcon(kind, a.colors.Dark) + icon = s.kindIcon(kind, &a.pluginIcons, a.colors.Dark) } if unavailable { icon, name = icons.CircleAlert, a.colors.Subtle @@ -296,8 +296,8 @@ func (a *App) runConfigMenu(c ui.C, row ui.Box, p *project, configuration core.R } // drawRunConfigEditorPane declares the editor of a build provider run in the dialog: -// arguments, working directory, environment, the provider's choices, the process runs that -// start first and the layer file the edit is saved into. +// arguments, working directory, environment, the provider's choices, the layer file the edit +// is saved into and, last, the Before Launch section. func (a *App) drawRunConfigEditorPane(c ui.C, p *project, e *runConfigEditor) { language := a.language() ready := e.ready() @@ -335,17 +335,13 @@ func (a *App) drawRunConfigEditorPane(c ui.C, p *project, e *runConfigEditor) { a.drawRunOptionField(c.Part("option-"+strconv.Itoa(index)), language, &e.optionFields[index], ready) } } - ui.Column(c.Part("before-launch-field")).FillWidth().Gap(4).Children(func() { - ui.Row(c).FillWidth().Items(ui.Center).Gap(4).Children(func() { - ui.Text(c, i18n.Shared(language, "desktop.runConfig.fieldBeforeLaunch")).FontSize(a.theme.Metrics.FontSizeS).Color(a.colors.Subtle) - ui.Button(c.Part("help"), i18n.Shared(language, "native.moreInformation")).Icon(icons.Info).IconOnly().Ghost(). - Size(18, 18).Shrink(0).Tooltip(i18n.Shared(language, "desktop.runConfig.beforeLaunchHelp")).TooltipOn(ui.TooltipRight) - }) - a.drawRunConfigBeforeLaunch(c, &e.beforeLaunch, &e.beforeLaunchMenu, p.runConfigs.beforeLaunchCandidates(e.id), ready, nil) - }) labels := map[string]string{"local": i18n.Shared(language, "desktop.runConfig.scopeLocal"), "project": i18n.Shared(language, "desktop.runConfig.scopeProject")} ui.Select(c.Part("scope"), &e.scope, []string{"local", "project"}, func(scope string) string { return labels[scope] }). Label(i18n.Shared(language, "desktop.runConfig.scope")).FillWidth().Disabled(!ready) + if e.beforeLaunch != nil { + a.drawRunConfigBeforeLaunch(c.Part("before-launch-field"), p, e.beforeLaunch, i18n.Shared(language, "desktop.runConfig.fieldBeforeLaunch"), + i18n.Shared(language, "desktop.runConfig.beforeLaunchHelp"), e.beforeLaunchCandidates, e.beforeLaunchTasks, ready, nil) + } if e.failure != "" { ui.Paragraph(c, e.failure, 4).FontSize(a.theme.Metrics.FontSizeS).Color(a.theme.Danger) } diff --git a/docs/assets/before-launch/README.md b/docs/assets/before-launch/README.md new file mode 100644 index 0000000000..adc931c19c --- /dev/null +++ b/docs/assets/before-launch/README.md @@ -0,0 +1,13 @@ +# 运行配置“执行前”测试截图 + +这些截图是生产 Viva Page 的无头渲染,在 macOS 上生成,由 `TestVisualBeforeLaunchSteps` 输出。项目是隔离的临时项目 ServiceDemo, +项目文件里有三个 Shell 运行 generate、frontend、docs,和一个程序运行 Server;Server 的执行前步骤依次是 generate、frontend。 +深色界面用中文,浅色界面用英文,窗口 1200×820。控制台内容是步骤和配置真实打印的输出。 +无头截图不代表 macOS/Windows 原生窗口验收。 + +| 场景 | 深色中文 | 浅色英文 | +| --- | --- | --- | +| 编辑 Server:和 IDEA 一样,“执行前”在编辑器最底下、横跨整个表单。标题行是折叠箭头、标题、ⓘ 和分隔线;下面是带框列表,顶部工具栏 + − ✎ ↑ ↓,没有选中行时只有“+”可用;每行是配置图标和“运行“名称”” | [截图](before-launch-editor-dark.png) | [截图](before-launch-editor-light.png) | +| 选中第二步后点“+”→“运行另一个配置”:弹出“选择要执行的配置”,只列出列表里还没有的 docs;选中行整行高亮 | [截图](before-launch-choose-dark.png) | [截图](before-launch-choose-light.png) | +| 第一次运行项目文件里写的步骤前,询问是否运行这些步骤 | [截图](before-launch-confirm-dark.png) | [截图](before-launch-confirm-light.png) | +| 确认后,步骤和 Server 的输出依次写在同一个 Run 控制台里 | [截图](before-launch-run-output-dark.png) | [截图](before-launch-run-output-light.png) | diff --git a/docs/assets/before-launch/before-launch-choose-dark.png b/docs/assets/before-launch/before-launch-choose-dark.png new file mode 100644 index 0000000000..651c98577a Binary files /dev/null and b/docs/assets/before-launch/before-launch-choose-dark.png differ diff --git a/docs/assets/before-launch/before-launch-choose-light.png b/docs/assets/before-launch/before-launch-choose-light.png new file mode 100644 index 0000000000..d42e2b0291 Binary files /dev/null and b/docs/assets/before-launch/before-launch-choose-light.png differ diff --git a/docs/assets/before-launch/before-launch-editor-dark.png b/docs/assets/before-launch/before-launch-editor-dark.png index 5b8dabfe39..1f83b7b210 100644 Binary files a/docs/assets/before-launch/before-launch-editor-dark.png and b/docs/assets/before-launch/before-launch-editor-dark.png differ diff --git a/docs/assets/before-launch/before-launch-editor-light.png b/docs/assets/before-launch/before-launch-editor-light.png index b00a596466..7e60cc7e6a 100644 Binary files a/docs/assets/before-launch/before-launch-editor-light.png and b/docs/assets/before-launch/before-launch-editor-light.png differ diff --git a/docs/assets/builtin-process-runs/README.md b/docs/assets/builtin-process-runs/README.md index 8a4408c7b6..cbddd0689d 100644 --- a/docs/assets/builtin-process-runs/README.md +++ b/docs/assets/builtin-process-runs/README.md @@ -11,17 +11,18 @@ Shell 脚本在系统 shell 里真实运行,控制台内容是真实输出, 对话框左侧是工具栏(+ 新建、− 删除、复制、新建文件夹、按字母顺序排序)和按类型分组的配置树,右侧是选中配置的编辑器。 配置树的图标是各类型的彩色文件图标:Shell 脚本、PowerShell 脚本、批处理脚本和程序各不相同。 底部左边是“运行”,右边是“取消 / 应用 / 确定”。 +编辑器最底下是和 IDEA 一样的“执行前”区域:可折叠的标题和带工具栏(+ − ✎ ↑ ↓)的列表,截图里的配置都没有执行前任务。 编辑器的名称行右侧是“存为项目文件”和“允许多个实例”;勾选后者的配置再次运行时,在旁边另开一个实例,不先停掉正在运行的那个(两个实例同时运行的截图在 `docs/assets/plugin-declared-runs/`)。 | 场景 | 深色中文 | 浅色英文 | | --- | --- | --- | | 还没有配置时打开对话框,和 IDEA 一样:左侧是“未添加运行配置。”和链接“添加新… ⌃N”,右侧是链接“添加新的运行配置…”和“或选择要编辑的运行配置”。两个链接和 ⌃N 都打开类型菜单 | [截图](builtin-run-dialog-empty-dark.png) | [截图](builtin-run-dialog-empty-light.png) | | 新建 Shell 脚本,执行方式为脚本文件:勾选了“存为项目文件”,填了脚本路径、脚本选项、项目内的工作目录和一个环境变量。解释器路径选的是“自动”,下拉框显示自动值,取自脚本首行的 `#!/bin/bash`。脚本选项、解释器路径和解释器选项旁的 ⓘ 说明各自传给谁 | [截图](builtin-run-shell-file-dark.png) | [截图](builtin-run-shell-file-light.png) | -| 同一配置换成脚本文本,出现多行文本框。文本没有首行 `#!`,解释器自动值变为 `/bin/sh` | [截图](builtin-run-shell-text-dark.png) | [截图](builtin-run-shell-text-light.png) | +| 同一配置换成脚本文本,出现脚本文本框:默认 1 行,随内容逐行增高(这里两行命令加末尾换行,共 3 行),超过 4 行后在框内滚动。文本没有首行 `#!`,解释器自动值变为 `/bin/sh` | [截图](builtin-run-shell-text-dark.png) | [截图](builtin-run-shell-text-light.png) | | 展开解释器路径下拉:第一项是“自动(/bin/sh)”,然后是终端检测到的 POSIX shell(zsh、bash),最后是“自定义…”。截图用固定的 shell 列表(zsh、bash、pwsh),pwsh 不属于 Shell 脚本这一类,所以不列出 | [截图](builtin-run-interpreter-list-dark.png) | [截图](builtin-run-interpreter-list-light.png) | | 选“自定义…”后,下拉下方出现“自定义解释器”输入框,可以填命令名(按 PATH 查找)或路径,右侧按钮用来选择文件。这里填了 `/opt/homebrew/bin/bash`;改回“自动”或选某个 shell 后,输入框收起 | [截图](builtin-run-interpreter-custom-dark.png) | [截图](builtin-run-interpreter-custom-light.png) | | 点击对话框的“运行”后:配置写入 `.lithe/run/configurations.yaml`,对话框关闭,Run 窗口打开并选中这次运行。控制台打印脚本输出,执行树以“进程已结束,退出码 0。”结束;标题栏改选 Greet | [截图](builtin-run-run-output-dark.png) | [截图](builtin-run-run-output-light.png) | -| 再次打开对话框并展开“+”菜单:列出四类内置运行,批处理脚本下注明“仅 Windows” | [截图](builtin-run-new-menu-dark.png) | [截图](builtin-run-new-menu-light.png) | +| 再次打开对话框并展开“+”菜单:四类内置运行每类占一行,说明放在名称后的 ⓘ 里,悬停时显示;批处理脚本的 ⓘ 显示“仅 Windows” | [截图](builtin-run-new-menu-dark.png) | [截图](builtin-run-new-menu-light.png) | | 新建 PowerShell 脚本:macOS 上的解释器自动值是 pwsh,解释器选项自动值是 `-NoLogo -NoProfile`。“绕过执行策略(-ExecutionPolicy Bypass)”默认勾选,ⓘ 说明只在 Windows 生效 | [截图](builtin-run-powershell-dark.png) | [截图](builtin-run-powershell-light.png) | | 新建可执行程序:程序路径、程序参数(含带引号的空格参数)和工作目录 | [截图](builtin-run-executable-dark.png) | [截图](builtin-run-executable-light.png) | | 在 macOS 上新建批处理脚本:能编辑、能保存,编辑器顶部提示“批处理脚本只能在 Windows 上运行;在这台电脑上可以编辑和保存,但不能运行。”。配置树里这一行带警告图标,对话框的“运行”置灰 | [截图](builtin-run-batch-dark.png) | [截图](builtin-run-batch-light.png) | diff --git a/docs/assets/builtin-process-runs/builtin-run-batch-dark.png b/docs/assets/builtin-process-runs/builtin-run-batch-dark.png index 4de4f8eaf1..c740581208 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-batch-dark.png and b/docs/assets/builtin-process-runs/builtin-run-batch-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-batch-light.png b/docs/assets/builtin-process-runs/builtin-run-batch-light.png index 4a0c3251d1..5cdf3f31bc 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-batch-light.png and b/docs/assets/builtin-process-runs/builtin-run-batch-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-copy-dark.png b/docs/assets/builtin-process-runs/builtin-run-copy-dark.png index 9cf6ea1bf9..26ff08714a 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-copy-dark.png and b/docs/assets/builtin-process-runs/builtin-run-copy-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-copy-light.png b/docs/assets/builtin-process-runs/builtin-run-copy-light.png index 970317601f..2cfbb0b9ff 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-copy-light.png and b/docs/assets/builtin-process-runs/builtin-run-copy-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-executable-dark.png b/docs/assets/builtin-process-runs/builtin-run-executable-dark.png index a70009daa3..b2ac5c4f91 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-executable-dark.png and b/docs/assets/builtin-process-runs/builtin-run-executable-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-executable-light.png b/docs/assets/builtin-process-runs/builtin-run-executable-light.png index b2ee6f66eb..d953437900 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-executable-light.png and b/docs/assets/builtin-process-runs/builtin-run-executable-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-folders-dark.png b/docs/assets/builtin-process-runs/builtin-run-folders-dark.png index 302bc91938..6aa6aa781a 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-folders-dark.png and b/docs/assets/builtin-process-runs/builtin-run-folders-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-folders-light.png b/docs/assets/builtin-process-runs/builtin-run-folders-light.png index b34743fbf2..93865783b8 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-folders-light.png and b/docs/assets/builtin-process-runs/builtin-run-folders-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-dark.png b/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-dark.png index aeb050a249..49d1bdedcc 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-dark.png and b/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-light.png b/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-light.png index 0b10218dad..4b0efd336d 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-light.png and b/docs/assets/builtin-process-runs/builtin-run-interpreter-custom-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-interpreter-list-dark.png b/docs/assets/builtin-process-runs/builtin-run-interpreter-list-dark.png index f54939a39a..fe286bf0f6 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-interpreter-list-dark.png and b/docs/assets/builtin-process-runs/builtin-run-interpreter-list-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-interpreter-list-light.png b/docs/assets/builtin-process-runs/builtin-run-interpreter-list-light.png index 8685cf67da..7e30791809 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-interpreter-list-light.png and b/docs/assets/builtin-process-runs/builtin-run-interpreter-list-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-new-menu-dark.png b/docs/assets/builtin-process-runs/builtin-run-new-menu-dark.png index 25df552cd9..0c7ebd783d 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-new-menu-dark.png and b/docs/assets/builtin-process-runs/builtin-run-new-menu-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-new-menu-light.png b/docs/assets/builtin-process-runs/builtin-run-new-menu-light.png index 139aebef83..080dbf53fa 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-new-menu-light.png and b/docs/assets/builtin-process-runs/builtin-run-new-menu-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-powershell-dark.png b/docs/assets/builtin-process-runs/builtin-run-powershell-dark.png index 5550b9e832..1c1b0d7ecf 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-powershell-dark.png and b/docs/assets/builtin-process-runs/builtin-run-powershell-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-powershell-light.png b/docs/assets/builtin-process-runs/builtin-run-powershell-light.png index 6ad86296f8..91efe483ac 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-powershell-light.png and b/docs/assets/builtin-process-runs/builtin-run-powershell-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-shell-file-dark.png b/docs/assets/builtin-process-runs/builtin-run-shell-file-dark.png index bee475891f..621bb61191 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-shell-file-dark.png and b/docs/assets/builtin-process-runs/builtin-run-shell-file-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-shell-file-light.png b/docs/assets/builtin-process-runs/builtin-run-shell-file-light.png index dd282d6108..c77640ea8f 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-shell-file-light.png and b/docs/assets/builtin-process-runs/builtin-run-shell-file-light.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-shell-text-dark.png b/docs/assets/builtin-process-runs/builtin-run-shell-text-dark.png index 6b3fe7bb05..8ff0954571 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-shell-text-dark.png and b/docs/assets/builtin-process-runs/builtin-run-shell-text-dark.png differ diff --git a/docs/assets/builtin-process-runs/builtin-run-shell-text-light.png b/docs/assets/builtin-process-runs/builtin-run-shell-text-light.png index 91ce6fd2eb..f3fbf0a03f 100644 Binary files a/docs/assets/builtin-process-runs/builtin-run-shell-text-light.png and b/docs/assets/builtin-process-runs/builtin-run-shell-text-light.png differ diff --git a/docs/assets/plugin-declared-runs/README.md b/docs/assets/plugin-declared-runs/README.md index 7f72fe5f81..5b0bfabafc 100644 --- a/docs/assets/plugin-declared-runs/README.md +++ b/docs/assets/plugin-declared-runs/README.md @@ -1,15 +1,18 @@ # 插件声明的运行类型测试截图 这些截图是生产 Viva Page 的无头渲染,在 macOS 上生成。项目是隔离的临时项目 RunTypesDemo,装了一个只在测试里存在的合成插件 -`dev.lithe.test.run-types`:它的构建系统 Fixture Runs 声明了运行类型 Fixture Run,字段有“模式”(慢速/快速)、“详细输出”(勾选后加 `-v`)和必填的“目标”。 +`dev.lithe.test.run-types`:它的构建系统 Fixture Runs 声明了运行类型 Fixture Run,字段有“模式”(慢速/快速)、“详细输出”(勾选后加 `-v`)和必填的“目标”; +还声明了一个启动前任务 Fixture Task,字段是必填的“任务目标”。 插件包里带一份中文翻译。深色界面用中文,读插件的中文翻译;浅色界面用英文,读插件清单的原文。窗口 1200×760。 运行的是测试二进制本身,控制台内容是它真实打印的参数,日期来自测试的虚拟时钟。 无头截图不代表 macOS/Windows 原生窗口验收。 | 场景 | 深色中文 | 浅色英文 | | --- | --- | --- | -| 打开“运行/调试配置”并展开“+”菜单:四类内置运行之后列出插件声明的“夹具运行”,下方是插件写的说明“运行夹具工具。” | [截图](declared-run-new-menu-dark.png) | [截图](declared-run-new-menu-light.png) | -| 新建一条夹具运行:配置树里“夹具运行”单独一组;右侧是插件字段(模式、详细输出、目标),标题和选项名都来自插件翻译,下面是宿主统一提供的程序参数、工作目录、环境变量和启动前。名称行勾选了“存为项目文件”和“允许多个实例” | [截图](declared-run-form-dark.png) | [截图](declared-run-form-light.png) | +| 打开“运行/调试配置”并展开“+”菜单:四类内置运行之后列出插件声明的“夹具运行”。每类一行,有说明的类型在名称后面显示 ⓘ,鼠标停在 ⓘ 上才显示说明(插件写的“运行夹具工具。”) | [截图](declared-run-new-menu-dark.png) | [截图](declared-run-new-menu-light.png) | +| 新建一条夹具运行:配置树里“夹具运行”单独一组;右侧是插件字段(模式、详细输出、目标),标题和选项名都来自插件翻译,下面是宿主统一提供的程序参数、工作目录和环境变量;最底下是横跨表单的“执行前”:标题带折叠箭头和 ⓘ,下面是带框列表,顶部工具栏是 + − ✎ ↑ ↓,没有任务时居中显示“启动前没有要运行的任务”。名称行勾选了“存为项目文件”和“允许多个实例” | [截图](declared-run-form-dark.png) | [截图](declared-run-form-light.png) | +| 点“执行前”工具栏的“+”:弹出“添加新任务”,标题居中加粗,第一项“运行另一个配置”打开可运行配置的列表,后面是插件声明的启动前任务“夹具任务” | [截图](declared-run-before-launch-menu-dark.png) | [截图](declared-run-before-launch-menu-light.png) | +| 选“夹具任务”后弹出任务自己的表单:标题“添加任务:夹具任务”,下面是插件写的说明和插件翻译的字段“任务目标”;点“确定”由 Core 检查值后才加入列表 | [截图](declared-run-task-form-dark.png) | [截图](declared-run-task-form-light.png) | | 点“确定”保存后连续运行两次:Run 窗口里有两个 Fixture Alpha 标签,两个实例都在运行,控制台打印 `run-type ran: fast -v alpha one two`,即 Core 按字段值拼出的参数。旁边的“同步 Fixture Runs”是打开项目时读取构建模型的会话 | [截图](declared-run-two-instances-dark.png) | [截图](declared-run-two-instances-light.png) | 复验:设置 `LITHE_VISUAL_OUTPUT_DIR` 后运行: diff --git a/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-dark.png b/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-dark.png new file mode 100644 index 0000000000..77636f308f Binary files /dev/null and b/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-dark.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-light.png b/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-light.png new file mode 100644 index 0000000000..8db4633109 Binary files /dev/null and b/docs/assets/plugin-declared-runs/declared-run-before-launch-menu-light.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-form-dark.png b/docs/assets/plugin-declared-runs/declared-run-form-dark.png index 692209a505..fbcb577023 100644 Binary files a/docs/assets/plugin-declared-runs/declared-run-form-dark.png and b/docs/assets/plugin-declared-runs/declared-run-form-dark.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-form-light.png b/docs/assets/plugin-declared-runs/declared-run-form-light.png index 69557e0f25..6d2d18af09 100644 Binary files a/docs/assets/plugin-declared-runs/declared-run-form-light.png and b/docs/assets/plugin-declared-runs/declared-run-form-light.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-new-menu-dark.png b/docs/assets/plugin-declared-runs/declared-run-new-menu-dark.png index c581b53b22..f7dccaea5e 100644 Binary files a/docs/assets/plugin-declared-runs/declared-run-new-menu-dark.png and b/docs/assets/plugin-declared-runs/declared-run-new-menu-dark.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-new-menu-light.png b/docs/assets/plugin-declared-runs/declared-run-new-menu-light.png index 9407b9627e..afb4fe7fcc 100644 Binary files a/docs/assets/plugin-declared-runs/declared-run-new-menu-light.png and b/docs/assets/plugin-declared-runs/declared-run-new-menu-light.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-task-form-dark.png b/docs/assets/plugin-declared-runs/declared-run-task-form-dark.png new file mode 100644 index 0000000000..3aeaec313d Binary files /dev/null and b/docs/assets/plugin-declared-runs/declared-run-task-form-dark.png differ diff --git a/docs/assets/plugin-declared-runs/declared-run-task-form-light.png b/docs/assets/plugin-declared-runs/declared-run-task-form-light.png new file mode 100644 index 0000000000..aa27b10d69 Binary files /dev/null and b/docs/assets/plugin-declared-runs/declared-run-task-form-light.png differ diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 7c41ae4f04..d51c5eea5f 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -27,6 +27,12 @@ native_path() { fi } +# Lithe-core-rust main at 0a15a98: #97, squash-merged into main on top of 7f1fc4b (#96, managed +# runtime preparation and isolated resolver sessions) and c146247 (#95, docs): +# buildSystems[].beforeLaunchTasks (beforeLaunchTasks 0) declare tasks a run configuration's +# Before Launch list may run; runConfig.checkBeforeLaunchTask checks a task's form, +# runConfig.beforeLaunchField reads the list for editors without an editor form, +# runConfig.beforeLaunch expands task steps and build.beforeLaunchTaskPlan plans one (API-29). # Lithe-core-rust main at e56dbb650 (#93): project tool environments use Core's discovery # plan, native path validation and machine-local workspace trust catalog (#2122). # Lithe-core-rust main at 661ef0f: #94, squash-merged into main on top of 8b91b32: a plugin's @@ -245,7 +251,7 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # the contract, plugin guides, reference and SDKs live only in shared/plugins; on top of #16 (reported Git queries folded in the console), # #15 (git.write cherryPick, revert and reset fields), #14 (word-level changed ranges of diff # rows), #13, #8, #7, #6 and #4. -PINNED_CORE_REVISION="7f1fc4becd0b4b415aa463abd0ea5e2810b3e964" +PINNED_CORE_REVISION="0a15a980108e8316ff52fc512c6603df25a06f3b" PROFILE="debug" while [[ $# -gt 0 ]]; do case "$1" in diff --git a/shared/i18n/locales/en-US.json b/shared/i18n/locales/en-US.json index fe6aa6fea9..58d0a045f6 100644 --- a/shared/i18n/locales/en-US.json +++ b/shared/i18n/locales/en-US.json @@ -11528,15 +11528,29 @@ "desktop.runConfig.beforeLaunch.refused.tooLong": "Too many before-launch steps at {step}: at most 32 run once nested steps are expanded.", "desktop.runConfig.beforeLaunch.refused.unavailable": "Before-launch step {step} is not available on this system.", "desktop.runConfig.beforeLaunch.stepHeader": "Before launch ({index}/{count}): {name}", - "desktop.runConfig.beforeLaunchAdd": "Add step", + "desktop.runConfig.beforeLaunchAdd": "Add task", + "desktop.runConfig.beforeLaunchMenuTitle": "Add New Task", + "desktop.runConfig.beforeLaunchRunAnother": "Run Another Configuration", "desktop.runConfig.beforeLaunchDown": "Move down", - "desktop.runConfig.beforeLaunchEmpty": "No steps", - "desktop.runConfig.beforeLaunchHelp": "Process runs that start, in order, before this configuration. It starts only after each of them exits with code 0.", + "desktop.runConfig.beforeLaunchEmpty": "There are no tasks to run before launch", + "desktop.runConfig.beforeLaunchHelp": "Tasks that run, in order, before this configuration: another run configuration, or a task a plugin provides. It starts only after each of them exits with code 0.", "desktop.runConfig.beforeLaunchMissing": "Missing configuration {id}", - "desktop.runConfig.beforeLaunchNoCandidates": "Create a shell, PowerShell, batch or executable run first to use it as a step.", + "desktop.runConfig.beforeLaunchNoCandidates": "No script or program runs yet", "desktop.runConfig.beforeLaunchRemove": "Remove step", "desktop.runConfig.beforeLaunchUp": "Move up", "desktop.runConfig.errorUnavailable": "Not available on this system", + "desktop.runConfig.beforeLaunch.refused.taskNotDeclared": "No installed, enabled plugin provides the before-launch task {task} of {step}.", + "desktop.runConfig.beforeLaunch.refused.invalidTaskValues": "The before-launch task {task} of {step} has invalid settings; edit it again in the run configuration.", + "desktop.runConfig.beforeLaunchEdit": "Edit Task", + "desktop.runConfig.beforeLaunchTaskMissing": "{name} (its plugin is not installed or is turned off)", + "desktop.runConfig.beforeLaunchRunStep": "Run '{name}'", + "desktop.runConfig.beforeLaunchChooseTitle": "Choose Configuration to Execute", + "desktop.runConfig.taskAddTitle": "Add Task: {name}", + "desktop.runConfig.taskEditTitle": "Edit Task: {name}", + "desktop.runConfig.taskCheckFailed": "Could not check the task: {reason}", + "desktop.runConfig.errorInvalidValue": "Invalid value", + "desktop.runConfig.errorTaskNotDeclared": "No enabled plugin provides this task", + "desktop.runConfig.errorInvalidTaskValues": "The task settings are invalid; edit it again", "desktop.runConfig.fieldBeforeLaunch": "Before launch", "desktop.runConfig.formTooNew": "Editing this run configuration needs a newer version of Lithe.", "desktop.runConfig.programNotFound": "“{program}” was not found on PATH. Enter the full path of the interpreter or program.", diff --git a/shared/i18n/locales/zh-CN.json b/shared/i18n/locales/zh-CN.json index e540e6092b..0097bc597b 100644 --- a/shared/i18n/locales/zh-CN.json +++ b/shared/i18n/locales/zh-CN.json @@ -11528,16 +11528,30 @@ "desktop.runConfig.beforeLaunch.refused.tooLong": "启动前步骤在 {step} 处过多:展开嵌套步骤后最多 32 个。", "desktop.runConfig.beforeLaunch.refused.unavailable": "启动前步骤 {step} 在此系统上不可用。", "desktop.runConfig.beforeLaunch.stepHeader": "启动前步骤 ({index}/{count}): {name}", - "desktop.runConfig.beforeLaunchAdd": "添加步骤", + "desktop.runConfig.beforeLaunchAdd": "添加任务", + "desktop.runConfig.beforeLaunchMenuTitle": "添加新任务", + "desktop.runConfig.beforeLaunchRunAnother": "运行另一个配置", "desktop.runConfig.beforeLaunchDown": "下移", - "desktop.runConfig.beforeLaunchEmpty": "无步骤", - "desktop.runConfig.beforeLaunchHelp": "启动此配置前按顺序运行的进程配置。每一个都以退出码 0 结束后,才会启动此配置。", + "desktop.runConfig.beforeLaunchEmpty": "启动前没有要运行的任务", + "desktop.runConfig.beforeLaunchHelp": "启动此配置前按顺序运行的任务:另一个运行配置,或插件提供的任务。每一个都以退出码 0 结束后,才会启动此配置。", "desktop.runConfig.beforeLaunchMissing": "找不到配置 {id}", - "desktop.runConfig.beforeLaunchNoCandidates": "先创建 Shell、PowerShell、批处理或可执行文件运行配置,才能把它作为步骤。", + "desktop.runConfig.beforeLaunchNoCandidates": "还没有可选的脚本或程序运行配置", "desktop.runConfig.beforeLaunchRemove": "移除步骤", "desktop.runConfig.beforeLaunchUp": "上移", "desktop.runConfig.errorUnavailable": "在此系统上不可用", - "desktop.runConfig.fieldBeforeLaunch": "启动前", + "desktop.runConfig.beforeLaunch.refused.taskNotDeclared": "{step} 的启动前任务 {task} 没有已安装并启用的插件提供。", + "desktop.runConfig.beforeLaunch.refused.invalidTaskValues": "{step} 的启动前任务 {task} 设置无效,请在运行配置中重新编辑。", + "desktop.runConfig.beforeLaunchEdit": "编辑任务", + "desktop.runConfig.beforeLaunchTaskMissing": "{name}(提供它的插件未安装或已停用)", + "desktop.runConfig.beforeLaunchRunStep": "运行“{name}”", + "desktop.runConfig.beforeLaunchChooseTitle": "选择要执行的配置", + "desktop.runConfig.taskAddTitle": "添加任务:{name}", + "desktop.runConfig.taskEditTitle": "编辑任务:{name}", + "desktop.runConfig.taskCheckFailed": "无法检查任务:{reason}", + "desktop.runConfig.errorInvalidValue": "值无效", + "desktop.runConfig.errorTaskNotDeclared": "没有已启用的插件提供这个任务", + "desktop.runConfig.errorInvalidTaskValues": "任务设置无效,请重新编辑", + "desktop.runConfig.fieldBeforeLaunch": "执行前", "desktop.runConfig.formTooNew": "这个运行配置需要更新版本的 Lithe 才能编辑。", "desktop.runConfig.programNotFound": "在 PATH 中找不到“{program}”,请填写解释器或程序的完整路径。", "desktop.runConfig.documentIgnored": "未读取 {file} 中的运行配置", diff --git a/shared/i18n/messages.json b/shared/i18n/messages.json index 8d905d9f42..dc2c2f22f7 100644 --- a/shared/i18n/messages.json +++ b/shared/i18n/messages.json @@ -16149,7 +16149,21 @@ }, { "id": "desktop.runConfig.beforeLaunchAdd", - "description": "Button whose menu adds a process run as a before-launch step.", + "description": "Button whose menu adds a before-launch task.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.beforeLaunchMenuTitle", + "description": "Heading of the menu that adds a before-launch task, as in IntelliJ IDEA.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.beforeLaunchRunAnother", + "description": "Item of the add-task menu that opens the list of run configurations that can start first.", "platforms": [ "desktop" ] @@ -16163,7 +16177,7 @@ }, { "id": "desktop.runConfig.beforeLaunchEmpty", - "description": "Shown in the before-launch field when the configuration has no steps.", + "description": "Shown in the before-launch field when the configuration has no tasks.", "platforms": [ "desktop" ] @@ -16187,7 +16201,7 @@ }, { "id": "desktop.runConfig.beforeLaunchNoCandidates", - "description": "Tooltip of the disabled add-step button when the project has no process run to use.", + "description": "Disabled item of the Run Another Configuration submenu when the project has no process run to use.", "platforms": [ "desktop" ] @@ -16213,9 +16227,116 @@ "desktop" ] }, + { + "id": "desktop.runConfig.beforeLaunch.refused.taskNotDeclared", + "description": "Error when a before-launch step names a plugin task no installed, enabled plugin declares; step is the configuration that lists it, task the task's kind.", + "platforms": [ + "desktop" + ], + "parameters": { + "step": "string", + "task": "string" + } + }, + { + "id": "desktop.runConfig.beforeLaunch.refused.invalidTaskValues", + "description": "Error when the saved values of a before-launch plugin task do not fit its form; step is the configuration that lists it, task the task's kind.", + "platforms": [ + "desktop" + ], + "parameters": { + "step": "string", + "task": "string" + } + }, + { + "id": "desktop.runConfig.beforeLaunchEdit", + "description": "Button that opens the form of a before-launch plugin task to edit it.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.beforeLaunchTaskMissing", + "description": "A before-launch plugin task whose plugin is not installed or is turned off; name is the task's name or kind.", + "platforms": [ + "desktop" + ], + "parameters": { + "name": "string" + } + }, + { + "id": "desktop.runConfig.beforeLaunchRunStep", + "description": "Row of a before-launch step that runs another run configuration, as in IntelliJ IDEA; name is that configuration's name.", + "platforms": [ + "desktop" + ], + "parameters": { + "name": "string" + } + }, + { + "id": "desktop.runConfig.beforeLaunchChooseTitle", + "description": "Heading of the list that picks the run configuration a before-launch step runs, as in IntelliJ IDEA.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.taskAddTitle", + "description": "Title of the form that adds a plugin task to a run configuration's before-launch list; name is the task's kind.", + "platforms": [ + "desktop" + ], + "parameters": { + "name": "string" + } + }, + { + "id": "desktop.runConfig.taskEditTitle", + "description": "Title of the form that edits a plugin task in a run configuration's before-launch list; name is the task's kind.", + "platforms": [ + "desktop" + ], + "parameters": { + "name": "string" + } + }, + { + "id": "desktop.runConfig.taskCheckFailed", + "description": "Shown in a before-launch task form when the values could not be checked.", + "platforms": [ + "desktop" + ], + "parameters": { + "reason": "string" + } + }, + { + "id": "desktop.runConfig.errorInvalidValue", + "description": "Error under a run configuration field whose value does not fit the field, such as an option that is not offered.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.errorTaskNotDeclared", + "description": "Error under the before-launch field when a step names a plugin task no enabled plugin declares.", + "platforms": [ + "desktop" + ] + }, + { + "id": "desktop.runConfig.errorInvalidTaskValues", + "description": "Error under the before-launch field when a plugin task's values do not fit its form.", + "platforms": [ + "desktop" + ] + }, { "id": "desktop.runConfig.fieldBeforeLaunch", - "description": "Title of the run configuration field listing the process runs that start before it.", + "description": "Title of the run configuration field listing the tasks that run before it: other run configurations and plugin tasks.", "platforms": [ "desktop" ] diff --git a/shared/platform-feature-matrix/features/run-before-launch-steps.json b/shared/platform-feature-matrix/features/run-before-launch-steps.json index b4af761d1d..3352bef9a4 100644 --- a/shared/platform-feature-matrix/features/run-before-launch-steps.json +++ b/shared/platform-feature-matrix/features/run-before-launch-steps.json @@ -2,15 +2,16 @@ "id": "run-before-launch-steps", "area": "运行与调试", "group": "运行配置", - "capability": "像 IntelliJ IDEA 的 Before launch: Run Another Configuration 一样,运行配置可以列出启动前步骤:每一步是一个内置进程运行(Shell、PowerShell、批处理、可执行程序),按顺序在同一个 Run 控制台里运行,全部以退出码 0 结束后才启动配置;某一步失败时报出步骤名和退出码并不启动配置,停止配置会停止正在运行的步骤。项目文件(.lithe/run/configurations.yaml)列出的步骤第一次运行前要确认,确认结果按步骤列表与命令的指纹记在应用自己的存储里", + "capability": "像 IntelliJ IDEA 的 Before launch 一样,运行配置可以列出启动前步骤:编辑器最底下是可折叠的“执行前”区域,带框列表顶部有 + − ✎ ↑ ↓ 工具栏;“+”弹出“添加新任务”,第一项“运行另一个配置”打开“选择要执行的配置”,引用一个内置进程运行(Shell、PowerShell、批处理、可执行程序),后面列出已启用插件声明的启动前任务,选中后在任务自己的表单里填写;步骤按顺序在同一个 Run 控制台里运行,全部以退出码 0 结束后才启动配置;某一步失败时报出步骤名和退出码并不启动配置,停止配置会停止正在运行的步骤。项目文件(.lithe/run/configurations.yaml)列出的步骤第一次运行前要确认,确认结果按步骤列表与命令的指纹记在应用自己的存储里", "owner": "Run", - "notes": "Viva 共享实现。步骤只能引用内置进程运行,嵌套步骤先展开、最多 32 步,引用不存在、不可用、成环的配置时由 Core 拒绝。“运行/调试配置”窗口里的内置运行编辑器和构建提供者运行编辑器都有步骤列表,可添加、上移、下移、移除;本平台不能运行的配置不作为步骤候选。调试(Debug)同样先运行步骤。插件可注入的 runOptions 扩展点不在本项范围。", - "verification": "在项目里创建两个 Shell 运行 A、B,并让应用运行配置的启动前步骤依次为 A、B;运行应用配置,确认弹出确认框列出 A、B,点“运行步骤”后控制台依次出现 A、B 的输出和应用输出;再次运行不再询问。把 B 改成以 3 退出,确认控制台写出“启动前步骤 B 以退出码 3 结束”,应用未启动。把 A 改成长时间运行,运行中点停止,确认 A 被结束、应用未启动。自动化:runconfig_before_launch_test.go 的 TestBeforeLaunchStepsRunInOrderAfterTheProjectListIsAllowed、TestFailingBeforeLaunchStepStopsTheStart、TestStoppingDuringABeforeLaunchStepEndsIt、TestRunConfigFormKeepsTheStepList、TestRunConfigDialogSavesAnAddedStep。", + "notes": "Viva 共享实现。“运行另一个配置”只能引用内置进程运行,嵌套步骤先展开、最多 32 步,引用不存在、不可用、成环的配置时由 Core 拒绝。插件任务由插件清单 buildSystems[].beforeLaunchTasks 声明(契约 beforeLaunchTasks 0,API-29),宿主不内置任何任务;Core 的 runConfig.checkBeforeLaunchTask 校验表单值,build.beforeLaunchTaskPlan 用保存的值和配置的工作目录计划命令,宿主用该构建系统已检测到的实例的构建工具运行;插件停用或卸载后步骤仍列出,运行时以 taskNotDeclared 拒绝。“运行/调试配置”窗口里的内置运行编辑器和构建提供者运行编辑器都有同一个“执行前”列表,选中一行后可编辑(插件任务打开任务表单,运行配置步骤换成另一个配置)、上移、下移、移除,回车或双击等同编辑、Delete 等同移除;“+”始终可用(满 16 项除外),没有可选配置时在“选择要执行的配置”里说明原因;本平台不能运行的配置不作为步骤候选。调试(Debug)同样先运行步骤。", + "verification": "在项目里创建两个 Shell 运行 A、B,并让应用运行配置的启动前步骤依次为 A、B;运行应用配置,确认弹出确认框列出 A、B,点“运行步骤”后控制台依次出现 A、B 的输出和应用输出;再次运行不再询问。把 B 改成以 3 退出,确认控制台写出“启动前步骤 B 以退出码 3 结束”,应用未启动。把 A 改成长时间运行,运行中点停止,确认 A 被结束、应用未启动。装一个声明了启动前任务的插件,打开含其构建系统标记的项目,在配置的“执行前”工具栏点“+”,确认“添加新任务”在“运行另一个配置”之后列出插件任务;选中后填写必填字段为空时点“确定”,字段下显示原因、弹窗不关;填好后确定,任务加入列表,运行时任务输出先于配置输出。自动化:runconfig_before_launch_test.go 的 TestPluginDeclaredBeforeLaunchTaskIsAddedAndRunsFirst、TestBeforeLaunchStepsRunInOrderAfterTheProjectListIsAllowed、TestFailingBeforeLaunchStepStopsTheStart、TestStoppingDuringABeforeLaunchStepEndsIt、TestRunConfigFormKeepsTheStepList、TestRunConfigDialogSavesAnAddedStep、TestRunConfigBeforeLaunchToolbarEditsTheList。", "macos": { "implementationStatus": "implemented", "verificationStatus": "pending", "evidence": [ "desktop/internal/workbench/runconfig_before_launch.go", + "desktop/internal/workbench/runconfig_steps.go", "desktop/internal/workbench/runconfig_form_view.go", "desktop/internal/workbench/runconfig_edit.go", "desktop/internal/core/run_before_launch.go", @@ -22,6 +23,7 @@ "verificationStatus": "pending", "evidence": [ "desktop/internal/workbench/runconfig_before_launch.go", + "desktop/internal/workbench/runconfig_steps.go", "desktop/internal/workbench/runconfig_form_view.go", "desktop/internal/workbench/runconfig_edit.go", "desktop/internal/core/run_before_launch.go", diff --git a/shared/platform-feature-matrix/features/run-plugin-declared-types.json b/shared/platform-feature-matrix/features/run-plugin-declared-types.json index 4aaa6a9196..95aaa3f6a2 100644 --- a/shared/platform-feature-matrix/features/run-plugin-declared-types.json +++ b/shared/platform-feature-matrix/features/run-plugin-declared-types.json @@ -2,10 +2,10 @@ "id": "run-plugin-declared-types", "area": "运行与调试", "group": "运行配置", - "capability": "插件为自己的构建系统声明运行配置类型:运行/调试配置对话框的“+”菜单在内置类型之后列出这些类型,编辑器显示插件声明的字段(文本、选择、复选框、文件、目录、实参)和插件翻译的文字;保存后与内置运行一样从标题栏、运行配置列表和对话框启动", + "capability": "插件为自己的构建系统声明运行配置类型:运行/调试配置对话框的“+”菜单在内置类型之后列出这些类型(每类一行,说明放在名称后的 ⓘ 里),类型图标可以是插件包里的 SVG(浅色和深色各一份),编辑器显示插件声明的字段(文本、选择、复选框、文件、目录、实参)和插件翻译的文字;保存后与内置运行一样从标题栏、运行配置列表和对话框启动", "owner": "Run", - "notes": "Viva 共享实现。类型由插件清单 buildSystems[].runConfigurationTypes 声明(契约 runConfigurationTypes 0,API-29),Core 的 runConfig.configurationTypes、editorForm、saveConfiguration 和 build.runConfigurationPlan 负责列出、表单、校验保存和计划命令,宿主只读取 Core 指定的插件翻译文件(安装包只读)并绘制、启动。配置写在 .lithe/run/plugin/<插件 ID>.toml(存为项目文件时)或本机层,provider 为 build.run-type。检测到该构建系统后才能启动,未检测到时标题栏显示缺少实例、启动被拒绝;插件被停用或卸载时配置仍列出但不可编辑。插件声明的类型没有调试器,调试启动被拒绝。路径图标暂按执行类别显示宿主图标。不提供远程运行类型。", - "verification": "安装一个声明了运行配置类型的插件,打开含该构建系统标记的项目;打开“运行/调试配置”,点“+”,确认插件类型列在内置类型之后,显示插件的名称、说明和图标;新建一个,确认表单显示插件字段,中文界面显示插件的中文翻译,选择字段的选项也被翻译,必填字段留空时保存报错;填写后点“运行”,确认 Run 窗口显示插件工具的输出、参数按插件模板拼出;勾选“存为项目文件”时文件写入 .lithe/run/plugin/。删掉项目里的构建系统标记后重新打开,确认配置仍列出但不能启动。自动化:runconfig_types_test.go 的 TestPluginDeclaredRunKindIsCreatedSavedAndRun、TestPluginDeclaredRunStartsSeveralInstances、TestPluginDeclaredRunWithoutItsBuildSystemDoesNotStart;Viva 无头截图由 runconfig_types_visual_test.go 的 TestVisualPluginDeclaredRuns 生成(深色中文、浅色英文:“+”菜单、表单、两个实例),截图在 docs/assets/plugin-declared-runs/。", + "notes": "Viva 共享实现。类型由插件清单 buildSystems[].runConfigurationTypes 声明(契约 runConfigurationTypes 0,API-29),Core 的 runConfig.configurationTypes、editorForm、saveConfiguration 和 build.runConfigurationPlan 负责列出、表单、校验保存和计划命令,宿主只读取 Core 指定的插件翻译文件(安装包只读)并绘制、启动。配置写在 .lithe/run/plugin/<插件 ID>.toml(存为项目文件时)或本机层,provider 为 build.run-type。检测到该构建系统后才能启动,未检测到时标题栏显示缺少实例、启动被拒绝;插件被停用或卸载时配置仍列出但不可编辑。插件声明的类型没有调试器,调试启动被拒绝。插件包图标在后台线程从只读安装目录读取并编译成矢量图标,用在“+”菜单、配置树和标题栏的运行配置列表;读不到、过大或不是允许的 SVG 时记一条 plugin_icon 失败日志并退回按执行类别的宿主图标。不提供远程运行类型。", + "verification": "安装一个声明了运行配置类型的插件,打开含该构建系统标记的项目;打开“运行/调试配置”,点“+”,确认插件类型列在内置类型之后,显示插件的名称和包里的图标(深色外观用 -dark 文件),说明只在鼠标停在名称后的 ⓘ 上时显示;新建一个,确认表单显示插件字段,中文界面显示插件的中文翻译,选择字段的选项也被翻译,必填字段留空时保存报错;填写后点“运行”,确认 Run 窗口显示插件工具的输出、参数按插件模板拼出;勾选“存为项目文件”时文件写入 .lithe/run/plugin/。删掉项目里的构建系统标记后重新打开,确认配置仍列出但不能启动。自动化:runconfig_types_test.go 的 TestPluginDeclaredRunKindIsCreatedSavedAndRun、TestPluginDeclaredRunStartsSeveralInstances、TestPluginDeclaredRunWithoutItsBuildSystemDoesNotStart、TestRunConfigKindMenuShowsDescriptionsBehindInfo、TestRunConfigKindDrawsItsPackageIcon、TestRunConfigKindWithARefusedIconKeepsItsFallback;Viva 无头截图由 runconfig_types_visual_test.go 的 TestVisualPluginDeclaredRuns 生成(深色中文、浅色英文:“+”菜单、表单、启动前“添加新任务”菜单、启动前任务表单、两个实例),截图在 docs/assets/plugin-declared-runs/。", "macos": { "implementationStatus": "implemented", "verificationStatus": "pending", @@ -18,6 +18,8 @@ "desktop/internal/workbench/runconfig.go", "desktop/internal/core/run_process.go", "desktop/internal/core/build.go", + "desktop/internal/pluginicons/pluginicons.go", + "desktop/internal/pluginpkg/read.go", "desktop/internal/workbench/runconfig_types_test.go", "desktop/internal/workbench/runconfig_types_visual_test.go" ] @@ -34,6 +36,8 @@ "desktop/internal/workbench/runconfig.go", "desktop/internal/core/run_process.go", "desktop/internal/core/build.go", + "desktop/internal/pluginicons/pluginicons.go", + "desktop/internal/pluginpkg/read.go", "desktop/internal/workbench/runconfig_types_test.go", "desktop/internal/workbench/runconfig_types_visual_test.go" ]