Debug

터미널 관련 키세팅 (터미널창 열고닫기, 코드에디터 터미널 사이 커서전환)

배게 2024. 6. 13. 06:00
728x90

커서를 코드에디터창과 터미널창으로 전환 가능한 키 (Ctrl+Up, Ctrl+Down)
터미널창 열고 닫기 (Ctrl + ` )  -> 이건 원래 기본으로 세팅되어있는건데
                                                            예전에 뭐 고치려했었던건가 default되서 안되어있었음..
 
 

 
 keyboard shortcuts. json 파일 찾아서
거기에 아래 내용 복붙하면됨
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
참조:
https://www.youtube.com/watch?v=nzNyIinEcJA&t=52s
https://neutrondev.com/vs-code-switch-between-editor-and-terminal/
 
 
Paste this code into keybindings.json file:

  [
  {
  "key": "ctrl+down",
  "command": "workbench.action.terminal.focus",
  },
  {
  "key": "ctrl+up",
  "command": "workbench.action.focusActiveEditorGroup",
  "when": "terminalFocus"
  }
  ]
view rawkeybindings.json hosted with ❤ by GitHub