1

有人知道 Eclipse 的快速 PHP 模式吗?我试过 Aptana PHP 模式和 PDT,但都不能在一秒钟内放置一个字符,这是没有办法编写代码的。

这可能是由于我在网络驱动器上进行的编辑,但编辑器如此依赖硬盘驱动器似乎很愚蠢。

4

5 回答 5

2

尝试在 Window > Preferences > PHP > Editor > Code Folding 下禁用 Code Folding。如果文件大于 200 行代码,此功能会导致 Eclipse 运行非常缓慢!

他们说这个错误早在 2008 年就已修复。但我仍然有这个问题 :)

于 2011-03-10T01:17:14.113 回答
1

Is Eclipse running from the network drive or is the file you are editing on the network drive. I run Eclipse with PHPEclipse all the time and the files I edit are on a network drive which mounts a Samba share on a Linux virtual machine and I have no problems. Eclipse depends on Java and it also takes a lot of memory. You may want to check that Java is working properly and that you aren't running out of memory. Or do an experiment and edit a file that is not on a network drive and see if it is any faster.

于 2008-12-23T16:12:09.653 回答
1

我投票给 Netbeans-PHP。但我的预测是它会和 Eclipse 一样,因为这些 IDE 需要从 HDD 读取 PHP 源文件来创建自动完成数据库。而且由于您的文件在网络驱动器中,它肯定会很慢。也许您应该考虑使用一些可以从网络中提取源副本的版本控制软件。所以它不会减慢 IDE 的速度。

于 2008-12-23T04:47:06.153 回答
0

我每天都使用 eclipse/PDT,它工作正常。我想我不知道“在一秒钟内放置一个字符”是什么意思,因为我根本看不到输入代码的任何延迟......

于 2008-12-23T04:08:04.267 回答
0

我听说netbeans 有很好的PHP 支持。

于 2008-12-23T03:22:21.330 回答