
zenbu-labs/terminal-code
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
터미널 내 VS 코드
개요
https://github.com/user-attachments/assets/4ba0d434-896a-4ab3-9c91-5d351dacee08 terminal-code는 터미널 브라우저(terminal 내 브라우저)와 code-server(브라우저 내 VS Code)를 결합하여 VS Code를 터미널에 전달합니다. 자세한 내용은 이 프로젝트들을 살펴보시길 권합니다! 중요한 단축키에서 터미널과 터미널 코드가 충돌할 가능성이 높아, 때로는 터미널 코드가 아예 키 입력을 받지 못할 수도 있습니다. 단축키 충돌을 해결하려면 tode --shortcut-setup을 실행하면 대화형 마법사에 들어가 터미널이나 터미널 코드 단축키를 변경해 충돌하지 않도록 할 수 있습니다 ssh보다 터미널 코드를 사용하는 권장 방법은 로컬 컴퓨터에서 tode --ssh를 실행하는 것입니다. 대안은 쉿 하는 기계에서 직접 실행하는 것입니다.
개요(AI 번역)
터미널 내 VS 코드
https://github.com/user-attachments/assets/4ba0d434-896a-4ab3-9c91-5d351dacee08
설치 (macOS 및 Linux):
사용
어떻게 작동하나요?
terminal-code는 터미널 브라우저(terminal 내 브라우저)와 code-server(브라우저 내 VS Code)를 결합하여 VS Code를 터미널에 전달합니다. 자세한 내용은 이 프로젝트들을 살펴보시길 권합니다!
지름길
중요한 단축키에서 터미널과 터미널 코드가 충돌할 가능성이 높아, 때로는 터미널 코드가 아예 키 입력을 받지 못할 수도 있습니다. 해결하기
단축키 충돌 tode --shortcut-setup를 실행하면 터미널이나 터미널 코드 단축키를 변경할 수 있는 인터랙티브 마법사에 배치됩니다
그래서 더 이상 충돌하지 않습니다
쉿
ssh 대신 터미널 코드를 사용하는 권장 방법은 로컬 컴퓨터에서 tode --ssh 를 실행하는 것입니다.
대안은 당신이 들어가는 기계에서 tode를 직접 실행하는 것입니다. 이 방법은 작동하지만,
요구사항:
- 네트워크를 통해 전송할 VSCODE로 그려지는 모든 프레임
- VSCode가 반응하기 전에 모든 사용자 입력이 네트워크를 통해 전송되어야 합니다
- 추가 최적화를 누락
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
terminal-code
VS Code inside your terminal
https://github.com/user-attachments/assets/4ba0d434-896a-4ab3-9c91-5d351dacee08
Install (macOS & Linux):
curl -fsSL https://tode.sh/install | bash
Usage
Usage: tode [path...] [options]
tode --
tode Open the folder in the current working directory
tode Open the specified folder
tode Open the specified file
Options:
-g, --goto Open a file at a line and column
-a, --add Add a folder to the active workspace
-n, --new-window Open a new pane even for a file
-w, --wait Wait until the file is closed again
-d, --diff Compare two files
-r, --reuse-window Open folder in this window rather than a new pane
--install-extension Install an extension by id or vsix path
--uninstall-extension Remove an extension
--list-extensions List installed extensions
--split Open in a new pane: right, left, down, up
--size The % a new split will take up (0.2 to 0.95)
--timing Report how long each stage of this open took
--review Open on the source control panel
--ssh Run terminal-code on an ssh server
Commands, each as the first argument:
--shortcut-setup Resolve shortcut conflicts between terminal-code and the current terminal
--timing Profile terminal-code launch
--import [editor] Bring settings, keybindings, snippets and extensions
over from vscode compatible editors
--theme [file] Set editor theme
--enable-transparency Make the editor transparent
--disable-transparency Make the editor opaque again
--serve [path] Start code server and print its url
--skill An agent skill to assist with modifying terminal-code
--upgrade [--check] Upgrade terminal-code to the latest version
--shutdown Stop all terminal-code activities
--uninstall [--yes] Remove all terminal-code data from this machine
How does it work?
terminal-code combines terminal-browser (a browser in the terminal) and code-server (VS Code in the browser) to bring VS Code to the terminal. You should look into these projects for more details!
Shortcuts
Your terminal and terminal-code will likely conflict on important shortcuts, meaning sometimes terminal-code will never even receive your key press. To resolve
shortcut conflicts you can run tode --shortcut-setup, and you will be placed into an interactive wizard that lets you change terminal or terminal-code shortcuts
so they no longer conflict
SSH
The recommended way to use terminal-code over ssh is running tode --ssh on your local machine.
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add zenbu-labs/terminal-code