mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-21 16:14:45 +00:00
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