vscode 1.58 이후 편집창에 터미널 띄우기
2021.07.09 05:39
아래 설정으로 위 스샷 5시 방향처럼 사용할 수 있다.
settings.json
"terminal.integrated.defaultLocation":"editor"
단축키는 기존 통합터미널과 사대가 안맞아서 아래와 같이 설정해서 쓰고 있다.
keybindings.json
* 에디터내 터미널 좌우 이동
* 에디터에서 터미널 실행
* 터미널 분할
* 기존 alt+상하좌우 터미널 이동키는 삭제
{
"key": "alt+win+right",
"command": "workbench.action.navigateRight"
},
{
"key": "alt+win+left",
"command": "workbench.action.navigateLeft"
},
{
"key": "alt+oem_3",
"command": "workbench.action.createTerminalEditor"
},
{
"key": "win+oem_3",
"command": "workbench.action.terminal.splitInActiveWorkspace"
},
{
"key": "alt+right",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+left",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+down",
"command": "-workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "alt+up",
"command": "-workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalProcessSupported"
}
oem_3 = 백틱( ` ) 또는 ~
또 까먹을게 뻔해서...
끝.
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
2 | VSCode 터미널에서 - Powershell 프롬프트 경로 짧게 하기 | 꿈돌이 | 2018.06.29 | 632 |
» | vscode 1.58 이후 편집창에 터미널 띄우기 | 꿈돌이 | 2021.07.09 | 251 |