美文网首页
vscode配置

vscode配置

作者: JetLu | 来源:发表于2016-06-16 21:38 被阅读348次

    settings.json


    {
        "editor.fontSize": 16,
        "http.proxy": "http://127.0.0.1:1080",
        "editor.fontFamily": "Consolas, Microsoft YaHei",
        "editor.multiCursorModifier": "ctrlCmd",
        "editor.renderIndentGuides": true,
        "workbench.iconTheme": "vs-seti",
        "editor.minimap.enabled": false,
        "editor.dragAndDrop": true,
        "editor.wordWrapColumn": 120,
        "editor.wordWrap": "wordWrapColumn",
        "window.zoomLevel": 0,
        "editor.wrappingIndent": "indent",
        "files.trimTrailingWhitespace": true,
        "files.associations": {
            "*.vue": "vue",
            "*.wxss": "css",
            "*.wxml": "html",
            "*.marko": "html"
        },
        "extensions.ignoreRecommendations": true,
        "git.enableSmartCommit": true,
        "workbench.startupEditor": "newUntitledFile",
        "vetur.validation.template": false,
        "files.exclude": {
            "**/.DS_Store": true,
            "**/.git": true,
            "**/.hg": true,
            "**/.nuxt": true,
            "**/.svn": true,
            "**/*.meta": true,
            "**/CVS": true,
            "**/node_modules": true,
            "**/package-lock.json": true
        },
        "explorer.openEditors.visible": 0,
        "files.eol": "\n",
        "explorer.confirmDelete": false,
        "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
        "git.path": "d:/software/git/cmd/git.exe",
        "explorer.confirmDragAndDrop": false,
        "typescript.suggest.autoImports": false,
        "javascript.suggest.autoImports": false,
        "git.confirmSync": false,
        "window.titleBarStyle": "custom",
        "javascript.updateImportsOnFileMove.enabled": "always",
        "breadcrumbs.enabled": false,
        "javascript.implicitProjectConfig.checkJs": true,
        "javascript.validate.enable": false,
        "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
        "search.usePCRE2": true,
        "javascript.preferences.quoteStyle": "single",
        "typescript.preferences.quoteStyle": "single"
    }
    

    keybindings.json


    // Place your key bindings in this file to overwrite the defaults
    [
        {
            "key": "delete",
            "command": "editor.action.deleteLines",
            "when": "editorFocus"
        },
        {
            "key": "f1",
            "command": "bookmarks.toggle"
        },
        {
            "key": "f2",
            "command": "bookmarks.jumpToNext"
        },
        {
            "key": "ctrl+r",
            "command": "workbench.action.tasks.runTask"
        },
        {
            "key": "ctrl+down",
            "command": "editor.action.transformToLowercase"
        },
        {
            "key": "ctrl+up",
            "command": "editor.action.transformToUppercase"
        },
        {
            "key": "ctrl+shift+/",
            "command": "editor.action.blockComment",
            "when": "editorTextFocus && !editorReadonly"
        },
        {
            "key": "ctrl+shift+s",
            "command": "-workbench.action.files.saveAs"
        },
        {
            "key": "ctrl+shift+s",
            "command": "workbench.action.files.saveAll"
        },
        {
            "key": "ctrl+k s",
            "command": "-workbench.action.files.saveAll"
        },
        {
            "key": "ctrl+w",
            "command": "workbench.action.closeEditorsInGroup"
        },
        {
            "key": "ctrl+k w",
            "command": "-workbench.action.closeEditorsInGroup"
        }
    ]
    

    快捷键


    keyboard-shortcuts-windows-1.png

    相关文章

      网友评论

          本文标题:vscode配置

          本文链接:https://www.haomeiwen.com/subject/oqamdttx.html