IDE 설정 모음

vscode 선택한 부분만 주석 넣기

맥북사고싶다 2020. 9. 9. 02:42

vscode 선택한 부분만 주석 넣기

 

1. setting -> Keyboard Shortcuts 열기

 

2. keybinding.json 파일 열기

 

오른쪽 상단 접혀있는 종이 클릭

 

3. 검색 -> commentLine -> 아래의 빨간색 부분 추가

..

..

..

{

"key": "cmd+/",

"command": "editor.action.commentLine",

"when": "editorTextFocus && !editorReadonly"

},

{

"key": "cmd+/",

"command": "editor.action.blockComment",

"when": "editorHasSelection && editorTextFocus && !editorReadonly"

}

 

#적용한 화면