• vs code 插件推荐


    json配置:

    {
      "editor.fontSize": 16,
      "[javascript]": {
       // #每次保存的时候自动格式化
      "editor.formatOnSave": true,
      // #每次保存的时候将代码按eslint格式进行修复
      "eslint.autoFixOnSave": true,
        "editor.defaultFormatter": "ryannaddy.vscode-format"
      },
      "[html]": {
        "editor.defaultFormatter": "ryannaddy.vscode-format"
      },
      "emmet.triggerExpansionOnTab": true,
      "files.associations": {
        "*.js": "javascript"
      },
      "workbench.iconTheme": "vscode-icons",
      "workbench.editor.enablePreview": false, //打开文件不覆盖
      "search.followSymlinks": false, //关闭快速预览
      "liveServer.settings.donotShowInfoMsg": true, //关闭liveserver提示
      "files.autoSave": "off", //打开自动保存
      // "editor.fontSize": 16, //设置文字大小
      // "editor.lineHeight": 24, //设置文字行高
      "editor.lineNumbers": "on", //开启行数提示
      "editor.quickSuggestions": {
        //开启自动显示建议
        "other": true,
        "comments": true,
        "strings": true
      },
      "workbench.colorTheme": "Darcula Theme from IntelliJ", //指定工作台中使用的颜色主题
      "window.zoomLevel": 0, // 调整窗口的缩放级别
      "editor.tabSize": 2, //制表符符号eslint
      "emmet.includeLanguages": {
        "javascript": "javascriptreact"
      },
      "files.associations": {
        "*.js": "javascriptreact"
      },
      "javascript.updateImportsOnFileMove.enabled": "always",
         // #每次保存的时候自动格式化
         "editor.formatOnSave": true,
         // #每次保存的时候将代码按eslint格式进行修复
        "eslint.autoFixOnSave": true,
        "editor.codeActionsOnSave": {
          "source.fixAll.eslint": true
        },
    }
  • 相关阅读:
    iOS开发UI—Button基础
    iOS开发UI—UIWindow介绍
    第43月第27天 nginx keeplike高可用
    第43月第23天 商品秒杀 乐观锁
    第43月第22天 github 工程 svn checkout ipa瘦身
    第43月第21天 h264文件格式
    第43月第17天 iOS 子线程开启、关闭runloop performSelector
    第43月第15天 nginx负载均衡 redis
    第43月第11天 kCVPixelFormatType_420YpCbCr8BiPlanarFullRange转rgb
    第43月第10天 uiimage写文件
  • 原文地址:https://www.cnblogs.com/ljh12138/p/13559392.html
Copyright © 2020-2023  润新知