News for hackers. Stuff that matters.
Re:Sublime Text 3.2 Released by rygxqpbsngav on Wednesday March 13, 2019 @07:36AM (#19377689)
Tried it once or twice. But using VS Code (with Git lens extension) predominantly these days. Couldn't find anything VS Code can't do that Sublime can.
Re:Sublime Text 3.2 Released by matmg on Wednesday March 13, 2019 @08:08AM (#19377822)
Sublime doesn't take half a minute to start in a non-ssd hard disk.

Sublime feels more lightweight and doesn't have as much lag when typing as VS Code.

Re:Sublime Text 3.2 Released by bluedino on Wednesday March 13, 2019 @08:13AM (#19377860)
Not to mention the battery drain of VS/Atom
Re:Sublime Text 3.2 Released by zenexer on Wednesday March 13, 2019 @08:56AM (#19378098)
That's definitely a big one for me. Sublime barely uses any battery, but VS Code gobbles it.
Re:Sublime Text 3.2 Released by zenexer on Wednesday March 13, 2019 @07:47AM (#19377728)
VS Code can't handle very large files (multi-GiB), but Sublime can.
Re:Sublime Text 3.2 Released by zamadatix on Wednesday March 13, 2019 @07:52AM (#19377754)
Does anybody know of a decent benchmark on editor latency? I swear Sublime feels more responsive vs VS code but that could just be in my head.
Re:Sublime Text 3.2 Released by azeirah on Wednesday March 13, 2019 @08:30AM (#19377945)
There is a great benchmark somewhere on Github, it measures 5-ish metrics, like key->rendered latency, time to load 100MB file, and stuff like that.

Apparently, the Joe editor was the fastest, and Sublime has basically first or second place for most metrics.

Atom crashed for a few metrics :P

I don't know if I could find it for you... but it's out there somewhere, maybe someone here has it bookmarked.

Re:Sublime Text 3.2 Released by govg on Wednesday March 13, 2019 @09:36AM (#19378439)
Re:Sublime Text 3.2 Released by dmit on Wednesday March 13, 2019 @09:59AM (#19378646)
For pure typing latency, here's a fairly rigorous one from three years ago: https://pavelfatin.com/typing-with-pleasure/

It doesn't include VS Code, but it does describe the benchmarking process and the provided tool is simple to use.

On my current setup, VS Code 1.32.1 is ~5ms slower than Sublime Text 3.2: 16.2ms vs 10.8ms respectively.

Re:Sublime Text 3.2 Released by guessmyname on Wednesday March 13, 2019 @02:20PM (#19381738)
Re:Sublime Text 3.2 Released by Strom on Wednesday March 13, 2019 @09:37AM (#19378454)
There's one from 2017, but it's probably not too accurate for things like VSCode anymore. https://news.ycombinator.com/item?id=13933128
Re:Sublime Text 3.2 Released by h1d on Wednesday March 13, 2019 @08:02AM (#19377807)
Is that all? I can swear I'll never encounter such a huge text file as a programmer.

There are other ways to interact with those than open up in an editor.

Re:Sublime Text 3.2 Released by rovr138 on Wednesday March 13, 2019 @08:05AM (#19377813)
As someone else’s anecdote, I have. Log files can easily grow, database exports as well.
Re:Sublime Text 3.2 Released by syspec on Wednesday March 13, 2019 @08:17AM (#19377878)
I use sublime as a text editor for such files, but other IDEs (in my case webstorm) for everything editing project code
Re:Sublime Text 3.2 Released by h1d on Wednesday March 13, 2019 @08:20AM (#19377890)
Either you should split the files when exporting (split database schema from data and for each table or by date etc for logs) or grep to filter out than open up GB size in an editor as you'll have problem navigating anyway. You don't want to use 'find' inside the editor for that kind of size.
Re:Sublime Text 3.2 Released by zenexer on Wednesday March 13, 2019 @08:54AM (#19378086)
Or you can use Sublime, where it's not an issue. Find works just fine on large files.
Re:Sublime Text 3.2 Released by kristofferR on Wednesday March 13, 2019 @09:24AM (#19378327)
Multiple windows... VS Code is still abhorrent on multi-display setups.

https://github.com/Microsoft/vscode/issues/10121

Re:Sublime Text 3.2 Released by protomyth on Wednesday March 13, 2019 @07:49AM (#19377740)
Keyboard macros are my sticking point. VS Code doesn’t go them easily.