summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src
diff options
context:
space:
mode:
authorFrank <[email protected]>2025-07-22 16:46:40 -0400
committerFrank <[email protected]>2025-07-22 16:46:44 -0400
commit0deb85fa455787773a956b828ab60369d092c576 (patch)
treeec9a576fa9c317df6b9495d7e978d3400bb9972c /packages/web/src
parentda19b10703dfbc494fd7e8b982d9092784435cb0 (diff)
downloadopencode-0deb85fa455787773a956b828ab60369d092c576.tar.gz
opencode-0deb85fa455787773a956b828ab60369d092c576.zip
wip: vscode extension
Diffstat (limited to 'packages/web/src')
-rw-r--r--packages/web/src/content/docs/docs/using-in-ide.mdx32
1 files changed, 16 insertions, 16 deletions
diff --git a/packages/web/src/content/docs/docs/using-in-ide.mdx b/packages/web/src/content/docs/docs/using-in-ide.mdx
index e6ac748c4..e5b9d8106 100644
--- a/packages/web/src/content/docs/docs/using-in-ide.mdx
+++ b/packages/web/src/content/docs/docs/using-in-ide.mdx
@@ -3,43 +3,43 @@ title: Using in IDE
description: Using opencode in your favorite IDE
---
-opencode works great with VS Code, Cursor, or any Integrated Development Environment (IDE) that has a terminal. Just run `opencode`, and you’re ready to go.
+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**: Use `Cmd+Esc` (Mac) or `Ctrl+Esc` (Windows/Linux) to open opencode directly from your editor, or click the opencode button in the UI
-- **Selection context**: The current selection/tab in the IDE is automatically shared with opencode
-- **File reference shortcuts**: Use `Cmd+Option+K` (Mac) or `Alt+Ctrl+K` (Linux/Windows) to insert file references (e.g., @File#L1-99)
+- **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 like Cursor, Windsurf, and VSCodium:
+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 will auto-install
+3. Run `opencode` - the extension installs automatically
---
### Manual Install
-Alternatively, you can search for `opencode` in extension marketplace in your VS Code. And then click on `Install`.
+Search for `opencode` in the Extension Marketplace and click **Install**.
---
### Troubleshooting
-If VS Code extension is not installing:
+If the extension doesn't install:
-- Ensure you’re running opencode from VS Code’s integrated terminal
-- Ensure that the CLI corresponding to your IDE is installed:
- - For VS Code: `code` command should be available
- - For Cursor: `cursor` command should be available
- - For Windsurf: `windsurf` command should be available
- - For VSCodium: `codium` command should be available
- - If not installed, use `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)
-- Check that VS Code has permission to install extensions
+- 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