Visual Studio Code
[Visual Studio Code] 자동완성 기능(IntelliSense) 단축키 설정
시나브로우
2019. 8. 24. 21:45
- 윈도우의 경우 Ctrl + 스페이스바를 누르면 사용할 수 있다.
- 맥의 경우 아래와 같이 설정한다.
- 우선 File > Preferences > Keyboard Shortcuts을 연다.
- Keyboard Shortcuts 화면의 오른쪽 상단위에 {} 을 눌러 keybindings.json 파일을 연다.
- keybindings.json 파일에 다음과 같은 내용을 입력한다.
[ { "key": "alt+space", "command": "editor.action.triggerSuggest", "when": "editorHasCompletionItemProvider && editorTextFocus && !editorReadonly" }, { "key": "alt+space", "command": "toggleSuggestionDetails", "when": "editorTextFocus && suggestWidgetVisible" }, { "key": "ctrl+alt+space", "command": "toggleSuggestionFocus", "when": "editorTextFocus && suggestWidgetVisible" } ]
- 맥의 command + space(Spotlight 검색) 기능과 겹치기 때문에 alt + space로 수정하였다.
- 우선 File > Preferences > Keyboard Shortcuts을 연다.