[Visual Studio Code] 個人設定

 

個人會慢慢分享 Visual Studio Code 個人喜愛的客製化設定

先新增第一條

"emmet.triggerExpansionOnTab": true

 

Visual Studio Code shortcut

keybindings.json

// Place your key bindings in this file to override the defaultsauto[]
[
    {
        "key": "ctrl+k ctrl+d",
        "command": "editor.action.formatDocument",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+e ctrl+c",
        "command": "editor.action.addCommentLine",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+e ctrl+v",
        "command": "editor.action.removeCommentLine",
        "when": "editorTextFocus && !editorReadonly"
    }
]