فهرست منبع

docs: JetBrains IDEs to ACP config docs page (#5465)

Jan-Niklas W. 2 ماه پیش
والد
کامیت
b7b827c5bd
1فایلهای تغییر یافته به همراه20 افزوده شده و 0 حذف شده
  1. 20 0
      packages/web/src/content/docs/acp.mdx

+ 20 - 0
packages/web/src/content/docs/acp.mdx

@@ -67,6 +67,26 @@ You can also bind a keyboard shortcut by editing your `keymap.json`:
 
 ---
 
+### JetBrains IDEs
+
+Add to your [JetBrains IDE](https://www.jetbrains.com/) acp.json according to the [documentation](https://www.jetbrains.com/help/ai-assistant/acp.html):
+
+```json title="~/.config/zed/settings.json"
+{
+    "agent_servers": {
+        "OpenCode": {
+            "command": "/absolute/path/bin/opencode", 
+            "args": ["acp"]
+        }
+    }
+}
+```
+
+To open it, use the new 'OpenCode' agent in the AI Chat agent selector.
+
+---
+
+
 ### Avante.nvim
 
 Add to your [Avante.nvim](https://github.com/yetone/avante.nvim) configuration: