Skip to content

Instantly share code, notes, and snippets.

@ziqq
Created May 16, 2024 10:47
Show Gist options
  • Save ziqq/59df603c7274716cdc3ba799256f1041 to your computer and use it in GitHub Desktop.
Save ziqq/59df603c7274716cdc3ba799256f1041 to your computer and use it in GitHub Desktop.
VSCode Keyboard Shortcuts
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+enter",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "cmd+.",
"command": "-problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "shift+ctrl+l",
"command": "editor.action.transformToLowercase"
},
{
"key": "shift+ctrl+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "shift+ctrl+s",
"command": "editor.action.transformToSnakecase"
},
{
"key": "shift+ctrl+t",
"command": "editor.action.transformToTitlecase"
},
{
"key": "shift+ctrl+enter",
"command": "github.copilot.generate",
"when": "editorTextFocus && github.copilot.activated"
},
{
"key": "ctrl+enter",
"command": "-github.copilot.generate",
"when": "editorTextFocus && github.copilot.activated"
},
{
"key": "shift shift",
"command": "workbench.action.showCommands"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment