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

VS Code All in One

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 xgqfrms",
            " * ",
            " * @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

refs



©xgqfrms 2012-2020

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

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2018-06-18 22:43  xgqfrms  阅读(214)  评论(4编辑  收藏  举报