当我输入双引号或括号时,Dreamweaver CS4 速度极其缓慢
我知道这并不是一个真正的代码问题,但我最近升级到 Dreamweaver CS4,每次在代码视图中键入双引号或括号(代码在 PHP 中)时,Dreamweaver 都会冻结几秒钟,然后出现 Mac 风车的情况。我的猜测是 Dreamweaver 试图进行某种验证或检查,或者可能只是分析如何为代码着色,但无论它在做什么,它都会花费很长时间,并且当我正在键入代码时真的很烦人。
文件越长,花费的时间就越长。只有当文件超过 5000 行左右时才会注意到这一点,我知道文件的代码超过 5000 行可能不是“最佳实践”,但我有一些文件接近 20,000 行,Dreamweaver 似乎每次都几乎崩溃我输入双引号或括号。
CS3 工作正常,但我不认为这是我的电脑(配备 2.93 GHz Intel Core 2 Duo、4 GB 内存的 iMac)。不管怎样,我的问题是有人知道我是否可以做些什么来解决这个问题(除了分解我所有的大文件)?也许我可以在 Dreamweaver 中关闭某些验证或设置?
Not really a code question I know, but I recently upgraded to Dreamweaver CS4 and every time I type a double quote or parentheses in code view (the code's in PHP) Dreamweaver sort of freezes up for a few second and I get the Mac pinwheel thing. My guess is Dreamweaver's trying to do some sort of validation or check or maybe is just analyzing how to color the code, but whatever it's doing, it takes forever and is really annoying when I'm right in the middle of typing out code.
The longer the file is, the longer it takes. It's really only noticeable if the file is over 5000 lines or so and I know it's probably not a 'best practice' thing to have files with code over 5000 lines, but I have some which are nearly 20,000 and Dreamweaver seems to nearly crash every time I type a double quote or parentheses.
CS3 worked fine and I don't think it's my computer (iMac with 2.93 GHz Intel Core 2 Duo, 4 GB of memory). Anyway, my question is does any body know if there's anything I can do to fix this (short of breaking up all my large files)? Maybe there's some validation or setting I can turn off in Dreamweaver?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查一下你的 Mac,我的电脑比你的还差(2.7GHz Core2Duo 2GB 内存)。但我的 PC 上的 Dreamweaver CS4 运行流畅,或者 Mac 上的 adobe 产品可能存在一些问题。
无论如何。我建议您使用
macpadd++
或netbeans
进行硬编码,它们也是免费的。Check your Mac, my computer is more worse than you (2.7GHz Core2Duo 2GB Memory). but dreamweaver CS4 in my PC run smootlhy or Maybe some issue adobe product for Mac.
Anyway than that. i recommended you use
macpadd++
or maybenetbeans
for hardcoding, they also free.