VS Code
Code can be folded by placing markers in comments
<!-- #region -->
...
<!-- #endregion -->
#region
...
#endregion
#region
...
#endregion
"Editor group" refers to window panes.
Keyboard shortcut | Setting | Description |
---|---|---|
++Ctrl+\++ | workbench.action.splitEditor |
Split Editor |
++Ctrl+k+Ctrl+UpArrow++ | workbench.action.focusAboveGroup |
View: Focus Above Editor Group |
++Ctrl+k+Ctrl+RightArrow++ | workbench.action.focusRightGroup |
View: Focus Right Editor Group |
++Ctrl+k+Ctrl+DownArrow++ | workbench.action.focusBelowGroup |
View: Focus Below Editor Group |
++Ctrl+k+Ctrl+LeftArrow++ | workbench.action.focusLeftGroup |
View: Focus Left Editor Group |
++Ctrl+k+UpArrow++ | workbench.action.moveActiveEditorGroupUp |
View: Move Editor Group Up |
++Ctrl+k+RightArrow++ | workbench.action.moveActiveEditorGroupRight |
View: Move Editor Group Right |
++Ctrl+k+DownArrow++ | workbench.action.moveActiveEditorGroupDown |
View: Move Editor Group Down |
++Ctrl+k+LeftArrow++ | workbench.action.moveActiveEditorGroupLeft |
View: Move Editor Group Left |
++Alt+UpArrow++ | editor.action.moveLinesUpAction |
Move line up |
++Alt+DownArrow++ | editor.action.moveLinesDownAction |
Move line down |
++Option+Command+DownArrow++ | Add a cursor down | |
++Option+Command+UpArrow++ | Add a cursor up | |
++Option+Shift+Left Click++ | Click and drag to add cursors | |
++Ctrl+Shift+5++ | Terminal: Split terminal | |
++Ctrl+h++ | Replace | |
++Ctrl+l++ | Expand line selection | |
++Ctrl+j++ | workbench.action.togglePanel |
View: Toggle Panel |
++Ctrl+b++ | View: Toggle Side Bar Visibility |
Terminal
The shells available in the integrated terminal for any OS can be adjusted using terminal.integrated.profiles
Developer PowerShell for VS 2022
"terminal.integrated.profiles.windows": {
"Developer PowerShell for VS 2022": {
"source": "PowerShell",
"args": ["-NoExit", "-Command","&{Import-Module \"C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll\"; Enter-VsDevShell 1916cd63}"],
"icon": "terminal-powershell",
}