Stack & Tool/VScode7 VScode console.log 쉽고 빠르게 입력하기(console.log shortcut) 1. File - Preferences - Setting에 들어간다. 2. 우측 상단에 아래와 같은 아이콘을 클릭한다. 3. 아래와 같이 복사 붙여넣기 하면 된다. // Place your key bindings in this file to override the defaults [ { "key": "ctrl+shift+1", "command": "editor.action.insertSnippet", "when": "editorTextFocus", "args": { "snippet": "console.log($1);" } } ] * key에는 내가 사용할 단축키를 입력해주면 된다. * snippet 부분에 $1은 내가 단축키를 사용해서 console.log를 띄웠을 때 바로 커서의 위치를 지정해주는 것이.. 2021. 3. 9. 이전 1 2 다음