From bf42d8b0116933018a583b1e80baa57e801f6651 Mon Sep 17 00:00:00 2001 From: Frank Date: Tue, 22 Jul 2025 16:50:56 -0400 Subject: wip: vscode extension --- packages/web/src/content/docs/docs/ide.mdx | 45 ++++++++++++++++++++++ .../web/src/content/docs/docs/using-in-ide.mdx | 45 ---------------------- 2 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 packages/web/src/content/docs/docs/ide.mdx delete mode 100644 packages/web/src/content/docs/docs/using-in-ide.mdx (limited to 'packages/web/src') diff --git a/packages/web/src/content/docs/docs/ide.mdx b/packages/web/src/content/docs/docs/ide.mdx new file mode 100644 index 000000000..f6fd8ed75 --- /dev/null +++ b/packages/web/src/content/docs/docs/ide.mdx @@ -0,0 +1,45 @@ +--- +title: IDE +description: Using opencode in IDE +--- + +opencode works seamlessly with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started. + +--- + +## Features + +- **Quick Launch**: Open opencode with `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows/Linux), or click the opencode button in the UI. +- **Context Awareness**: Automatically shares your current selection or tab with opencode. +- **File reference shortcuts**: Use `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Linux/Windows) to insert file references (ie., @File#L37-42) + +--- + +## Installation + +To install opencode on VS Code and popular forks (Cursor, Windsurf, VSCodium): + +1. Open VS Code +2. Open the integrated terminal +3. Run `opencode` - the extension installs automatically + +--- + +### Manual Install + +Search for `opencode` in the Extension Marketplace and click **Install**. + +--- + +### Troubleshooting + +If the extension doesn't install: + +- Ensure you’re running `opencode` in the integrated terminal. +- Confirm the CLI for your IDE is installed: + - For VS Code: `code` command + - For Cursor: `cursor` command + - For Windsurf: `windsurf` command + - For VSCodium: `codium` command + - If not, run `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows/Linux) and search for "Shell Command: Install 'code' command in PATH" (or the equivalent for your IDE) +- Ensure VS Code has permission to install extensions diff --git a/packages/web/src/content/docs/docs/using-in-ide.mdx b/packages/web/src/content/docs/docs/using-in-ide.mdx deleted file mode 100644 index e5b9d8106..000000000 --- a/packages/web/src/content/docs/docs/using-in-ide.mdx +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: Using in IDE -description: Using opencode in your favorite IDE ---- - -opencode works seamlessly with VS Code, Cursor, or any IDE that supports a terminal. Just run `opencode` in the terminal to get started. - ---- - -## Features - -- **Quick Launch**: Open opencode with `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows/Linux), or click the opencode button in the UI. -- **Context Awareness**: Automatically shares your current selection or tab with opencode. -- **File reference shortcuts**: Use `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Linux/Windows) to insert file references (ie., @File#L37-42) - ---- - -## Installation - -To install opencode on VS Code and popular forks (Cursor, Windsurf, VSCodium): - -1. Open VS Code -2. Open the integrated terminal -3. Run `opencode` - the extension installs automatically - ---- - -### Manual Install - -Search for `opencode` in the Extension Marketplace and click **Install**. - ---- - -### Troubleshooting - -If the extension doesn't install: - -- Ensure you’re running `opencode` in the integrated terminal. -- Confirm the CLI for your IDE is installed: - - For VS Code: `code` command - - For Cursor: `cursor` command - - For Windsurf: `windsurf` command - - For VSCodium: `codium` command - - If not, run `Cmd+Shift+P` (Mac) or `Ctrl+Shift+P` (Windows/Linux) and search for "Shell Command: Install 'code' command in PATH" (or the equivalent for your IDE) -- Ensure VS Code has permission to install extensions -- cgit v1.2.3