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
Sublime text struggles with opening large JSON documents. I get a 40% faster 'first interactive' view of a document when I rename it to .txt. After disabling word wrapping I gain an additional 15% performance.
...
Expected behavior
Disable word wrapping and highlighting if it will have a big impact on load time. Move the highlighting task into the background and apply when ready. Don't apply word wrapping if document size impacts the users ability to resize the window.
...
Actual behavior
Sublime text opens documents with code highlighting and word wrapping enabled by default for some file extensions.
...
Steps to reproduce
Find a big json document
Open it in sublime text, measure the time.
Remove the .json extension from the filename and reopen the document. The editor will let you view the doc a lot faster
Environment
MBP.2013.
The text was updated successfully, but these errors were encountered:
If I understand right, this is a feature request, so that when ST opens large files (whereby what "large" means is defined in the user preferences, I guess), it should override the normal/syntax specific preferences (with large-file.sublime-settings, for example), which would disable word wrapping and set the syntax to Plain Text?
There's another issue open where large file support is being discussed: #358.
Summary
Sublime text struggles with opening large JSON documents. I get a 40% faster 'first interactive' view of a document when I rename it to .txt. After disabling word wrapping I gain an additional 15% performance.
...
Expected behavior
Disable word wrapping and highlighting if it will have a big impact on load time. Move the highlighting task into the background and apply when ready. Don't apply word wrapping if document size impacts the users ability to resize the window.
...
Actual behavior
Sublime text opens documents with code highlighting and word wrapping enabled by default for some file extensions.
...
Steps to reproduce
.json
extension from the filename and reopen the document. The editor will let you view the doc a lot fasterEnvironment
The text was updated successfully, but these errors were encountered: