douluo5937 2011-12-07 16:26
浏览 43
已采纳

Eclipse PDT的PHP重构插件

I'm trying to switch to an IDE for my PHP projects and I'm having problems with refactoring things like filenames etc.

Does anybody have experience with the PHP Refactoring Plugin For Eclipse PDT? Are there better refactoring solutions for PHP? It doesn't have to be for Eclipse, I would try other IDEs.

  • 写回答

5条回答 默认 最新

  • dse3168 2011-12-07 16:57
    关注

    Don't use the PHP Refactoring Plugin. It's never gotten out of alpha, there is no release to download and the only access to it is through it's subversion repository. And there are no commits the repository in a while, so the project is essentially dead.

    There is some minimal refactoring support in Netbeans:

    Rename Refactoring You can rename an element such as a class name across all files in a project. The feature forces you to preview your changes before you can make them. The preview window shows you every location of the element and lets you exclude individual occurrences of the element from being renamed. Rename Refactoring is contrasted with the older feature, Instant Rename, which lets you only rename an element within a file and which does not provide a preview window.

    And Netbeans is as good a choice for a PHP IDE as any. PHPStorm also supports some refactoring functionality:

    The Rename refactoring works for files, functions, constants, classes, properties, methods, parameters, and local and global variables.

    Also following refactorings are available:

    Introduce Variable Introduce Constant Introduce Field Inline variable Make global project changes easily and safely. Local changes are made instantly in-place.

    But PHPStorm is not free.

    There are quite a few non IDE refactoring tools for PHP in this related question.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器