xxxxxxxxxx
Another VSCODE shortcut for you guys:
If you want to open the terminal, use: ctrl + `
That will open the terminal. Hope this helped!
By Codexel
xxxxxxxxxx
following are the links for some VS code shortcuts :
Linux: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf
Window: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
macOS: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
xxxxxxxxxx
Ctrl + / to comment line
Ctrl + p to quick open
Ctrl + Shift + p to open command palette
Ctrl+B to toggle sidebar
Ctrl + D to multi-select cursor
Alt + Up or Alt + Down to move line up or down
SHIFT+ALT+UP or SHIFT+ALT+DOWN to copy line up or down
Ctrl + K + 0 to collapse all
Ctrl + K + 1 to collapse at indent level 1
Ctrl + K + J to unfold all
Ctrl + j to toggle terminal
Ctrl + Shift + ` to open new terminal
Ctrl + Space to trigger suggestions (intelisense)
Linux: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-linux.pdf
Window: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
macOS: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
xxxxxxxxxx
Ctrl + / to comment line
Ctrl + p to quick open
Ctrl + Shift + p to open command palette
Ctrl+B to toggle sidebar
Ctrl + D to multi-select cursor
Alt + Up or Alt + Down to move line up or down
SHIFT+ALT+UP or SHIFT+ALT+DOWN to copy line up or down
Ctrl + K + 0 to collapse all
Ctrl + K + 1 to collapse at indent level 1
Ctrl + K + J to unfold all
Ctrl + j to toggle terminal
Ctrl + Shift + ` to open new terminal
Ctrl + Space to trigger suggestions (intelisense)
xxxxxxxxxx
https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
xxxxxxxxxx
[
{
"key": "capslock",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "escape",
"command": "-extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
{
"key": "ctrl+l",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+h",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+.",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+\\",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+i",
"command": "-editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+k",
"command": "editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "ctrl+k ctrl+i",
"command": "-editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.showTreeHover",
"when": "customTreeView && listFocus && !inputFocus"
},
{
"key": "ctrl+k ctrl+i",
"command": "-workbench.action.showTreeHover",
"when": "customTreeView && listFocus && !inputFocus"
},
{
"key": "ctrl+e",
"command": "workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer",
"when": "viewContainer.workbench.view.explorer.enabled"
},
{
"key": "ctrl+e",
"command": "workbench.action.focusSideBar"
},
{
"key": "ctrl+0",
"command": "workbench.action.focusSideBar"
},
{
"key": "ctrl+e",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
},
{
"key": "ctrl+a",
"command": "explorer.newFile"
},
{
"key": "ctrl+shift+a",
"command": "explorer.newFolder"
},
{
"key": "ctrl+shift+backspace",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "shift+delete",
"command": "-deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "ctrl+shift+e",
"command": "workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+k e",
"command": "-workbench.files.action.focusOpenEditorsView",
"when": "workbench.explorer.openEditorsView.active"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+d",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+,",
"command": "editor.emmet.action.wrapWithAbbreviation"
}
]
xxxxxxxxxx
div.myCLass#id
<div class="myCLass" id="id"></div>
div>span
<div><span></span></div>
ul>li*3 <!-- to check ctrl+<space> -->
<ul>
<li></li>
<li></li>
<li></li>
</ul>
import Home from './views/Home.vue'; <!-- shift + Alt + Down Arrow -->
import Home from './views/Home.vue';
import Home from './views/Home.vue';
xxxxxxxxxx
Accept an inline suggestion: Tab. editor.action.inlineSuggest.commit
Dismiss an inline suggestion: Esc. editor.action.inlineSuggest.hide
Show next inline suggestion: Alt + ] or Option + ]. editor.action.inlineSuggest.showNext
Show previous inline suggestion: Alt + [ or Option + [. editor.action.inlineSuggest.showPrevious
Trigger inline suggestion: Alt + \ or Option + \. editor.action.inlineSuggest.trigger
Open Copilot (10 suggestions in separate pane): Ctrl + Enter. github.copilot.generate
Copilot toggle on/off: No default shortcut. github.copilot.toggleCopilot