Table des matières

VSCode

Mes paramètres

User Setting

{
    "telemetry.telemetryLevel": "off",
    "workbench.colorTheme": "Default Dark+",
    "editor.autoIndent": "advanced",
    "editor.wordWrap": "on",
    "zenMode.hideLineNumbers": false,
    "zenMode.centerLayout": false,
    "security.workspace.trust.untrustedFiles": "open",
    "editor.renderWhitespace": "trailing",
    "editor.linkedEditing": true,
    "editor.suggest.insertMode": "replace",
    "editor.acceptSuggestionOnCommitCharacter": false,
    "scm.autoReveal": false,
    "workbench.tree.indent": 15,
    "workbench.tree.renderIndentGuides": "always",
    "emmet.triggerExpansionOnTab": true,
    "editor.fontSize": 15,
    "php.suggest.basic": false,
    "gitlens.graph.minimap.enabled": false,
    "gitlens.codeLens.enabled": false,
    "gitlens.currentLine.enabled": true,
    "database-client.showFilter": true,
    "editor.fontFamily": "'Fira Code Light','Consolas', 'Courier New', monospace",
    "editor.lineHeight": 1.5,
    "terminal.integrated.copyOnSelection": true,
    "explorer.autoReveal": false,
    "remote.SSH.connectTimeout": 120,
    "auto-close-tag.SublimeText3Mode": true,
    "htmlEndTagLabels.labelPrefix": " --> ",
    "intelephense.diagnostics.undefinedFunctions": false,
    "intelephense.diagnostics.undefinedMethods": false,
    "intelephense.diagnostics.undefinedClassConstants": false,
    "intelephense.diagnostics.undefinedTypes": false,
    "editor.stickyScroll.enabled": true,
    "editor.stickyScroll.maxLineCount": 10,
    "editor.minimap.enabled": false,
    "namespaceResolver.sortAlphabetically": true,
    "workbench.editor.pinnedTabsOnSeparateRow": true,
    "window.density.editorTabHeight": "compact",
    "workbench.editor.doubleClickTabToToggleEditorGroupSizes": "maximize",
    "gitlens.hovers.currentLine.enabled": false,
    "git.confirmSync": false,
    "update.enableWindowsBackgroundUpdates": false,
    "update.mode": "manual",
    "workbench.editor.empty.hint": "hidden",
    "diffEditor.ignoreTrimWhitespace": false
}

Keyboard Shortcut

// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+shift+d",
        "command": "-workbench.view.debug",
        "when": "viewContainer.workbench.view.debug.enabled"
    },
    {
        "key": "ctrl+shift+d",
        "command": "editor.action.duplicateSelection"
    },
    {
        "key": "ctrl+down",
        "command": "editor.action.moveLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "alt+down",
        "command": "-editor.action.moveLinesDownAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+up",
        "command": "editor.action.moveLinesUpAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "alt+up",
        "command": "-editor.action.moveLinesUpAction",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+r",
        "command": "workbench.action.gotoSymbol"
    },
    {
        "key": "ctrl+shift+o",
        "command": "-workbench.action.gotoSymbol"
    },
    {
        "key": "ctrl+[Quote]",
        "command": "workbench.action.terminal.toggleTerminal"
    },
    {
        "key": "ctrl+[Backslash]",
        "command": "workbench.files.action.showActiveFileInExplorer"
    }
]

Mes extensions

Local

Remote

Problème

Sous linux, parfois un Ctrl+Z pour faire “Undo” exécute un Ctrl+W, ce qui ferme l’onglet. Pour corriger le problème →

use "keyboard.dispatch": "keyCode" in your settings and restart VS Code. This will prevent VS Code from trying to determine your keyboard layout whatsoever.