VS code 、IDEA常用插件

 

用户区配置:

{
  "window.menuBarVisibility": "compact",
  "editor.largeFileOptimizations": false,
  "editor.quickSuggestions": {
    "strings": true
  },
  "diffEditor.ignoreTrimWhitespace": false,
  "[json]": {
    "editor.defaultFormatter": "vscode.json-language-features"
  },
  "workbench.editorAssociations": {
    "*.dll": "default"
  }
}

 工作区配置:

{
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "workbench.settings.useSplitJSON": true,
    //配置eslint
    "eslint.run": "onSave",
    "files.autoSave": "off",
    "eslint.options": {
        "plugins": [
            "html"
        ]
    },
    // #每次保存的时候自动格式化
    "editor.codeActionsOnSave": {
        "source.fixAll.eslint": true
    },
    //为了符合eslint的两个空格间隔原则
    "editor.tabSize": 2,
    "editor.formatOnSave": true,
    //  #让prettier使用eslint的代码格式进行校验
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_attributes": "force-expand-multiline",
            "end_with_newline": false
        },
        "prettier": {
            // 格式化不加分号
            "semi": false,
            // 格式化为单引号
            "singleQuote": true
        }
    },
    // 自动格式化粘贴的代码
    "editor.formatOnPaste": true,
    "editor.quickSuggestions": {
        //开启自动显示建议
        "other": true,
        "comments": true,
        "strings": true
    },
    "vetur.validation.template": false,
    "javascript.suggest.enabled": true,
    "editor.detectIndentation": true,
    "emmet.includeLanguages": {
        "vue": "html",
        "vue-html": "html"
    },
    // 控制在活动代码片段内是否禁用快速建议。
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    // #让vue中的js按编辑器自带的ts格式进行格式化
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "typescript.disableAutomaticTypeAcquisition": true,
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "html.format.wrapAttributes": "force-aligned",
}

IDEA

 https://plugins.zhile.io

安装无限重置试用

IDE Eval Reset

 

JRebel(需激活)

Lombok

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值