Voici mes commandes personnalisées pour Visual Studio Code : Ou qui ont été rechargés par des extensions.
code
ou un bloc de code code
git add/commit
Pour ajouter les modifications sur Git/Github/SCMgit push
Pour synchroniser les modifications sur Git/Github/SCM[!TIP] 💡 Tip Note : Pour les commandes
git
bien sûr que cela peut-être avec Gitlab/Bitbucket ou autres SCM. SCM : Source Control Management
keybindings.json
:
// Placer vos combinaisons de touches dans ce fichier pour remplacer les valeurs par défautauto[]
[
{
"key": "ctrl+m ctrl+n",
"command": "mysql.runQuery",
"when": "editorLangId == 'sql'"
},
{
"key": "ctrl+alt+e",
"command": "-mysql.runQuery",
"when": "editorLangId == 'sql'"
},
{
"key": "ctrl+d ctrl+e",
"command": "workbench.action.addRootFolder"
},
{
"key": "ctrl+audiovolumemute",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "ctrl+d",
"command": "editor.action.duplicateSelection"
},
{
"key": "ctrl+numpad4",
"command": "git.push"
},
{
"key": "alt+q",
"command": "markdown.showPreviewToSide",
"when": "!notebookEditorFocused && editorLangId == 'markdown'"
},
{
"key": "ctrl+k v",
"command": "-markdown.showPreviewToSide",
"when": "!notebookEditorFocused && editorLangId == 'markdown'"
},
{
"key": "alt+d",
"command": "markdownQuickPick",
"when": "editorTextFocus"
},
{
"key": "alt+m",
"command": "-markdownQuickPick",
"when": "editorTextFocus"
},
{
"key": "ctrl+numpad_multiply",
"command": "formatItalic",
"when": "editorTextFocus && !vim.active && editorLangId == 'markdown'"
},
{
"key": "alt+d i",
"command": "-formatItalic",
"when": "editorTextFocus && !vim.active && editorLangId == 'markdown'"
},
{
"key": "ctrl+numpad1",
"command": "formatBold",
"when": "editorTextFocus && !vim.active && editorLangId == 'markdown'"
},
{
"key": "alt+d b",
"command": "-formatBold",
"when": "editorTextFocus && !vim.active && editorLangId == 'markdown'"
},
{
"key": "ctrl+numpad2",
"command": "editor.action.transformToTitlecase"
},
{
"key": "ctrl+numpad3",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+numpad5",
"command": "formatCode"
},
{
"key": "ctrl+numpad6",
"command": "applyComplex"
},
{
"key": "ctrl+numpad9",
"command": "insertBulletedList"
},
{
"key": "ctrl+numpad_decimal",
"command": "git.commit"
},
{
"key": "ctrl+z",
"command": "undo"
},
{
"key": "ctrl+z",
"command": "-undo"
},
{
"key": "ctrl+shift+z",
"command": "redo"
},
{
"key": "ctrl+shift+z",
"command": "-redo"
},
{
"key": "alt+oem_5",
"command": "editor.action.inlineSuggest.trigger"
},
{
"key": "tab",
"command": "-editor.action.inlineSuggest.commit",
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
},
{
"key": "tab",
"command": "editor.action.inlineSuggest.commit",
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus"
},
{
"key": "ctrl+oem_7",
"command": "markdown.preview.refresh"
}
]