{"id":29744,"name":"OpenCode UI","link":"/plugin/29744-opencode-ui","approve":false,"xmlId":"ai.opencode.ide.jetbrains","description":"<b>OpenCode UI - AI Coding Agent for JetBrains IDEs</b><br><br>\n    \n    Seamlessly integrates <a href=\"https://opencode.ai\">OpenCode</a> directly into your workflow.<br><br>\n    \n    <b>Key Features:</b><br>\n    <ul>\n        <li><b>Quick Launch:</b> Connect to existing OpenCode server (e.g., OpenCode Desktop) or create new terminal with <code>Cmd+Esc</code> / <code>Ctrl+\\</code>. Supports automatic authentication and optional password input.</li>\n        <li><b>Context Sharing:</b> Send current file, selection, or Project View items to the agent with <code>Opt+Cmd+K</code> / <code>Ctrl+Alt+K</code>.</li>\n        <li><b>Native Diff Review:</b> Review AI-generated changes in a multi-file diff viewer. Accept stages changes (<code>git add</code>), Reject restores original content. Automatic snapshots ensure you can always recover previous versions.</li>\n    </ul>","customIdeList":false,"preview":"OpenCode UI - AI Coding Agent for JetBrains IDEs Seamlessly integrates OpenCode directly into your workflow. Key Features: Quick Launch: Connect to existing OpenCode...","docText":"<h1>OpenCode UI</h1>\n\n<p>\n  <b>OpenCode UI</b> is an open-source AI coding agent integration that brings the power of <a href=\"https://opencode.ai\">opencode.ai</a> directly into your JetBrains IDE development workflow.\n</p>\n\n<p>\n  <b>Download:</b> <a href=\"https://github.com/LaiZhou/OpenCode_UI/releases/tag/1.1.0\">Get the latest version (1.1.0)</a>\n</p>\n\n<h2>Key Features</h2>\n<ul>\n  <li><b>Quick Launch:</b> Connect to existing OpenCode server (e.g., OpenCode Desktop) or create new terminal with a single shortcut (Cmd+Esc / Ctrl+\\). Supports automatic authentication and optional password input. Connection settings are remembered automatically.</li>\n  <li><b>Context Sharing:</b> Seamlessly send code selections or file references (with line numbers) from your editor or project view directly to the AI agent (Opt+Cmd+K).</li>\n  <li><b>Diff Review:</b> Automatically review AI-generated code changes in chronological order. Title shows progress (e.g., \"1 of 5\"). Accept writes and stages changes; Reject restores the baseline. Both actions auto-advance to the next file.</li>\n  <li><b>Notifications:</b> Get system-level alerts when AI tasks complete, so you can focus on other work while OpenCode runs.</li>\n  <li><b>Auto-Resume:</b> New terminals automatically restore your last session context - pick up right where you left off.</li>\n  <li><b>Smart Links:</b> Click file paths in the terminal (e.g., <code>@src/main.kt#L10-20</code>) to jump directly to the code.</li>\n</ul>\n\n<p>\n    <b>Tip:</b> To receive desktop notifications when AI tasks complete, please ensure your OS allows notifications for the JetBrains IDE.\n    (Mac: <i>System Settings &gt; Notifications &gt; IntelliJ IDEA</i>)\n</p>\n\n<br>\n\n<p>Follow these steps to set up and start using the OpenCode plugin:</p>\n<ol>\n  <li>Install a <b>compatible JetBrains IDE</b> (version 2025.2 or later).</li>\n  <li><b>Install the OpenCode CLI:</b> This plugin acts as a bridge to the CLI tool. Ensure you have it installed:\n    <br><code>npm install -g opencode</code>\n  </li>\n  <li><b>Ensure Git is installed:</b> The plugin uses local git commands for managing changes.</li>\n  <li>Launch your IDE and ensure the plugin is enabled.</li>\n  <li>Press <code>Cmd + Esc</code> (Mac) or <code>Ctrl + \\</code> (Windows/Linux) to launch your first session.</li>\n</ol>\n\n<h2>Usage and Shortcuts</h2>\n<ul>\n  <li><b>Connect/Launch:</b> <code>Cmd + Esc</code> (Mac) / <code>Ctrl + \\</code> (Win/Linux) - Opens connection dialog to connect to existing server or create new terminal.</li>\n  <li><b>Add Context:</b> <code>Opt + Cmd + K</code> (Mac) / <code>Ctrl + Alt + K</code> (Win/Linux) - Sends file references/selection to the terminal.</li>\n</ul>\n\n<h2>Diff Viewer Guide</h2>\n<ul>\n  <li><b>Order:</b> Diffs are presented in the order they were generated (chronological). Title shows progress (e.g., \"1 of 5\").</li>\n  <li><b>Navigation:</b> Use <code>←</code> / <code>→</code> arrows to switch between modified files.</li>\n  <li><b>Jump Changes:</b> Use <code>↑</code> / <code>↓</code> to jump between specific changes in the current file.</li>\n  <li><b>Accept:</b> Writes AI changes to disk, stages the file (git add), and auto-advances to the next file.</li>\n  <li><b>Reject:</b> Restores the file to its pre-edit state and auto-advances to the next file.</li>\n  <li><b>Local Modified:</b> The diff title shows <code>(Local Modified)</code> when your file differs from AI output.</li>\n</ul>\n<p><i>The plugin automatically creates snapshots in your IDE's Local History for safety.</i></p>\n\n<h2>Plugin Compatibility</h2>\n<p>\n  <b>Complementary Plugins:</b> This plugin requires the <b>Terminal</b> plugin (bundled by default).\n</p>\n","email":"hhlai1990@gmail.com","cdate":1773716953000,"family":"intellij","copyright":"LaiZhou","downloads":99508,"vendor":{"type":"Organization","id":17176,"name":"laizhou","link":"/vendor/laizhou","publicName":"LaiZhou","email":"hhlai1990@gmail.com","showEmail":true,"isVerified":false,"isTrader":false},"urls":{"url":"","forumUrl":"https://github.com/LaiZhou/OpenCode_UI/issues","licenseUrl":"https://opensource.org/licenses/MIT","privacyPolicyUrl":"","bugtrackerUrl":"https://github.com/LaiZhou/OpenCode_UI/issues","docUrl":"https://github.com/LaiZhou/OpenCode_UI","sourceCodeUrl":"https://github.com/LaiZhou/OpenCode_UI","customContacts":[]},"tags":[{"id":286,"name":"AI","privileged":false,"searchable":true,"link":"/tag/286-ai"}],"hasUnapprovedUpdate":false,"pricingModel":"FREE","screens":[{"url":"/files/29744/screenshot_2b922b64-0a53-4651-a997-7eff337820fd"},{"url":"/files/29744/screenshot_0a000a3d-6f67-404e-8b14-facbc2bee3c5"},{"url":"/files/29744/screenshot_44d2397c-73dc-456c-a3bd-a46c7597b048"},{"url":"/files/29744/screenshot_c0b0b106-619b-4e69-adb3-20ac803ad2d2"},{"url":"/files/29744/screenshot_be1ab5ab-13d3-4b26-9c72-ab75929b1f12"},{"url":"/files/29744/screenshot_a990dbe1-0251-4ab7-a038-118f44897cee"}],"semverOnly":true,"isHidden":false,"isMonetizationAvailable":true,"isBlocked":false,"isModificationAllowed":false,"preserveUIEdits":false}