VSCODE Settings配置

{
    // 决定 linter 是在保存时还是输入时运行。
    "php.validate.run": "onSave",
    // 启用/禁用内置的 PHP 验证。
    "php.validate.enable": true,
  
  
    // 启用/禁用 JavaScript 验证。
    "javascript.validate.enable": true,
    //增加文件夹图标
    "workbench.iconTheme": "vscode-icons", 
    "git.ignoreLegacyWarning": true,
    "editor.fontFamily": "Consolas",
    //这个会去掉右边的滑动窗口,非常烦的东东
    "editor.minimap.maxColumn": 80, 
  
  
    //打印日志信息,用于调试
    "phpformatter.logging": true,
    //不使用composer方式
    "phpformatter.composer": false,
    //添加自定义参数,默认的参数level已经在新版本中移出所以会导致运行出错
    //RULES=[@PSR1,@PSR2,@Symfony]
    //source:https://github.com/FriendsOfPHP/PHP-CS-Fixer#usage
    "phpformatter.arguments": [
      "--rules=@Symfony"
    ],
    // 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方式时可以不填
    "php.validate.executablePath": "E:/wamp64/bin/php/php7.3.5/php.exe",
    "php.executablePath": "E:/wamp64/bin/php/php7.3.5/php.exe",
    "editor.fontSize": 18,
    "vsicons.dontShowNewVersionMessage": true,
    "workbench.sideBar.location": "left",
    "workbench.colorTheme": "Monokai",
    "editor.minimap.enabled": false,
    "update.enableWindowsBackgroundUpdates": false,
    "telemetry.enableCrashReporter": false,
    "update.mode": "none",
    "update.showReleaseNotes": false,
    "editor.codeActionsOnSave": null
  }

 

posted @ 2020-05-11 10:15  王默默  阅读(3369)  评论(1编辑  收藏  举报