vscode的settings.json配置和一些插件

php intelligence //代码追踪插件(记得要添加php.exe路径)
live server //插件


{

    "vscode_custom_css.imports": [

        "file:///C:/Users/cfskk/.vscode/extensions/robbowen.synthwave-vscode-0.1.11/synthwave84.css"

      ],

      "vscode_custom_css.policy":true,

    "workbench.colorTheme": "SynthWave '84",

    "editor.wordWrap": "on",

    "workbench.activityBar.visible": true,

    "editor.minimap.enabled": false,

    "php.validate.executablePath": "D:/phpstudy_pro/Extensions/php/php7.3.4nts/php.exe",

    "php.executablePath":"D:/phpstudy_pro/Extensions/php/php7.3.4nts/php.exe"

}


1、代码注释删除插件:Remove Comments 

是下图这个,别下载错了

vscode的settings.json配置和一些 - 图1


ctrl+shift+p,然后输入:Remove Comments

vscode的settings.json配置和一些 - 图2


2、等于号或代码对齐插件:Better Align

vscode的settings.json配置和一些 - 图3


3、WEB服务插件:Live Server

vscode的settings.json配置和一些 - 图4


4、sublimeText同步快捷键插件

vscode的settings.json配置和一些 - 图5


5、PHP代码格式化插件

vscode的settings.json配置和一些 - 图6


6、删除空白行:^\s*(?=\r?$)\n

vscode的settings.json配置和一些 - 图7