zoukankan      html  css  js  c++  java
  • VSCode

    软件设置

    {
      "workbench.colorTheme": "Solarized Dark",
      "editor.fontSize": 15,
    
      // terminal
      // WSL 用 Remote Development 更好
      // "terminal.integrated.shell.windows": "C:\WINDOWS\Sysnative\bash.exe",
      "terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe",
     
      // git
      "git.rebaseWhenSync": true,
    
      // debug
      "debug.allowBreakpointsEverywhere": true,
    
      // emmet
      "emmet.includeLanguages": {
        "javascript": "javascriptreact"
      },
      "emmet.syntaxProfiles": {
        "javascript": "javascriptreact"
      },
      "emmet.triggerExpansionOnTab": true,
    
      // eslint
      "eslint.validate": ["javascript", "javascriptreact", "html", "vue"],
    
      // format
      "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
      },
      "[html]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
      },
      "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
      }
    }
    

    快捷键

    // Place your key bindings in this file to override the defaultsauto[]
    [
        // suggest
        {
            "key": "alt+j",
            "command": "editor.action.triggerSuggest",
            "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
        },
        {
            "key": "alt+j",
            "command": "toggleSuggestionDetails",
            "when": "suggestWidgetVisible && textInputFocus"
        },
        // view & go
        {
            "key": "alt+up",
            "command": "workbench.action.navigateBack"
        },
        {
            "key": "alt+down",
            "command": "workbench.action.navigateForward"
        },
        {
            "key": "alt+right",
            "command": "workbench.action.nextEditor"
        },
        {
            "key": "alt+right",
            "command": "-workbench.action.navigateForward"
        },
        {
            "key": "alt+left",
            "command": "workbench.action.previousEditor"
        },
        {
            "key": "alt+left",
            "command": "-workbench.action.navigateBack"
        },
        // file & edit
        {
            "key": "alt+s",
            "command": "workbench.action.files.save"
        },
        {
            "key": "alt+q",
            "command": "workbench.action.closeActiveEditor"
        },
        {
            "key": "alt+c",
            "command": "editor.action.clipboardCopyAction",
            "when": "textInputFocus"
        },
        {
            "key": "alt+v",
            "command": "editor.action.clipboardPasteAction",
            "when": "textInputFocus && !editorReadonly"
        },
        {
            "key": "alt+z",
            "command": "undo",
            "when": "textInputFocus && !editorReadonly"
        },
        {
            "key": "shift+alt+z",
            "command": "redo",
            "when": "textInputFocus && !editorReadonly"
        },
        {
            "key": "alt+a",
            "command": "editor.action.selectAll",
            "when": "textInputFocus"
        },
        {
            "key": "alt+f",
            "command": "actions.find"
        },
        {
            "key": "alt+h",
            "command": "editor.action.startFindReplaceAction"
        },
        {
            "key": "alt+n",
            "command": "workbench.action.files.newUntitledFile"
        },
    ]
    
  • 相关阅读:
    linux(unix)下.tar.gz解压
    linux 实验室
    Liferea 1.0.15
    编造机中鼠标无法应用标题问题解答
    GnuCash 1.9.8
    KDE 走向跨平台, 支持 Windows 和 Mac OS X
    KDVDCreator:创立视频 VCD、SVCD 和 DVD
    digiKam 0.9.3 颁布公布
    Sysinfo 0.7beta4
    KDE 4.1 特性及公布筹划
  • 原文地址:https://www.cnblogs.com/jffun-blog/p/10229633.html
Copyright © 2011-2022 走看看