vscode 使用小结

插件配置

1,代码执行扩展

    Code Runner

2,查看git历史推送记录

    Git History

3,HTML,CSS 格式化工具

    HTML CSS Support

4,php 代码格式化工具

    php cs fixer

    php-cs-fixer.executablePath 配置 php-cs-fixer-v2.phar

5,PHP 代码自动补全,跳转到定义

    PHP InterlliSense

    terminal.integrated.shell.windows 参数配置 git 工具的执行路径

6,PHP 代码调试工具

    PHP Debug

    ① 下载扩展

    ② php.validate.executablePath 配置当前运行 PHP 的路径

    ③ php.ini 配置

    zend_extension="C:\phpStudy\PHPTutorial\php\php-5.6.27-nts\ext\php_xdebug.dll"
    xdebug.remote_enable = 1
    xdebug.remote_autostart = 1
    xdebug.remote_port = 9001

    ④ F5 运行调试,只需要更改端口为 9001 即可

猜你喜欢

转载自my.oschina.net/slagga/blog/1806786