zoukankan      html  css  js  c++  java
  • 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
        },
    }
  • 相关阅读:
    C# 视频监控系列(11):H264播放器——封装API[HikPlayM4.dll]
    php框架
    ExtJS带验证码登录框[新增回车提交]
    ant 读取环境变量的值
    Apache Velocity实现模板化
    23种设计模式概述
    android资源下载
    无序hashset与hashmap让其有序
    PermGen space错误解决方法
    设计模式之代理模式(Proxy)
  • 原文地址:https://www.cnblogs.com/ljh12138/p/13559392.html
Copyright © 2011-2022 走看看