vscode插件配置_vscode bootstrap插件

vscode插件配置_vscode bootstrap插件vscode插件列表及配置信息

大家好,又见面了,我是你们的朋友全栈君。

这里保存一下vscode的插件和配置信息

{
  // 以像素为单位控制字号。
  "editor.fontSize": 18,
  "files.autoSave": "onFocusChange",
  "editor.fontFamily": "monospace, Consolas, 'Courier New'",
  "editor.mouseWheelZoom": true,
  "editor.showFoldingControls": "always",
  "emmet.syntaxProfiles": {
    "javascript": "jsx",
    "vue": "html",
    "vue-html": "html"
  },
  "git.ignoreMissingGitWarning": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "eslint.options": {
    "extensions": [".js", ".vue"]
  },
  "editor.renderIndentGuides": true,
  "vetur.format.defaultFormatter.ts": "vscode-typescript",
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "auto" // html的多个属性不换行
    }
  },
  "prettier.singleQuote": true,
  "prettier.semi": false,
  // "prettier.eslintIntegration": true,
  "eslint.autoFixOnSave": true,
  "editor.tabSize": 2,
  "files.associations": {
    "*.vue": "vue"
  },
  "search.exclude": {
    "**/bower_components": true,
    "**/dist": true
  },
  "typescript.useCodeSnippetsOnMethodSuggest": true,
  "file_peek.activeLanguages": [
    "typescript",
    "javascript",
    "python",
    "vue" // 添加vue支持
  ],
  "file_peek.searchFileExtensions": [
    ".js",
    ".ts",
    ".html",
    ".css",
    ".scss",
    ".vue" // 添加vue支持
  ],
  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  "typescript.format.insertSpaceBeforeFunctionParenthesis": true,
  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": false,
  "vsicons.dontShowNewVersionMessage": true,
  "search.location": "panel",
  "workbench.activityBar.visible": true,
  "fileheader.Author": "jiangyan6",
  "fileheader.LastModifiedBy": "jiangyan6",
  "workbench.colorTheme": "One Dark Pro",
  "fileheader.tpl": "/*\r\n * @Author: {author} \r\n * @Date: {createTime} \r\n * @Last Modified by:   {lastModifiedBy} \r\n * @Last Modified time: {updateTime} \r\n * @Desc: 文件名 \r\n */\r\n",
  "workbench.editor.enablePreview": false,
  "todohighlight.isEnable": true,
  "LineCount.excludes": [
    "**/.vscode/**",
    "**/node_modules/**",
    "**/dist/**",
    "**/.history/**"
  ]
}

代码片段配置如下

// javascript.json
{
    // Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and 
    // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
    // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the 
    // same ids are connected.
    // Example:
    "Print to console": {
        "prefix": "cons",
        "body": [
            "console.log($1)"
        ],
        "description": "Log output to console"
    },

    "Print to jsfn": {
        "prefix": "jsfn",
        "body": [
            "/*\r\n * @Author: jiangyan6 \r\n * @Date: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE $CURRENT_HOUR:$CURRENT_MINUTE:$CURRENT_SECOND \r\n * @Desc: $1  \r\n * @param: $2  \r\n * @return: $3  \r\n */\r\n",
        ],
        "description": "js中对函数的注释"
    }
}
// vue-code-snippets
{
  // Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
  // description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
  // is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
  // used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
  // Placeholders with the same ids are connected.
  // Example:
  // "Print to console": {
  //     "scope": "javascript,typescript",
  //     "prefix": "log",
  //     "body": [
  //         "console.log('$1');",
  //         "$2"
  //     ],
  //     "description": "Log output to console"
  // }
  "Print to console": {
    "prefix": "vue",
    "body": [
      "/*"
      "* @Author: jiangyan6"
      "* @Date: 2018-12-06 15:27:49"
      "* @Last Modified by: jiangyan6"
      "* @Last Modified time: 2018-12-06 18:53:48"
      "* @Desc: xxx页面"
      "*/"
      "<template>",
      "  <div>$0</div>",
      "</template>",
      "",
      "<script>",
      "export default {",
      "  name: '',",
      "  data () {",
      "    return {",
      "    }",
      "  },",
      "  methods: {},",
      "  created () {}",
      "}",
      "</script>",
      "<style lang=\"less\" scoped>",
            "</style>",
            ""
    ],
    "description": "A vue file template"
  }
}

图片描述图片描述

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/106970.html原文链接:https://javaforall.net

(1)
上一篇 2022年4月21日 下午6:00
下一篇 2022年4月21日 下午6:00


相关推荐

  • HTTP和HTTPS有什么区别? 什么是SSL证书?使用ssl证书优势?

    HTTP和HTTPS有什么区别? 什么是SSL证书?使用ssl证书优势?

    2021年10月14日
    59
  • shiro面试必问_面试过程中的问题与对策

    shiro面试必问_面试过程中的问题与对策一,什么是Shiro?Shiro是apache旗下一个开源安全框架,它将软件的安全认证相关的功能抽取出来,实现用户身份授权,加密,会话管理等功能,组成了一个通用的安全认证框架二,目前市场主流的安全框架有哪些?(1),shiro:轻量级的,使用方便,灵活,是apache旗下一个开源安全框架,适合任何框架(2),SpringSeurity:是spring家族的一部分很多项目会使用到Spring全家桶,相对shiro来说SpringSeurity更轻量,必须要求spring环境,相对shiro

    2022年10月10日
    4
  • igmp协议用来实现组播功能_组播管理协议

    igmp协议用来实现组播功能_组播管理协议igmp

    2025年11月16日
    6
  • java netcdf精度_NetCDF 介绍

    java netcdf精度_NetCDF 介绍附件文档 4NetCDFJava4 1 概述 Overview 参考网址 http www unidata ucar edu software netcdf java documentatio htmTheNetCDF Javalibraryi CDM ageneralizat O

    2026年3月18日
    2
  • dotnet publish 不生成pdb文件

    dotnet publish 不生成pdb文件文章目录引言解决方案直接修改`.csproj`文件通过vs修改引言随着项目的体积越来越大,导致publish的时候文件越来越多,然而生产环境中其实pdb调试文件并没有什么作用(remotedebug)除外,所以也就灵机一动想着是否可以不生成呢?解决方案直接修改.csproj文件<PropertyGroupCondition=”‘$(Configuration)|$(Platform)’==’Release|AnyCPU'”><DebugType>none&lt

    2022年5月11日
    61
  • 使用fiddler实现苹果ios手机抓包

    使用fiddler实现苹果ios手机抓包Fiddler 是一个强大的抓包工具 可以通过它抓取 查看和调试 PC 端 手机终端和远程服务器之间的 http https 等通信 Fiddler 没有手机客户端 都是安装在 PC 上 要实现对手机上的程序抓包 则需要对 PC 上的 Fiddler 和手机端做一些配置 此文介绍如何使用 fiddler 实现苹果手机抓包 具体步骤如下 一 对 PC 端的 Fiddler 进行配置 1 Fiddler 默认只捕获 http 会话而不抓取 HTTPS 报文 所以我们要先允许捕获 HTTPS 操作步骤 打开 Fiddler 点击 Tool gt O

    2025年8月29日
    6

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号