| --- |
| title: IDE |
| description: VS Code, Cursor ๋ฐ ๊ธฐํ IDE์ฉ OpenCode ํ์ฅ ํ๋ก๊ทธ๋จ |
| --- |
| |
| OpenCode๋ VS Code, Cursor, ๋๋ ํฐ๋ฏธ๋์ ์ง์ํ๋ ๋ชจ๋ IDE์ ํตํฉ๋ฉ๋๋ค. ์์ํ๋ ค๋ฉด ํฐ๋ฏธ๋์์ `opencode`๋ฅผ ์คํํ์ธ์. |
|
|
| --- |
| |
| |
|
|
| - **Quick Launch**: `Cmd+Esc` (Mac) ๋๋ `Ctrl+Esc` (Windows/Linux)๋ฅผ ์ฌ์ฉํด ๋ถํ ํฐ๋ฏธ๋ ๋ทฐ์์ OpenCode๋ฅผ ์ด๊ฑฐ๋, ์ด๋ฏธ ์คํ ์ค์ธ ํฐ๋ฏธ๋ ์ธ์
์ผ๋ก ํฌ์ปค์คํ์ธ์. |
| - **New Session**: `Cmd+Shift+Esc` (Mac) ๋๋ `Ctrl+Shift+Esc` (Windows/Linux)๋ฅผ ์ฌ์ฉํด ๊ธฐ์กด ์ธ์
์ด ์ด๋ ค ์์ด๋ ์ OpenCode ํฐ๋ฏธ๋ ์ธ์
์ ์์ํ์ธ์. UI์ OpenCode ๋ฒํผ์ ํด๋ฆญํด๋ ๋ฉ๋๋ค. |
| - **Context Awareness**: ํ์ฌ ์ ํ ์์ญ์ด๋ ํญ์ OpenCode์ ์๋์ผ๋ก ๊ณต์ ํฉ๋๋ค. |
| - **File Reference Shortcuts**: `Cmd+Option+K` (Mac) ๋๋ `Alt+Ctrl+K` (Linux/Windows)๋ฅผ ์ฌ์ฉํด ํ์ผ ์ฐธ์กฐ๋ฅผ ์ฝ์
ํ์ธ์. ์: `@File#L37-42`. |
|
|
| --- |
| |
| |
|
|
| VS Code์ Cursor, Windsurf, VSCodium ๊ฐ์ ์ธ๊ธฐ ํฌํฌ์ OpenCode๋ฅผ ์ค์นํ๋ ค๋ฉด: |
|
|
| 1. VS Code๋ฅผ ์ฌ์ธ์.4 |
| 2. ํตํฉ ํฐ๋ฏธ๋์ ์ฌ์ธ์. |
| 3. `opencode`๋ฅผ ์คํํ์ธ์. ํ์ฅ ํ๋ก๊ทธ๋จ์ด ์๋์ผ๋ก ์ค์น๋ฉ๋๋ค. |
|
|
| ๋ฐ๋ฉด TUI์์ `/editor` ๋๋ `/export`๋ฅผ ์คํํ ๋ ์์ฒด IDE๋ฅผ ์ฌ์ฉํ๋ ค๋ฉด `export EDITOR="code --wait"`๋ฅผ ์ค์ ํด์ผ ํฉ๋๋ค. [์์ธํ ์์๋ณด๊ธฐ](/docs/tui/#editor-setup). |
|
|
| --- |
| |
| |
|
|
| Extension Marketplace์์ **OpenCode**๋ฅผ ๊ฒ์ํ ๋ค์ **Install**์ ํด๋ฆญํ์ธ์. |
|
|
| --- |
| |
| |
|
|
| ํ์ฅ์ด ์๋์ผ๋ก ์ค์น๋์ง ์๋ ๊ฒฝ์ฐ: |
|
|
| - ํตํฉ ํฐ๋ฏธ๋์์ `opencode`๋ฅผ ์คํํ๊ณ ์๋์ง ํ์ธํ์ธ์. |
| - IDE์ฉ CLI๊ฐ ์ค์น๋์ด ์๋์ง ํ์ธํ์ธ์. |
| - VS Code: `code` command |
| - Cursor: `cursor` command |
| - Windsurf: `windsurf` command |
| - VSCodium: `codium` command |
| - ์ค์น๋์ด ์์ง ์๋ค๋ฉด `Cmd+Shift+P` (Mac) ๋๋ `Ctrl+Shift+P` (Windows/Linux)๋ฅผ ์คํํ๊ณ "Shell Command: Install 'code' command in PATH"(๋๋ IDE์ ๋ง๋ ๋๋ฑํ ๋ช
๋ น)๋ฅผ ๊ฒ์ํ์ธ์. |
| - VS Code์ ํ์ฅ ํ๋ก๊ทธ๋จ ์ค์น ๊ถํ์ด ์๋์ง ํ์ธํ์ธ์. |
|
|