728x90
1. cmd + shift + p (Show all commands)를 누르고 Open Keyboard Shortcuts (JSON)을 선택한다.
(윈도우는 ctrl+shift+p이다)
Open Default Keyboard Shortcuts을 선택하지 않게 주의한다.
2. keybindings.json 파일에 아래 내용을 추가한다.
mac
[
{
"key": "cmd+n",
"command": "explorer.newFile",
"when": "!editorFocus"
},
{
"key": "cmd+shift+n",
"command": "explorer.newFolder",
"when": "!editorFocus"
}
]
windows
[
{
"key": "ctrl+n",
"command": "explorer.newFile",
"when": "!editorFocus"
},
{
"key": "ctrl+shift+n",
"command": "explorer.newFolder",
"when": "!editorFocus"
}
]
3. 원하는 위치에 해당 단축키를 사용한다
'IT > 기록' 카테고리의 다른 글
Spring Data JPA 간단하게 알아보기 (0) | 2022.05.19 |
---|---|
VSCODE 단축키 (0) | 2022.05.19 |
[Flutter] Button types (0) | 2022.05.19 |
[Flutter] Text widgets - Text (0) | 2022.05.19 |
[Flutter] 이미지 넣기 (0) | 2022.05.18 |