Download packages/web/src/content/docs/ko/ide.mdx from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 2.15 kB
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/web/src/content/docs/ko/ide.mdx
- Command line
-
hf download hf://SaylorTwift/opencode/packages/web/src/content/docs/ko/ide.mdx
-
curl -L -o ide.mdx https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/web/src/content/docs/ko/ide.mdx
2.15 kB
| 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์ ํ์ฅ ํ๋ก๊ทธ๋จ ์ค์น ๊ถํ์ด ์๋์ง ํ์ธํ์ธ์. | |