分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 软件开发

vscode php跳转

发布时间:2023-09-06 01:43责任编辑:苏小强关键词:暂无标签

最近在写一个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里面
 

vscode php跳转

原文地址:https://www.cnblogs.com/xiaotiejiang/p/8461211.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved