fix(docs): translations
This commit is contained in:
@@ -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**,然后单击**安装**。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user