3 ms·
How often do you find yourself editing a 2MB file of code? If the answer is "often", I'd strongly suggest refactoring.
by untog 12y ago
How often do you find yourself editing a 2MB file of code? If the answer is "often", I'd strongly suggest refactoring.
- cheald 12y agoI frequently find myself sifting through dozens or hundreds of megabytes worth of data. Sublime handles it just fine, FWIW.
- JohnBooty 12y agoOK! Let's refactor this 2MB file! Wait... we kind of need a text editor that can open the file, don't we?
- toong 12y agoI often use ST to analyse some log files. Do you have any other tooling suggestions besides the command line with grep/awk/... ?
- untog 12y agoNot really, no. I can't say I've ever used a text editor to search a huge log file in that way.
- ultramancool 12y agoNever code, but data, all the time. I write scrapers and such that produce MBs worth of output text. For quick hacks, large text files are great. I even drop large binaries into my text editor just to search for a string sometimes (easier than opening up a cli to strings | grep). At my job I frequently work with XML files measuring 100+MB, I didn't make that design choice, but I gotta work on it now.