xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

VS Code All in One

Visual Studio Code All in One

https://github.com/xgqfrms/vscode/

VS Code

Shift + Alt + A === Block Commnets

Ctrl + / === line Commnets

shortcuts keys

https://github.com/xgqfrms/vscode/issues/5

image


key bindings

vs code


// Place your key bindings in this file to overwrite the defaults
[{
        "key": "ctrl+z",
        "command": "undo",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "shift+ctrl+/",
        "command": "editor.action.blockComment",
        "when": "editorTextFocus && !editorReadonly"
    },
    {
        "key": "ctrl+alt+down",
        "command": "editor.action.copyLinesDownAction",
        "when": "editorFocus"
    },
    {
        "key": "ctrl+shift+d",
        "command": "-editor.action.copyLinesDownAction",
        "when": "editorFocus"
    }
]

ctrl++alt+down

"key": "ctrl+alt+down",

image


template

codes snippets


{
    "JavaScript ES6 React Template": {
        "prefix": "js6r",
        "body": [
            ""use strict";",
            "",
            "/**",
            " * ",
            " * @author xgqfrms",
            " * @license MIT",
            " * @copyright gildata",
            " * ",
            " * @description $2",
            " * @augments $3",
            " * @example $4",
            " * ",
            " */",
            "",
            "const $2Generator = ($5datas = [], debug = false) => {",
            "    let result = ``;",
            "    // do something...",
            "    return $7result;",
            "};",
            "",
            "",
            "",
            "export default $2;",
            "",
            "export {",
            "    $2,",
            "};",
            "",
        ],
        "description": "JavaScript ES6 React Template & code snippets!"
    }
}


vscode & show whitespace

renderWhitespace

{
  "editor.renderWhitespace": "all"
}

https://stackoverflow.com/questions/30140595/show-whitespace-characters-in-visual-studio-code/40081253#40081253


©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


原文地址:https://www.cnblogs.com/xgqfrms/p/9196611.html