You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Files with large extremely long lines cause hangs #979
May be a known issue, but files with large embedded images such as github's public/enterprise/maintenance.html will often cause Atom to freeze (MacVim actually struggles as well).
Seems some of them (github's public/maintenance.html for instance) work fine when in soft wrap mode, or until you move your cursor to the long line when out of soft wrap.
Ran in to it freezing upon trying to open public/enterprise/maintenance.html with a master build this morning. May be a different problem there though. Won't even open.
@bnferguson Is this freezing when you open public/enterprise/maintenance.html. If so, could you download screenhero so I can try and debug it on your machine (at your convenience)
Yup! Still an issue. Just had it lock up in a fresh master build. Downloading screen hero. Later this afternoon or sometime next week should work fine for me.
Another report via support/612cacb6b6fa11e384554e10b2ee9be5
Opening files are really really slow in 0.79.0. It freezes the whole UI while trying to open the file.
...
I think I have narrowed it down to what is causing it exactly. It appears to happen on files with a really really long line. I have attached a .js file that constantly causes the issue. I believe it is the one line length issue, because I have other compressed .min.js files that cause the same issue because they are all on one line.
The editor still lags when opening large js files, large minified files etc.
It's a very small file ~130 KB. (See file attached) Although when i open it for the first time after boot, it takes around ~2s to load, which actually is not giving me any issue but as i am used to Sublime Text, which is far more speedy in this regard to make the comparison.
I just tried playing with minified jQuery and this is the behavior I observed:
when soft wrap is turned off, navigating long lines is very slow (e.g. it takes a few seconds from when I click somewhere within a line to when the cursor shows up)
when soft wrap is turned on, navigating is fast, but editing long lines is still noticeably slow (e.g. it takes a second from when I press backspace to when a character is deleted)
I didn't notice any abnormal slowness when opening the file
Same here. I had the issue when editing CSS attributes that had a data encoded image in them. Very long lines. Removing them put everything back to normal.
I hope this is fixed soon. I pretty much can't edit HTML files on GitHub. On slow computers, it freezes me for 5 seconds every time I type a character. On my MBA, it freezes when I type a few characters I type, and then I have to close the browser. Is there a way to change atom into a raw text editor?
Soft wrap or not, this issue has been dancing around for two years. I'm going to try and profile it and make a pull request (I've never seen a single line of Atom code... shouldn't this be at the top of the list?)
I'm already switched to Notepad++ . Didn't see much progression for this commonly required fix. Kinda dissappointed.
Thanks afterall for the Effort of building this editor.
I'm already switched to Notepad++ . Didn't see much progression for this
commonly required fix. Kinda dissappointed.
Thanks afterall for the Effort of building this editor.
—
Reply to this email directly or view it on GitHub #979 (comment).
I'm locking this thread for the time being — there's no value in notifying 35+ people about switching to another editor. Yes, this is definitely something that should be addressed (and it has to a certain extent), and is being worked on indirectly even though it might not be apparent. Increasing the performance of Atom is one of the top priorities.
Activity
mcolyer commentedon Oct 21, 2013
This should be fixed in the v32 release now that #1001 is merged.
bnferguson commentedon Oct 22, 2013
Ran in to it freezing upon trying to open
public/enterprise/maintenance.htmlwith a master build this morning. May be a different problem there though. Won't even open.probablycorey commentedon Oct 22, 2013
Can you tell me the sha you see under the Atom menu (like in the picture above)
bnferguson commentedon Oct 22, 2013
Yup! 4132cdd
bnferguson commentedon Oct 22, 2013
(I rebuilt and tried it again in case I missed a commit, thus the really new sha)
probablycorey commentedon Oct 29, 2013
@bnferguson Is this freezing when you open
public/enterprise/maintenance.html. If so, could you download screenhero so I can try and debug it on your machine (at your convenience)bnferguson commentedon Nov 1, 2013
Yup! Still an issue. Just had it lock up in a fresh master build. Downloading screen hero. Later this afternoon or sometime next week should work fine for me.
izuzak commentedon Mar 31, 2014
Another report via support/612cacb6b6fa11e384554e10b2ee9be5
izuzak commentedon Apr 20, 2014
via support/90240870c84811e39e74c419500d2fe2
I just tried playing with minified jQuery and this is the behavior I observed:
BrandonDusseau commentedon Jun 5, 2014
This issue still exists in 0.100.0. I'm getting a hang on a minified CSS file that consists of only one line with over 237,000 characters.
garand commentedon Jun 5, 2014
Same here. I had the issue when editing CSS attributes that had a data encoded image in them. Very long lines. Removing them put everything back to normal.
55 remaining items
CrazyPython commentedon Oct 6, 2015
@derwaldgeist I'd prefer having no listing than having to kill my entire browser... (with not-exactly-restorable data)
skyrpex commentedon Oct 6, 2015
👍 for no linting in this case
CrazyPython commentedon Oct 8, 2015
I think there should be a disable lint functionality in web Atom; or perhaps a persistent setting in HTML5 web storage.
maxbrunsfeld commentedon Oct 8, 2015
I don't think 'linting' has anything to do with this. Atom does not provide linting; it is provided by a third party package: https://github.com/atomlinter/linter. If you want to disable syntax highlighting, select
Plain Textfrom the Grammar Selector.CrazyPython commentedon Oct 14, 2015
I hope this is fixed soon. I pretty much can't edit HTML files on GitHub. On slow computers, it freezes me for 5 seconds every time I type a character. On my MBA, it freezes when I type a few characters I type, and then I have to close the browser. Is there a way to change atom into a raw text editor?
Soft wrap or not, this issue has been dancing around for two years. I'm going to try and profile it and make a pull request (I've never seen a single line of Atom code... shouldn't this be at the top of the list?)
yihaa5 commentedon Oct 26, 2015
I'm already switched to Notepad++ . Didn't see much progression for this commonly required fix. Kinda dissappointed.
Thanks afterall for the Effort of building this editor.
skyrpex commentedon Oct 26, 2015
I hate to recognize it, but I switched back to Sublime Text again...
On Mon, 26 Oct 2015 at 13:55 yihaa5 [email protected] wrote:
shanalikhan commentedon Oct 26, 2015
Well i have switched to visual studio code ! Already
Thanks developers afterall for atom !
thomasjo commentedon Oct 26, 2015
I'm locking this thread for the time being — there's no value in notifying 35+ people about switching to another editor. Yes, this is definitely something that should be addressed (and it has to a certain extent), and is being worked on indirectly even though it might not be apparent. Increasing the performance of Atom is one of the top priorities.
winstliu commentedon Feb 15, 2017
Atom should be able to open files with very large lines starting with Atom 1.16.0.
maxbrunsfeld commentedon Feb 17, 2017
We decided to back-port this fix to the current beta release, so it's available today in Atom 1.15.0-beta3.