| Both sides previous revision Previous revision Next revision | Previous revision |
| qnd:vs_code [2024/10/25 19:59] – [Keyboard Shortcuts] mgupton | qnd:vs_code [2024/12/17 15:27] (current) – mgupton |
|---|
| * [[https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf]] | * [[https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf]] |
| |
| * ''Ctrl + shift + p'', command palette | * ''Ctrl + shift + p'' or ''F1'', command palette |
| * ''Ctrl + shift + f'', search for string across all files in currently opened folder | * ''Ctrl + shift + f'', search for string across all files in currently opened folder |
| * ''Ctrl + r'', open recently opened files/folders | * ''Ctrl + r'', open recently opened files/folders |
| | |
| * ''Ctrl + shift + o'', go to symbol in current file (e.g. function) | * ''Ctrl + shift + o'', go to symbol in current file (e.g. function) |
| * ''Ctrl + t'', go to symbol in any file (e.g. function) | * ''Ctrl + t'', go to symbol in any file (e.g. function) |
| | * ''F12'', goto symbol definition of currently selected symbol |
| | * ''Shift + F12'', go to symbol references of currently selected symbol |
| * ''Alt + <left arrow>'', move to previous position | * ''Alt + <left arrow>'', move to previous position |
| * ''Alt + <right arrow>'', move to next position | * ''Alt + <right arrow>'', move to next position |
| * ''Ctrl + h'', find and replace | * ''Ctrl + h'', find and replace |
| |
| * ''F12'', goto symbol definition of currently selected symbol | * ''Ctrl + k, Ctrl + 0'', fold/collapse all blocks |
| * ''Shift + F12'', go to symbol references of currently selected symbol | * ''Ctrl + k, Ctrl + j'', unfolder/expand all blocks |
| ===== Customized Shortcuts ===== | ===== Customized Shortcuts ===== |
| * Show/hide left sidebar, ''Alt + 1'' | * Show/hide left sidebar, ''Alt + 1'' |
| * Show/hide file explorer panel, ''Alt + 2'' | * Show/hide file explorer panel, ''Alt + 2'' |
| * Show/hide file source control, ''Alt + 3'' | * Show/hide file source control, ''Alt + 3'' |
| | |
| | ====== Settings ====== |
| | * Modify the setting ''editor.wordSeparators'' to change how words are recognized and selected |
| |
| ====== Debugging ====== | ====== Debugging ====== |
| ===== JSON viewer ===== | ===== JSON viewer ===== |
| * [[https://marketplace.visualstudio.com/items?itemName=ZainChen.json|JSON]] | * [[https://marketplace.visualstudio.com/items?itemName=ZainChen.json|JSON]] |
| | |
| | ===== Peacock ===== |
| | * Change chrome color of VSCode to help distinguish between workspaces |
| |