zoukankan      html  css  js  c++  java
  • setting.json配置

    {
        "workbench.iconTheme": "vscode-icons",
        // "editor.fontFamily": "Iosevka Term, Microsoft YaHei, Consolas, 'Courier New', monospace",
        // "debug.console.fontSize": 16,
        "editor.fontSize": 18,
        "editor.formatOnSave": true,
        "eslint.autoFixOnSave": true,
        "eslint.validate": [
            "javascript",
            {
                "language": "vue",
                "autoFix": true
            },
            {
                "language": "html",
                "autoFix": true
            }
        ],
        "terminal.integrated.rendererType": "dom",
        "terminal.integrated.fontFamily": "monospace",
        "editor.renderWhitespace": "none",
        "svn.enableProposedApi": "product",
        "[markdown]": {
            "editor.defaultFormatter": "yzhang.markdown-all-in-one"
        },
        "prettier-eslint.eslintIntegration": true, //让prettier使用eslint的代码格式进行校验
        "prettier.singleQuote": true, // prettier配置 --- 使用单引号
        "prettier.semi": false, // prettier配置 --- 结尾不加分号
        "prettier.printWidth": 140, // prettier配置 --- 每行最多显示的字符数
        // UP IS COSTOMER
        "vetur.format.defaultFormatter.html": "js-beautify-html",
        "vetur.format.defaultFormatter.js": "vscode-typescript",
        "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
        "editor.quickSuggestions": {
            "strings": true
        },
        //   "editor.tabSize": 2,
        "files.associations": {
            "*.vue": "vue",
            "*.cjson": "jsonc",
            "*.wxss": "css",
            "*.wxs": "javascript"
        },
        "beautify.language": {
            "html": [
                "htm",
                "html",
                "vue"
            ]
        },
        "explorer.confirmDelete": false,
        "vetur.validation.template": false,
        "[javascript]": {
            "editor.defaultFormatter": "vscode.typescript-language-features"
        },
        "[vue]": {
            "editor.defaultFormatter": "HookyQR.beautify"
            // "editor.defaultFormatter": "vscode.typescript-language-features"
        },
        "javascript.updateImportsOnFileMove.enabled": "always",
        "[html]": {
            "editor.defaultFormatter": "HookyQR.beautify"
        },
        "emmet.includeLanguages": {
            "wxml": "html"
        },
        "minapp-vscode.disableAutoConfig": true,
        "window.zoomLevel": 0,
        "[json]": {
            "editor.defaultFormatter": "esbenp.prettier-vscode"
        },
        "vetur.experimental.templateInterpolationService": true,
        "editor.minimap.enabled": false,
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": true
        },
        "editor.mouseWheelZoom": true,
        "http.systemCertificates": false
        // 将less编译成css文件生成的位置,相对于当前less文件的位置
        // "less.compile": {
        //     "out": "../css/"
        // },
    }
    

      2.0

    {
        "workbench.iconTheme": "material-icon-theme",
        "explorer.confirmDragAndDrop": false,
        "explorer.confirmDelete": false,
        //配置eslint
        "eslint.autoFixOnSave": true, //  启用保存时自动修复,默认只支持.js文件
        "eslint.validate": [
            "javascript", //  用eslint的规则检测js文件
            {
                "language": "vue", // 检测vue文件
                "autoFix": true //  为vue文件开启保存自动修复的功能
            },
            {
                "language": "html",
                "autoFix": true
            },
        ],
        "editor.codeActionsOnSave": {
            "source.fixAll.eslint": true
        },
    }
    

      

  • 相关阅读:
    17373194陈丛文第一次项目作业
    软工第一次博客作业
    软工热身作业
    OO第4次博客作业
    OO第三次博客作业
    oo第二次总结作业
    OO第一次总结作业
    UML系列——OO Unit4分析和学期总结
    JML规格编程系列——OO Unit3分析和总结
    电梯系列——OO Unit2分析和总结
  • 原文地址:https://www.cnblogs.com/97Coding/p/14167999.html
Copyright © 2011-2022 走看看