编辑超过 500 行的文件时,Atom 速度 运行
Atom is running slow when edit a file which is over 500 lines
当我使用 Atom 编辑 javascript 文件时存在一些性能问题,如果 js 脚本行数超过一定数量,例如 500,则滚动文件或移动光标会卡住。应该不是,因为硬件问题,500 行也不是很大。当我编辑一个大文件时,有什么办法可以让 Atom 顺利地 运行 吗?谢谢,
您是否考虑过您的机器速度可能很慢的可能性?
我知道这并不能直接解决您的问题,但如果您不局限于 Atom,您可以尝试使用其他文本编辑器。我个人推荐Visual Studio代码。看看:
正如您在 this article 中看到的那样,这是 Atom 的一个持续问题,目前正在由团队处理。我不认为这与计算机性能有任何关系。
我目前 运行 一台 i7 机器,当打开大型(通常是缩小的)文件时,编辑器会 运行 非常慢,在某些情况下,甚至会完全崩溃。
希望我们能尽快看到解决方案。
最后发现问题是因为一个插件——linter-jscs,500行不算多,禁用这个插件后,编辑就可以了。
虽然您已经发布了解决方案,但可能值得考虑使用 Timecop, which displays information about where time is spent while Atom loads. You can also check similar information in the Settings > Packages
view, which will list how much time each installed package will add to the startup time (see the Flight Manual section on packages) 等软件包。
当我使用 Atom 编辑 javascript 文件时存在一些性能问题,如果 js 脚本行数超过一定数量,例如 500,则滚动文件或移动光标会卡住。应该不是,因为硬件问题,500 行也不是很大。当我编辑一个大文件时,有什么办法可以让 Atom 顺利地 运行 吗?谢谢,
您是否考虑过您的机器速度可能很慢的可能性?
我知道这并不能直接解决您的问题,但如果您不局限于 Atom,您可以尝试使用其他文本编辑器。我个人推荐Visual Studio代码。看看:
正如您在 this article 中看到的那样,这是 Atom 的一个持续问题,目前正在由团队处理。我不认为这与计算机性能有任何关系。
我目前 运行 一台 i7 机器,当打开大型(通常是缩小的)文件时,编辑器会 运行 非常慢,在某些情况下,甚至会完全崩溃。
希望我们能尽快看到解决方案。
最后发现问题是因为一个插件——linter-jscs,500行不算多,禁用这个插件后,编辑就可以了。
虽然您已经发布了解决方案,但可能值得考虑使用 Timecop, which displays information about where time is spent while Atom loads. You can also check similar information in the Settings > Packages
view, which will list how much time each installed package will add to the startup time (see the Flight Manual section on packages) 等软件包。