vscode

该文提供了一段VSCode的配置信息,包括编辑器的缩进设置、minimap关闭、启动时默认不打开文件、Less编译路径等,还自定义了HTML和JavaScript的格式化器,并详细设置了注释样式。此外,文章还推荐了一些提升前端开发效率的插件。

vscode配置信息

  1. 模板信息配置:是针对使用vscode工具进行前端开发,用来配置模板样式、代码规则等等,下面的内容可以直接在你的vscode中找到setting.json文件(设置 --> 然后在输入框中输入".json",即可找到),一键复制粘贴即可(保存以后关闭并重新打开vscode即可使用已经配置的编辑信息)。
{
  "editor.tabSize": 2,
  "editor.minimap.enabled": false,
  "workbench.startupEditor": "none",
  "less.compile": {
    "out": "./../css/"
  },
  "explorer.confirmDragAndDrop": false,
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "better-comments.tags": [
    {
      "tag": "!",
      "color": "#ff73b7",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "?",
      "color": "#53f832",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "//",
      "color": "#474747",
      "strikethrough": true,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "todo",
      "color": "#FF8C00",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    },
    {
      "tag": "*",
      "color": "#60ecff",
      "strikethrough": false,
      "underline": false,
      "backgroundColor": "transparent",
      "bold": false,
      "italic": false
    }
  ],
  "tabnine.experimentalAutoImports": true,
  "[javascript]": {
    "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
  },
  // "cssrem.rootFontSize": 80,
  "[css]": {
    "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
  },
  "editor.suggest.snippetsPreventQuickSuggestions": false,
  "extensions.ignoreRecommendations": true,
  "emmet.triggerExpansionOnTab": true,
  "[vue]": {
    "editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
  },
  "editor.formatOnSave": true,
  "editor.formatOnType": true,
  "path-intellisense.mappings": {
    "@": "${workspaceRoot}/src"
  },
  "editor.fontSize": 16,
  "volar.inlayHints.eventArgumentInInlineHandlers": false,
  // "workbench.iconTheme": "vscode-icons",
  "editor.guides.bracketPairs": true,
  "volar.codeLens.references": false,
  "editor.tokenColorCustomizations": {
    "comments": "#a3a3a3"
  },
  "workbench.colorTheme": "One Dark Pro Darker",
  "window.zoomLevel": 1,
  "[less]": {
    "editor.defaultFormatter": "vscode.css-language-features"
  },
  "editor.codeLens": false,
  "vue.codeLens.enabled": false
}

2.插件推荐:针对前端开发常用到一些插件推荐,有助于提升开发效率。
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
以上内容是针对vscode的信息配置和插件推荐,希望能够帮助到大家!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值