News for hackers. Stuff that matters.
Re:Atom text editor 1.7.0 released by galistoca on Wednesday April 13, 2016 @08:31PM (#11493493)
It's alright for small files, but whenever I paste in a huge csv or json file it hangs for minutes. And I use pretty recent macbook pro with high specs. This doesn't happen with other editors.
Re:Atom text editor 1.7.0 released by santaclaus on Wednesday April 13, 2016 @08:35PM (#11493511)
I've found that when pasting in huge files, disabling syntax highlighting makes a big difference. In fact, if you simply open a sufficiently large (I haven't bothered bisecting the size, but a few megs works) xml file, Atom will disable syntax highlighting by default and the performance will be slow but still usable. If you paste in the contents of a large xml file, syntax highlighting is not disabled and the editor either hangs or crashes, in my experience.
Re:Atom text editor 1.7.0 released by jorangreef on Thursday April 14, 2016 @05:18AM (#11495245)
Atom should automatically disable syntax highlighting for large files.
Re:Atom text editor 1.7.0 released by agumonkey on Wednesday April 13, 2016 @10:24PM (#11493920)
Reminds me of old emacs' tricks.
Re:Atom text editor 1.7.0 released by swah on Thursday April 14, 2016 @06:44AM (#11495539)
For the gaudiest possible look, then, include the line

(setq font-lock-maximum-decoration t)

Re:Atom text editor 1.7.0 released by dzhiurgis on Wednesday April 13, 2016 @10:44PM (#11493984)
Same here, I only get issues after around 100MB.

Most editors start to struggle at such file sizes, which is a shame, but try loading 100mb into Excel. The only editor I found to work nearly instantly is vi; nano takes almost a minute to load large files.

Re:Atom text editor 1.7.0 released by nindalf on Thursday April 14, 2016 @12:53AM (#11494376)
Latest Macbook here, opening files up to 10MB is fine but saving after making any change, even a minor one will cause Atom to hang for a few minutes. In contrast, Sublime has no issues. To be fair to Atom, it has no issues with actual code files in any language; it only struggles with log files and csv dumps. This limitation means I use Atom for most things and Sublime for the heavy files.
Re:Atom text editor 1.7.0 released by jon-wood on Thursday April 14, 2016 @06:32AM (#11495490)
Even vi is going to bog down on a file that size if you leave syntax highlighting turned on.