fix(docs): translations

This commit is contained in:
Adam
2026-02-09 18:11:44 -06:00
parent 3118cab2d8
commit 85fa8abd50
312 changed files with 3578 additions and 3189 deletions

View File

@@ -1,24 +1,24 @@
---
title: 集成開發環境
description: VS Code、Cursor 等 IDE 的 OpenCode 扩展
description: VS Code、Cursor 等 IDE 的 opencode 扩展
---
OpenCode 与 VS Code、Cursor 或任何支持终端的 IDE 集成。只需在终端中运行 `opencode` 即可开始。
opencode 与 VS Code、Cursor 或任何支持终端的 IDE 集成。只需在终端中运行 `opencode` 即可开始。
---
## 用法
- **快速启动**:使用 `Cmd+Esc` (Mac) 或 `Ctrl+Esc` (Windows/Linux) 在分割终端视图中打开 OpenCode或者聚焦现有终端会话如果现有终端会话正在运行
- **新会话**:使用 `Cmd+Shift+Esc` (Mac) 或 `Ctrl+Shift+Esc` (Windows/Linux) 启动新的 OpenCode 终端会话,即使该会话已打开。您还可以单击 UI 中的 OpenCode 按钮。
- **上下文获取**:自动与OpenCode共享您当前的选择或选项卡。
- **快速启动**:使用 `Cmd+Esc` (Mac) 或 `Ctrl+Esc` (Windows/Linux) 在分割终端视图中打开 opencode或者聚焦现有终端会话如果现有终端会话正在运行
- **新会话**:使用 `Cmd+Shift+Esc` (Mac) 或 `Ctrl+Shift+Esc` (Windows/Linux) 启动新的 opencode 终端会话,即使该会话已打开。您还可以单击 UI 中的 opencode 按钮。
- **上下文获取**:自动与opencode共享您当前的选择或选项卡。
- **文件引用快捷方式**:使用`Cmd+Option+K` (Mac) 或`Alt+Ctrl+K` (Linux/Windows) 插入文件引用。例如,`@File#L37-42`。
---
## 安裝
要在 VS Code 和 Cursor、Windsurf、VSCodium 等流行分支上安装 OpenCode
要在 VS Code 和 Cursor、Windsurf、VSCodium 等流行分支上安装 opencode
1. 打开VS代码
2. 打開集成終端
@@ -30,7 +30,7 @@ OpenCode 与 VS Code、Cursor 或任何支持终端的 IDE 集成。只需在终
### 手動安裝
在扩展市场中搜索**OpenCode**,然后单击**安装**。
在扩展市场中搜索**opencode**,然后单击**安装**。
---