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
I have a large do file that is 12,000 lines long (404 KB). Atom handles the file fine if it is loaded with plain text grammar. However, enabling language-stata and selecting Stata grammar causes Atom to hang and eventually display the "Editor is not responding" message. I have no issues with shorter do files.
One practical solution is to work with smaller do files, but I currently need to use another editor in order to break files into chunks before being able to edit them in Atom.
Mac Mini 2018
macOS Version: Catolina 10.15.7
Atom Version: 1.60.0
language-stata Version: 1.7.3
The text was updated successfully, but these errors were encountered:
mnaven
changed the title
Atom
Atom Hangs with Long Do Files
Jul 20, 2022
mnaven
changed the title
Atom Hangs with Long Do Files
Atom hangs with long do files
Jul 20, 2022
I don't think there's anything actionable from language-stata. It's true the regexes are complex; a very simple grammar of the stata language might be more performant. But Atom is kinda slow and is in maintenance mode, so I don't think there will be any future work done on language-stata.
I think your only option is to not have a 12k line do file
I have a large do file that is 12,000 lines long (404 KB). Atom handles the file fine if it is loaded with plain text grammar. However, enabling language-stata and selecting Stata grammar causes Atom to hang and eventually display the "Editor is not responding" message. I have no issues with shorter do files.
One practical solution is to work with smaller do files, but I currently need to use another editor in order to break files into chunks before being able to edit them in Atom.
Mac Mini 2018
macOS Version: Catolina 10.15.7
Atom Version: 1.60.0
language-stata Version: 1.7.3
The text was updated successfully, but these errors were encountered: