Editing large HTML files


#1

I have some large HTML files. They are not normally viewed. I have noticed in one 3 MB file colourising disappears when I edit. This seems reasonable.

Another one is 1 MB. When I edit it, response to a keystroke takes several seconds. I presume the problem is the overhead of the colourising, perhaps re-laying out the whole file, not just the visible screenful.

Atom also keeps typing random bits of boilerplate HTML instead of my keystrokes. You might solve the problem by tuning the limit where to turn off colourising down below 1 MB.


#2

Have you followed the suggestions in the Debugging document? Also, could you give the following information?

  • Which version of Atom are you using?
  • What OS and version are you running?
  • Do you have Emmet installed?
  • Can you reproduce the issue after completely exiting Atom and restarting using atom --safe?