zoukankan      html  css  js  c++  java
  • vscode php跳转

    最近在写一个php项目,最后选定使用vscode编辑器,然后研究了一下断点调试、格式代码、点击跳转

    以下是配置步骤,记录一下

    1.代码格式化及跳转
      1.前提条件:安装7.0以上版本php,     2.4apache
      2.安装php-cs-fixer  php-formatter phpIntelliSense 等插件
      3.文件->首选项->配置:
        "php.validate.executablePath": "D:/soft_install/amp/php7.02/php.exe",
         "php-cs-fixer.executablePath": "D:/soft_install/amp/php7.02/extras/php-cs-fixer.phar",
        "phpformatter.phpPath": "D:/soft_install/amp/php7.02/php.exe",
        "phpformatter.arguments":["--rules=@Symfony"],
        "phpformatter.pharPath": "D:/soft_install/amp/php7.02/extras/php-cs-fixer.phar",
        "php.executablePath": "D:/soft_install/amp/php7.02/php.exe",


      4.下载 php-cs-fixer.phar 放到extras里面
     

  • 相关阅读:
    C#:字符串(转载9)
    C# 数组(转载8)
    C#:可空类型(转载7)
    XD 05
    eclipse 快捷键 干货
    XD 04
    XD 03
    model, mapper, xml
    02 MyBatis & Druid
    注解 用到
  • 原文地址:https://www.cnblogs.com/xiaotiejiang/p/8461211.html
Copyright © 2011-2022 走看看