vscode windows下golang、php、java配置

{

   "editor.fontSize": 16,

    // Fira Code字体好看

   "editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",

   "editor.fontLigatures": true,

   "workbench.iconTheme": "vscode-icons",

    // 等比例放大

   "window.zoomLevel": 1,

   "files.autoSave": "afterDelay",

   "git.autofetch": true,

    // 行高

   "editor.lineHeight":30,

   "editor.renderControlCharacters": true,

   "editor.minimap.enabled": true,

   "files.autoGuessEncoding": true,

    // java 配置


   "java.home": "D:\\Program Files\\Java\\jdk1.8.0_191",

   "java.configuration.maven.userSettings": "D:\\maven\\apache-maven-3.6.3\\conf\\settings.xml",

    // maven 配置

   "maven.executable.path": "D:\\maven\\apache-maven-3.6.3\\bin\\mvn",

   "maven.terminal.useJavaHome": true,

   "maven.terminal.customEnv": [

       {

           "environmentVariable": "JAVA_HOME",      

           "value": "D:\\Program Files\\Java\\jdk1.8.0_191"      

       }

   ],

   "files.exclude": {

       "**/.classpath": true,

       "**/.project": true,

       "**/.settings": true,

       "**/.factorypath": true

   },

   "editor.suggestSelection": "first",

   "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",

   "workbench.sideBar.location": "left",

   "vsicons.dontShowNewVersionMessage": true,

   "java.project.importOnFirstTimeStartup": "automatic",

   "java.requirements.JDK11Warning": false,

   "java.semanticHighlighting.enabled": true,

   "java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -javaagent:\"c:\\Users\\Administrator\\.vscode\\extensions\\gabrielbb.vscode-lombok-1.0.1\\server\\lombok.jar\"",

   // php 配置

   "phpformatter.logging": true,

   //不使用composer方式

   "phpformatter.composer": false,

   "phpformatter.arguments": [

       "--rules=@Symfony"

   ],

   //添加自定义参数,默认的参数level已经在新版本中移出所以会导致运行出错

   //RULES=[@PSR1,@PSR2,@Symfony]

   //source:https://github.com/FriendsOfPHP/PHP-CS-Fixer#usage

   // Should point to php-cs-fixer.phar file, if you have installed this manually (without Composer). Should include .phar extension.

   // php-cs-fixer.phar路径,使用composer方式时可以不填

   "phpformatter.pharPath": "D:\\UPUPW_ANK_W64\\Modules\\PHPX\\PHP72\\php-cs-fixer.phar",

   // If the pharPath is set, and you are not using Composer, and you haven't added PHP to your PATH, this should point to the php.exe file.

   // php路径,使用composer方式时可以不填

   "phpformatter.phpPath": "D:\\UPUPW_ANK_W64\\Modules\\PHPX\\PHP72\\php.exe",

   "php.validate.executablePath":"D:\\UPUPW_ANK_W64\\Modules\\PHPX\\PHP72\\php.exe",

   "phpfmt.php_bin": "D:\\UPUPW_ANK_W64\\Modules\\PHPX\\PHP72\\php.exe",

   "[php]": {

       "editor.defaultFormatter": "junstyle.php-cs-fixer"

   },

   "php-cs-fixer.onsave": true,

   "php-cs-fixer.executablePath": "D:\\UPUPW_ANK_W64\\Modules\\PHPX\\PHP72\\php-cs-fixer.phar",

   "php-cs-fixer.lastDownload": 1584514180543,

    // go 配置


   "go.goroot": "D:\\Go",

   "go.gopath": "D:\\gopath",

   //第三方库代码提示

   "go.inferGopath": true,

   "go.formatTool": "goimports",

   //自动完成未导入的包

   "go.autocompleteUnimportedPackages": true,

   "go.gocodePackageLookupMode": "go",

   "go.gotoSymbol.includeImports": true,

   "go.docsTool": "gogetdoc",

   "go.useCodeSnippetsOnFunctionSuggest": true,

   "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,

   "go.useLanguageServer": true,

   "leek-fund.statusBarStock": [

       "sh000016"

   ],

}


    
    
标签: php golang vscode
2020.4.17   /   热度:540   /   分类: golang

发表评论:

©地球仪的BLOG  |  Powered by Emlog