vscode 设置 settings.json

{
    "gopls": {
        "buildFlags": [
            "-tags=wireinject"
        ]
    },
    "go.buildOnSave": "workspace",
    "go.lintOnSave": "workspace",
    "go.vetOnSave": "workspace",
    "go.buildFlags": [ ],
    "go.lintFlags": [ ],
    "go.vetFlags": [ ],
    "go.coverOnSave": false,
    "go.formatTool": "gofmt",
    "go.gocodeAutoBuild": true,
    "go.useLanguageServer": true,
    "git.confirmSync": false,
    "vsicons.presets.hideFolders": false,
    "workbench.iconTheme": "vscode-icons",
    "intelephense.completion.insertUseDeclaration": true,
    "path-intellisense.extensionOnImport": true,
    "window.titleBarStyle": "custom",

    "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
    "go.gocodePackageLookupMode": "go",
    "go.gotoSymbol.includeImports": true,
    "go.useCodeSnippetsOnFunctionSuggest": true,
    "explorer.confirmDelete": false,
    "go.docsTool": "gogetdoc",
    "explorer.confirmDragAndDrop": false,
    "emmet.excludeLanguages": [
        "markdown",
        "php"
    ],
    "files.exclude": {
        "**/.blade.php": true,
        "**/.dist": true,
        "**/.htaccess": true,
        "**/.idea": true,
        "**/.vscode": true,
        "**/*.css": true,
        "**/favicon.ico": true,
        "**/public/storage": true,
        "C:\\Users\\Administrator\\AppData\\Local\\Temp\\$Metadata$\\2BFD4D1A$standard\\true.php": true,
        "D:\\project\\php\\baoxian\\hg-ins-api\\vendor\\phpunit\\php-code-coverage\\tests\\_files\\Crash.php": true
    },
    "window.openFoldersInNewWindow": "on",
    "workbench.list.openMode": "doubleClick",

    "css.validate": false,
    "typescript.validate.enable": false,
    "scss.validate": false,
    "less.validate": false,
    "javascript.validate.enable": false,

    "testing.autoRun.delay": 500,
    "java.configuration.updateBuildConfiguration": "automatic",
    "java.project.sourcePaths": [
        "src/main/java",
        "src/test/java"
    ],
    "java.autobuild.enabled": false,
    "java.debug.settings.forceBuildBeforeLaunch": false,
    "java.import.generatesMetadataFilesAtProjectRoot": true,

    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/target": true,
        "**/logs": true
    },
    "maven.executable.path": "D:/myapps/java/maven/bin/mvn.cmd",
    "java.configuration.maven.globalSettings": "D:\\myapps\\java\\maven\\conf\\settings.xml",
    "java.maven.downloadSources": true,
    "java.configuration.maven.userSettings": "D:\\myapps\\java\\maven\\conf\\settings.xml",

    "maven.terminal.customEnv": [
        {
            "environmentVariable": "JAVA_HOME",
            "value": "D:\\myapps\\java\\jdk"
        }
    ],
    "deploy": {
        "packages": [
            {
                "name": "前端",
                "description": "webapp里面的所有文件",
                "files": [
                    "src/main/webapp/*",
                    "src/main/webapp/*/*",
                    "src/main/webapp/*.*",
                    "src/main/webapp/*/*.*",
                    "src/main/webapp/*/*/*.*",
                    "src/main/webapp/*/*/*/*.*",
                    "src/main/webapp/*/*/*/*/*.*",
                    "src/main/webapp/*/*/*/*/*",
                    "src/main/webapp/*/*/*/*/*/*.*"
                ],
                "exclude": [
                    "src/main/webapp/test/*"
                ],
                "deployOnSave": true,
                "useTargetList": true,
                "button": {
                    "text": "热部署",
                    "tooltip": "点击这里将前端部署到hotsite",
                    "targets": [
                        "HOTSITE"
                    ]
                }
            }
        ],
        "targets": [
            {
                "type": "local",
                "name": "HOTSITE",
                "description": "A local folder",
                "dir": "target/study/",
                "mappings": [
                    {
                        "source": "src/main/webapp",
                        "isRegEx": false,
                        "target": "/"
                    }
                ]
            }
        ]
    },
    "rsp-ui.enableStartServerOnActivation": [
        {
            "id": "redhat.vscode-community-server-connector",
            "name": "Community Server Connector",
            "startOnActivation": true
        }
    ],
    "redhat.telemetry.enabled": true,
    "vsicons.presets.jsOfficial": true,
    "vsicons.presets.jsonOfficial": true,
    "vsicons.presets.tsOfficial": true,
    "window.newWindowDimensions": "maximized",
    "vsicons.dontShowNewVersionMessage": true,
    "editor.quickSuggestionsDelay": 0,
    "editor.suggest.shareSuggestSelections": true,
    "editor.suggest.preview": true,
    "editor.suggest.localityBonus": true,
    "editor.suggest.showStatusBar": true,
    "files.saveConflictResolution": "overwriteFileOnDisk",


    "security.workspace.trust.untrustedFiles": "open",
    "workbench.editorAssociations": {
        "*.class": "default",
        "*.log": "default"
    },
    "java.contentProvider.preferred": "fernflower",

    "css.format.braceStyle": "expand",

    "css.lint.argumentsInColorFunction": "ignore",
    "less.lint.argumentsInColorFunction": "ignore",
    "scss.lint.argumentsInColorFunction": "ignore",
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },

    "php.format.rules.alignConsecutiveAssignments": false,
    "php.format.rules.groupUseNewLineBeforeFirstDeclaration": true,
    "php.format.rules.openBraceOnNewLineForLambdas": true,
    "php.format.rules.spaceWithinExpressionParens": true,
    "php.format.rules.spaceWithinForParens": true,
    "php.format.rules.spaceWithinWhileParens": true,
    "php.format.rules.spaceWithinIfParens": true,
    "php.format.rules.spaceWithinForeachParens": true,
    "php.format.rules.spaceWithinDeclParens": true,
    "php.format.rules.spaceWithinCatchParens": true,
    "php.format.rules.spaceWithinCallParens": true,
    "php.format.rules.spaceWithinBracketsAroundExpression": true,
    "php.format.rules.spaceWithinArrayInitilizersParens": true,
    "php.format.rules.spaceBeforeParenthesesInArrowFunctions": true,
    "php.format.rules.spaceAroundConcatenation": true,

    "[php]": {
        "editor.defaultFormatter": "kokororin.vscode-phpfmt"
    },
    "php.format.rules.arrayInitializersNewLineAfterLastElement": true,
    "php.format.rules.arrayInitializersNewLineBeforeFirstElement": true,
    "php.format.rules.callParametersNewLineBeforeRightParen": true,
    "php.format.rules.elseOnNewLine": true,
    "php.format.rules.forStatementNewLineAfterLeftParen": true,
    "php.format.rules.finallyOnNewLine": true,
    "php.format.rules.newLineAfterImplements": true,
    "php.format.rules.indentBraces": false,
    "php.format.rules.openBraceOnNewLineForAnonymousClasses": true,
    "php.format.rules.openBraceOnNewLineForTypes": true,
    "php.format.rules.switchStatementNewLineAfterLeftParen": true,
    "php.format.rules.whileStatementNewLineAfterLeftParen": true,
    "php.format.rules.whileStatementNewLineBeforeRightParen": true,
    "php.format.rules.catchOnNewLine": true,
    "php.format.rules.declParametersNewLineBeforeRightParen": true,
    "php.format.rules.arrayInitializersAlignKeyValuePairs": true,
    "php.format.rules.declParametersNewLineAfterLeftParen": true,
    "php.format.rules.openBraceOnNewLineForFunctions": true,
    "php.format.rules.switchStatementNewLineBeforeRightParen": true,
    "php.format.rules.spaceAfterCast": true,
    "php.format.rules.callParametersNewLineAfterLeftParen": true,
    "php.format.rules.forStatementNewLineBeforeRightParen": true,
    "phpConstructor.chooseConstructorVisibility": true,
    "php-docblocker.alignReturn": true,
    "php-docblocker.qualifyClassNames": true,
    "php-docblocker.gap": true,
    "php-docblocker.returnGap": true,
    "php-docblocker.useShortNames": true,
    "php-docblocker.extra": [
        "@description  xxx",
        "@author liwu",
        "@date $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE"
    ],
    "php-docblocker.functionTemplate": {
        "extra": { },
        "param": { },
        "return": { }
    },
    "php-docblocker.classTemplate": {
        "extra": { }
    },
    "testing.saveBeforeTest": false,
    "php.executables": {
        "v7": "D:\\myapps\\php7\\php.exe",
        "v8": "D:\\myapps\\php8\\php.exe"
    },
    "php.executablePath": "D:\\myapps\\php7\\php.exe",
    "html.format.wrapLineLength": 1200,
    "workbench.tree.indent": 4,
    "php.format.rules.spaceBeforeColonInReturnType": true,
    "files.autoSave": "afterDelay",
    "namespaceResolver.sortOnSave": true,
    "java.saveActions.organizeImports": true,
    "go.testOnSave": true,
    "files.autoSaveDelay": 10000,
    "json.format.keepLines": true,
    "php.format.rules.ifStatementNewLineAfterLeftParen": true,
    "php.completion.parameters": "parameters",
    "php.linkedEditing.variables": true,
    "phpfmt.visibility_order": true,
    "editor.formatOnSave": true,
    "audioCues.terminalQuickFix": "off",
    "task.problemMatchers.neverPrompt": false,
    "namespaceResolver.sortNatural": true,
    "scm.autoReveal": false,
    "scm.inputFontSize": 14,
    "javascript.format.insertSpaceAfterCommaDelimiter": false,
    "javascript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
    "javascript.format.insertSpaceAfterKeywordsInControlFlowStatements": false,
    "javascript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
    "javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
    "javascript.format.insertSpaceAfterSemicolonInForStatements": false,
    "javascript.format.insertSpaceBeforeAndAfterBinaryOperators": false,
    "typescript.format.insertSpaceAfterCommaDelimiter": false,
    "typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
    "typescript.format.insertSpaceAfterKeywordsInControlFlowStatements": false,
    "typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": false,
    "typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
    "typescript.format.insertSpaceAfterSemicolonInForStatements": false,
    "html.format.preserveNewLines": false,
    "scss.format.newlineBetweenRules": false,
    "scss.format.newlineBetweenSelectors": false,
    "scss.format.preserveNewLines": false,
    "less.format.newlineBetweenRules": false,
    "less.format.newlineBetweenSelectors": false,
    "less.format.preserveNewLines": false,
    "css.format.newlineBetweenRules": false,
    "css.format.newlineBetweenSelectors": false,
    "css.format.preserveNewLines": false,
    "path-intellisense.autoTriggerNextSuggestion": true,
    "php.format.rules.ifStatementNewLineBeforeRightParen": true,
    "html.format.wrapAttributes": "aligned-multiple",
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "editor.fontFamily": "",
    "javascript.format.enable": false,
    "php.format.rules.spaceBeforeColonInControlStatements": false,
    "html.format.enable": false,
    "scss.format.enable": false,
    "less.format.enable": false,
    "css.format.enable": false,
    "editor.formatOnType": true,
    "path-intellisense.autoSlashAfterDirectory": true,
    "path-intellisense.ignoreTsConfigBaseUrl": true,
    "path-intellisense.showHiddenFiles": true,
    "typescript.format.enable": false,
    "editor.acceptSuggestionOnCommitCharacter": false,
    "npm.fetchOnlinePackageInfo": false,
    "workbench.startupEditor": "none",
    "php.format.rules.keepControlStatementsOnOneLine": true,
    "namespaceResolver.showMessageOnStatusBar": true,
    "namespaceResolver.sortAlphabetically": true,
    "php.completion.autoimport-docblock": "auto-import",
    "php.format.rules.spaceWithinBrackets": false,
    "intelephense.completion.fullyQualifyGlobalConstantsAndFunctions": true,
    "intelephense.phpdoc.useFullyQualifiedNames": true,
    "intelephense.files.associations": [
        "*.php",
        "*.phtml"
    ],
    "php.hover.fullname": true,
    "php.format.rules.spaceAfterUnaryNot": false,
    "phpConstructor.choosePropertyVisibility": true,
    "phan.analyzeOnlyOnSave": true,
    "editor.wordWrap": "on",
    "diffEditor.wordWrap": "on",
    "editor.detectIndentation": false,
    "less.completion.completePropertyWithSemicolon": false,
    "scss.completion.completePropertyWithSemicolon": false,
    "css.completion.completePropertyWithSemicolon": false,
    "editor.suggest.insertMode": "replace",
    "javascript.suggest.autoImports": false,
    "javascript.suggest.completeJSDocs": false,
    "javascript.suggest.enabled": false,
    "javascript.suggest.names": false,
    "javascript.suggest.paths": false,
    "javascript.suggestionActions.enabled": false,
    "typescript.suggest.autoImports": false,
    "typescript.suggest.completeJSDocs": false,
    "typescript.suggest.enabled": false,
    "typescript.suggest.paths": false,
    "typescript.suggestionActions.enabled": false,
    "emmet.showAbbreviationSuggestions": false,
    "editor.inlineSuggest.enabled": false,
    "typescript.suggest.includeAutomaticOptionalChainCompletions": false,
    "javascript.suggest.includeAutomaticOptionalChainCompletions": false,
    "editor.wordBasedSuggestions": false,
    "editor.snippets.codeActions.enabled": false,
    "editor.codeActionWidget.showHeaders": false,
    "intelephense.diagnostics.run": "onSave",
    "intelephense.environment.phpVersion": "7.4.3",
    "php.suggest.basic": true,
    "php.validate.enable": true,
    "php-docblocker.alignParams": true,
    "files.trimTrailingWhitespace": true,
    "scm.diffDecorationsIgnoreTrimWhitespace": "true",
    "typescript.format.insertSpaceBeforeAndAfterBinaryOperators": false,
    "editor.mouseWheelZoom": true,
    "notebook.consolidatedOutputButton": false,
    "php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar",
    "php-cs-fixer.onsave": true,
    "php-cs-fixer.lastDownload": 1691034272022,
    "workbench.editor.mouseBackForwardToNavigate": false,
    "editor.definitionLinkOpensInPeek": true,
    "workbench.tree.renderIndentGuides": "always",
    "explorer.compactFolders": false,
    "files.autoGuessEncoding": true,
    "explorer.autoReveal": false,
    "intelephense.files.exclude": [
        "**/.git/**",
        "**/.svn/**",
        "**/.hg/**",
        "**/CVS/**",
        "**/.DS_Store/**",
        "**/node_modules/**",
        "**/bower_components/**",
        "**/vendor/**/{Tests,tests}/**",
        "**/.history/**",
        "**/vendor/**/vendor/**",
        "**/tmp/**"
    ],
    "php.format.codeStyle": "K&R",
    "workbench.editor.scrollToSwitchTabs": true,
    "sftp.debug": true,
    "sftp.printDebugLog": true,
    "phpfmt.php_bin": "D:\\myapps\\php7\\php.exe",
    "git.autofetch": true,
    "git.enableSmartCommit": true,
    "phan.phpExecutablePath": "D:\\myapps\\php7\\php.exe",

    "files.associations": {
        "*.extension": "html",
        "*.yaml": "yaml",
        "iostream": "cpp",
        "*.tcc": "cpp",
        "string": "cpp",
        "unordered_map": "cpp",
        "vector": "cpp",
        "ostream": "cpp",
        "new": "cpp",
        "typeinfo": "cpp",
        "deque": "cpp",
        "initializer_list": "cpp",
        "iosfwd": "cpp",
        "fstream": "cpp",
        "sstream": "cpp",
        "map": "c",
        "stdio.h": "c",
        "algorithm": "cpp",
        "atomic": "cpp",
        "bit": "cpp",
        "cctype": "cpp",
        "clocale": "cpp",
        "cmath": "cpp",
        "compare": "cpp",
        "concepts": "cpp",
        "cstddef": "cpp",
        "cstdint": "cpp",
        "cstdio": "cpp",
        "cstdlib": "cpp",
        "cstring": "cpp",
        "ctime": "cpp",
        "cwchar": "cpp",
        "exception": "cpp",
        "ios": "cpp",
        "istream": "cpp",
        "iterator": "cpp",
        "limits": "cpp",
        "memory": "cpp",
        "random": "cpp",
        "set": "cpp",
        "stack": "cpp",
        "stdexcept": "cpp",
        "streambuf": "cpp",
        "system_error": "cpp",
        "tuple": "cpp",
        "type_traits": "cpp",
        "utility": "cpp",
        "xfacet": "cpp",
        "xiosbase": "cpp",
        "xlocale": "cpp",
        "xlocinfo": "cpp",
        "xlocnum": "cpp",
        "xmemory": "cpp",
        "xstddef": "cpp",
        "xstring": "cpp",
        "xtr1common": "cpp",
        "xtree": "cpp",
        "xutility": "cpp",
        "stdlib.h": "c",
        "string.h": "c"
    },
    "editor.suggest.snippetsPreventQuickSuggestions": false,
    "php.validate.executablePath": "D:\\myapps\\php7\\php.exe",
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "editor.unicodeHighlight.allowedCharacters": {
        " ": true
    },
    "terminal.integrated.allowMnemonics": true,
    "terminal.integrated.bellDuration": 0,
    "terminal.integrated.confirmOnKill": "never",

    "terminal.integrated.gpuAcceleration": "off",
    "terminal.integrated.macOptionClickForcesSelection": true,
    "terminal.integrated.smoothScrolling": true,
    "editor.fontLigatures": false,
    "terminal.integrated.cursorStyle": "line",
    "terminal.integrated.detectLocale": "on",
    "terminal.integrated.lineHeight": 0,
    "terminal.integrated.unicodeVersion": "6",
    "terminal.integrated.customGlyphs": false,
    "audioCues.diffLineDeleted": "off",
    "audioCues.diffLineInserted": "off",
    "audioCues.diffLineModified": "off",
    "audioCues.lineHasBreakpoint": "off",
    "audioCues.lineHasError": "off",
    "audioCues.lineHasFoldedArea": "off",
    "audioCues.lineHasInlineSuggestion": "off",
    "audioCues.noInlayHints": "off",
    "audioCues.notebookCellCompleted": "off",
    "audioCues.notebookCellFailed": "off",
    "audioCues.onDebugBreak": "off",
    "audioCues.taskCompleted": "off",
    "audioCues.taskFailed": "off",
    "audioCues.terminalCommandFailed": "off",
    "terminal.integrated.copyOnSelection": true,
    "terminal.integrated.localEchoEnabled": "off",
    "screencastMode.fontSize": 22,
    "workbench.editor.wrapTabs": true,
    "editor.minimap.enabled": false,
    "problems.sortOrder": "position",
    "problems.showCurrentInStatus": true,
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html"
    },
    "editor.fontSize": 17,
    "workbench.colorTheme": "Monokai"
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

夸父手杖

谢谢老板

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值