Zend Studio 5.5 / NetBeans (Mac OS X Snow Leopard) 处理 1,000 个文件时速度缓慢线路

发布于 2024-10-04 10:06:51 字数 1004 浏览 0 评论 0原文

我在 Mac OS X Snow Leopard 上使用 Zend Studio 5.5,Macbook Pro 2.26GHz Intel Core 2 Duo Intel X25-M SSD 8GB RAM,持续有 5-6GB RAM 空闲,CPU 利用率为 10-20%。我手动安装了 Java 5 以使其正常工作。

Zend Studio 5.5 运行速度非常快,除非文件超过 1,000 行。滚动变慢并且打字变慢。

我已经按照此处的步骤操作:http://www.antbrown。 com/web-development/speed-up-zend-studio/ 但它没有帮助。

我不会升级到更高的 Zend Studio 版本,因为我之前尝试过它们,它们超级超级垃圾而且很慢,它们毕竟是 Eclipse 的 hack。

我确实运行 NetBeans,但是,虽然打字还可以(仍然有点慢),但滚动却很痛苦(我使用具有触摸滚动功能的 Magic Mouse,当我滚动时,它总是滞后,其他鼠标也遇到同样的问题)。 .. 当我手动抓住滚动条并拖动时,滚动仅适用于 Zend 和 NetBeans,这对用户来说不太友好。

有办法解决这个问题吗?或者所有基于 Java 的 IDE 都注定会遭受大文件延迟的困扰吗? (尽管一个文件中的 1,000 行代码一点也不大)。

除了修复之外,我不介意更改为任何其他脚本编辑器,我只需要 PHP/JavaScript/HTML/ 的语法突出显示/代码完成/基本语法错误突出显示(不需要任何正在运行的调试内容) CSS,在保存时去除尾部空白并将制表符插入空格。我从不使用任何额外的功能,如数据库连接、FTP、SVN 等...我使用专用应用程序来完成所有这些...所以真的,只需要一个不基于 Mac OS X 的超薄、小型超快速脚本编辑器爪哇! Java 应用程序似乎总是滞后。当然,请不要愚蠢地建议记事本或终端,太多聪明的驴子建议它,如果你想成为一个聪明的驴子,请不要回应。

I am using Zend Studio 5.5 on Mac OS X Snow Leopard on a Macbook Pro 2.26GHz Intel Core 2 Duo Intel X25-M SSD 8GB RAM with constantly 5-6GB RAM free and CPU at 10-20%. I manually installed Java 5 to make it work.

Zend Studio 5.5 runs very fast except when it the file has more than 1,000+ lines. Scrolling becomes slow and typing becomes slow.

I have already followed the steps here: http://www.antbrown.com/web-development/speed-up-zend-studio/ and it hasn't helped.

I am not upgrading to the later Zend Studio versions since I tried them before, and they are super super crap and slow, they are afterall hacks of Eclipse.

I do run NetBeans, however, while typing is ok (still a bit slow), scrolling is a pain (I use a Magic Mouse which has the touch scroll, when I scroll, its always laggy, other mouses suffer the same issue)... scrolling only works on both Zend and NetBeans when I manually grab the scroll-bar and drag, which is not exactly very user friendly.

Are there ways to fix this? Or are all Java based IDEs doomed to suffer from lag on large files? (Even though 1,000 lines of code in one file isn't big at all).

Besides from fixing, I wouldn't mind to change to any other script editor, I only really need Syntax highlighting / code completion / basic syntax error highlighting (don't need any of the running debug stuff) for PHP/JavaScript/HTML/CSS, stripping tailing whitespace on save and tabs into spaces. I never use any of those extras like database connections, FTP, SVN etc etc... I use dedicated apps to do all those... So really, just need a slim, small super fast script editor for Mac OS X NOT BASED ON JAVA! Java apps seems to always lag. Of course please don't be silly and suggest notepad or terminal, too many smart asses suggest it, if your going to be a smart ass, don't respond.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

沙与沫 2024-10-11 10:06:51

考虑到您的硬件,NetBeans 对于您来说绝对应该足够快。您使用哪个版本?性能改进是 NetBeans 7.0 版本稳定性的一大重点,因此如果您尝试 http://bits.netbeans.org/netbeans/trunk/nightly/ 并通过 PHP 用户邮件列表或错误跟踪器(您可以在 NetBeans 网站上找到)向我们提供反馈。

Java IDE 之所以比记事本慢,并不是因为它们是用 Java 编写的,而是因为编辑器非常强大。所有 FTP、SVN、数据库等功能并不是真正的性能和内存密集型,但是一个复杂的编辑器可以检查您的代码以提供精确的代码完成支持,这始终是相当性能密集型的(特别是如果您有一个大型代码库),无论什么你用来实现它的语言。但我们正在努力改进 NetBeans 7.0 的这一点。

NetBeans should definitely be fast enough for you, given your hardware. Which version are you using? Performance improvements are a big focus of the NetBeans 7.0 release stabilization, so it would help us a lot if you try out the latest daily builds from http://bits.netbeans.org/netbeans/trunk/nightly/ and give us feedback via the PHP users mailing list or the bug tracker, which you will find on the NetBeans website.

The reason why Java IDEs are slower than Notepad is not because they are written in Java, it is because the editor is very powerful. All the FTP, SVN, database etc. features are not really performance and memory intensive, but a sophisticated editor that introspects your code to give you precise code completion support is always quite performance intensive (especially if you have a large codebase), regardless of the language you use to implement it. But we are trying really hard to improve this for NetBeans 7.0.

妄想挽回 2024-10-11 10:06:51

Textmate 是一款流行的 OS X 编辑器。他们有 30 天的试用期。

Textmate is a popular editor for OS X. They have a 30-day trial.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文