zoukankan      html  css  js  c++  java
  • vscode-设置

    {
    "window.zoomLevel": 0,
    "workbench.statusBar.visible": true,
    "window.menuBarVisibility": "default",
    "workbench.activityBar.visible": true,
    "explorer.confirmDelete": false,
    "breadcrumbs.enabled": true,
    "editor.minimap.enabled": false,
    "editor.renderWhitespace": "none",
    "editor.renderControlCharacters": false,
    "editor.detectIndentation": false,
    // 设置less输出格式
    "less.compile": {
    // "outExt": ".wxss",
    "compress": false, // 是否删除多余空白字符
    "sourceMap": false, // 是否创建文件目录树,true的话会自动生成一个 .css.map 文件
    "out": false // 是否编译输出文件
    },
    "files.associations": {
    ".cjson": "jsonc",
    "
    .wxss": "css",
    "*.wxs": "javascript"
    },
    "emmet.includeLanguages": {
    "wxml": "html"
    },
    "minapp-vscode.disableAutoConfig": true,
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "workbench.colorCustomizations": {
    "[Monokai Dimmed]": {
    "activityBar.background": "#21252B",
    "sideBar.background": "#21252B",
    "editor.foreground": "#ABB2BF",
    "editor.background": "#141414",
    "editor.selectionHighlightBorder": "#21252B",
    "editor.selectionHighlightBackground": "#99767678",
    "editorIndentGuide.activeBackground": "#81868d",
    "editorBracketMatch.background": "#282C35",
    "editorBracketMatch.border": "#ff0000",
    "tab.activeBackground": "#3762c7",
    "tab.inactiveBackground": "#282C35",
    "editorGroupHeader.tabsBackground": "#282C35",
    "textLink.foreground": "#d6561ac4",
    "descriptionForeground": "#ff0000",
    "selection.background": "#b98cd693",
    "textBlockQuote.background": "#b89a9a",
    "textSeparator.foreground": "#86c2df"
    }
    },
    "editor.tokenColorCustomizations": {
    "[Monokai Dimmed]": {
    "comments": "#7e3648",
    "strings": "#519657",
    "functions": "#ABB2BF",
    "keywords": "#C678DD",
    "variables": "#e57373",
    "numbers": "#ABB2BF",
    "textMateRules": [
    {
    "name": "Comment", //注释
    "scope": ["comment"],
    "settings": {
    "foreground": "#0d9712",
    "fontStyle": ""
    }
    },
    {
    "name": "HTML: Attribute Names", //HTML属性
    "scope": ["meta.tag entity.other.attribute-name", "entity.other.attribute-name.html"],
    "settings": {
    "fontStyle": "italic",
    "foreground": "#D19A66"
    }
    },
    {
    "name": "HTML:Tags", //标签的括号
    "scope": ["meta.tag", "punctuation.definition.tag.html", "punctuation.definition.tag.begin.html", "punctuation.definition.tag.end.html"],
    "settings": {
    "foreground": "#ABB2BF",
    "fontStyle": ""
    }
    },
    {
    "name": "HTML:Tag Names", //标签
    "scope": "entity.name.tag",
    "settings": {
    "foreground": "#E06C75",
    "fontStyle": ""
    }
    },
    {
    "name": "Operator",
    "scope": "keyword.operator",
    "settings": {
    "foreground": "#da3a3a",
    "fontStyle": ""
    }
    },
    {
    "name": "String",
    "scope": ["string"],
    "settings": {
    "foreground": "#D19A66",
    "fontStyle": ""
    }
    }
    ]
    }
    },
    "workbench.colorTheme": "Monokai Dimmed",
    "editor.tabSize": 2,
    "cssrem.rootFontSize": 100,
    "files.autoSave": "off",
    "search.followSymlinks": false,
    "browser-preview.startUrl": "https://www.baidu.com/",
    // 编辑器自定义背景图片
    "background.useDefault": false,
    "background.customImages": ["file://C:/Users/YC/Desktop/wallpaper/22.jpg"],
    "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "absolute",
    "z-index": "99999",
    "width": "100%",
    "height": "100%",
    "background-position": "100% 100%",
    "background-size": "100% 100%",
    "background-repeat": "no-repeat",
    "opacity": 0.1
    },
    "[html]": {
    "editor.defaultFormatter": "HookyQR.beautify"
    },
    "liveServer.settings.donotShowInfoMsg": true,
    "explorer.confirmDragAndDrop": false,
    "[javascript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "[less]": {
    "editor.defaultFormatter": "michelemelluso.code-beautifier"
    },
    "vetur.format.options.tabSize": 2, //缩进设置
    "vetur.format.defaultFormatter.html": "js-beautify-html", // html 不换行
    "vetur.format.defaultFormatter.js": "vscode-typescript", // js 不换行
    "vetur.format.defaultFormatter.vue": "vscode-typescript", // js 不换行
    "vetur.format.defaultFormatter.jsx": "vscode-typescript", // js 不换行
    "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
    "wrap_line_length": 0, // 设置多个字符后换行 0 表示忽略
    "wrap_attributes": "auto", // html 标签属性 换行设置[auto|force|force-aligned|force-expand-multiline] ["auto"]
    "end_with_newline": false // 在文件结尾添加新行
    },
    "prettier": {
    "semi": true, //要不要分号
    "singleQuote": true //单引号
    }
    },
    "todo-tree.tree.showScanModeButton": false,
    // 控制字体系列。
    "editor.fontFamily": "Fira Code",
    // 启用字体连字
    "editor.fontLigatures": true,
    // 以像素为单位控制字号。
    "editor.fontSize": 14,
    // 控制字体粗细。
    "editor.fontWeight": "normal",
    "diffEditor.ignoreTrimWhitespace": false,
    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "[javascriptreact]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "[vue]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[json]": {
    "editor.defaultFormatter": "HookyQR.beautify"
    },
    "javascript.updateImportsOnFileMove.enabled": "always",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "[css]": {
    "editor.defaultFormatter": "michelemelluso.code-beautifier"
    },
    "editor.formatOnSave": true,
    "editor.wordWrapColumn": 3000,
    "prettier.printWidth": 200,
    "git.autofetch": true,
    "editor.formatOnPaste": true,
    "workbench.iconTheme": "easy-icons"
    }

  • 相关阅读:
    Linux下g++编译与使用静态库和动态库(仅命令)
    Shell算数运算
    (转载)解决/usr/bin/ld: cannot find -lxxx 问题
    (转)C语言中的EOF和feof()
    204 Count Primes
    228 Summary Range
    235 Lowest Common Ancestor of a Binary Search Tree
    242 Valid Anagram
    简易计算器实现优化
    原生JS操作cookie
  • 原文地址:https://www.cnblogs.com/ycyc123/p/14806568.html
Copyright © 2011-2022 走看看