Essential VS Code Shortcuts for Laravel Developers (macOS)
- 안내말 입니다.
- 개인적으로 남기는 글입니다. 아래의 경우를 미리 공지합니다.
- 높임말은 없는 경우가 있습니다.
- 영어, 일본어, 베트남어를 공부하고 있습니다. 경우에 따라서 사용됩니다.
- 보기 거북하다면 뒤로가기 해주세요.
이야기 시작-
General Shortcuts
- Command Palette:
⇧⌘PorF1 - Quick Open (Go to File):
⌘P - New Window:
⇧⌘N - Close Window:
⌘W - User Settings:
⌘, - Keyboard Shortcuts:
⌘K ⌘S
Basic Editing
- Cut Line:
⌘X - Copy Line:
⌘C - Move Line Up/Down:
⌥↑/⌥↓ - Copy Line Up/Down:
⇧⌥↑/⇧⌥↓ - Delete Line:
⇧⌘K - Insert Line Below/Above:
⌘Enter/⇧⌘Enter - Jump to Matching Bracket:
⇧⌘\ - Indent/Outdent Line:
⌘]/⌘[ - Go to Beginning/End of Line:
⌘←/⌘→ - Go to Beginning/End of File:
⌘↑/⌘↓ - Scroll Line Up/Down:
⌃PgUp/⌃PgDn - Scroll Page Up/Down:
⌘PgUp/⌘PgDn - Fold/Unfold Region:
⌥⌘[/⌥⌘] - Toggle Line Comment:
⌘/ - Toggle Block Comment:
⇧⌥A - Toggle Word Wrap:
⌥Z
Multi-Cursor and Selection
- Insert Cursor:
⌥ + Click - Insert Cursor Above/Below:
⌥⌘↑/⌥⌘↓ - Undo Last Cursor Operation:
⌘U - Insert Cursor at End of Each Line Selected:
⇧⌥I - Select Current Line:
⌘L - Select All Occurrences of Current Selection:
⇧⌘L - Select All Occurrences of Current Word:
⌘F2 - Expand/Shrink Selection:
⌃⇧⌘→/⌃⇧⌘← - Column (Box) Selection:
⇧⌥ + Drag Mouse
Search and Replace
- Find:
⌘F - Replace:
⌥⌘F - Find Next/Previous:
⌘G/⇧⌘G - Select All Occurrences of Find Match:
⌥Enter - Add Selection to Next Find Match:
⌘D
Rich Languages Editing
- Trigger Suggestion:
⌃Space - Trigger Parameter Hints:
⇧⌘Space - Format Document:
⇧⌥F - Format Selection:
⌘K ⌘F - Go to Definition:
F12 - Peek Definition:
⌥F12 - Open Definition to the Side:
⌘K F12 - Quick Fix:
⌘. - Show References:
⇧F12 - Rename Symbol:
F2 - Trim Trailing Whitespace:
⌘K ⌘X - Change File Language:
⌘K M
Navigation
- Show All Symbols:
⌘T - Go to Line:
⌃G - Go to File:
⌘P - Go to Symbol:
⇧⌘O - Show Problems Panel:
⇧⌘M - Go to Next/Previous Error or Warning:
F8/⇧F8 - Navigate Editor Group History:
⌃⇧Tab - Go Back/Forward:
⌃-/⌃⇧-
Editor Management
- Close Editor:
⌘W - Close Folder:
⌘K F - Split Editor:
⌘\ - Focus into Editor Group:
⌘1/⌘2/⌘3 - Move Editor Left/Right:
⌘K ⇧⌘←/⌘K ⇧⌘→ - Move Active Editor Group:
⌘K ←/⌘K →
File Management
- New File:
⌘N - Open File:
⌘O