News for hackers. Stuff that matters.
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @07:57AM (#19377781)
I used Sublime for over a couple years. At the time it was the greatest editor I had ever used. But to get "basic" features (that come default with VScode) required plugins.

And then plugins would conflict sometimes, but there were no answers online to why something wouldn't work because the problems were obscure and rare.

Also, there was some simple copy/paste problems (limitations?) on Linux as well.

I liked it so much that I dealt with all of these issues from nearly day one without complaint. I had tried VScode, and at the time Sublime was just faster smoother and all around more polished.

But I tried VScode about a month or two ago, and it came default with features that I had to use a few plugins (with overlapping and conflicting features) with Sublime.

I was actually sad to switch to VScode, simply out of principle. But VScode is built how I would expect an editor to work by default, where Sublime, as fast as it is, lost some zip after a few too many plugins, and actually has fewer features (that I really require/use frequently) than VScode does.

Also, vscode greatly simplified settings, snippets and other text based settings that I think Sublime could take note of.

Edit: Another note, because VScode comes default with many features, the keyboard shortcuts seem a little more consistent.

I hope Sublime steps up their game, as I think VScode is standing on their shoulders, and competition is good.

Re:Sublime Text 3.2 Released by Philipp__ on Wednesday March 13, 2019 @08:22AM (#19377903)
Now try and open up Sublime after some time spent in VSCode. You will see what I am talking about, yeah go and try scroll that Side bar, scroll editor, enter some text fast, scroll fast the minimap. Everything is very smooth! I mean I get it, if you want rich plugins and all that fancy stuff go down the Atom/VSCode way. Even though I was using Emacs and Vim for the biggest part of my development time, I always had Sublime somewhere in there, I use editor just as an editor. Some nice light git integration, fast file searching and fast and correct code navigation is all I need that goes out of the $EDITOR scope. I have all of that with Sublime and it works reliably and flawlessly.
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @08:42AM (#19378013)
I agree, for a basic editor Sublime is faster, generally speaking. (ie, open, navigate, search, etc...)

But while actually coding, I can't tell a difference, and in some cases VScode is faster than Sublime. (in my experience)

But faster doesn't help me when code complete doesn't work correctly on one file for no explainable reason. (and the myriad of other "small" bugs that wore on me...)

Re:Sublime Text 3.2 Released by Wohlf on Wednesday March 13, 2019 @09:49AM (#19378548)
For me personally, VSCode doesn't compete with Sublime. Sublime is my primary text editor with some advanced features for convenience. VSCode is a replacement for all of the IDEs I don't want to install or launch right now.
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @11:26AM (#19379594)
If all I needed was a great text editor, I would use Sublime. It's everything I want in an editor.

But, for web development, I feel like a second or third class citizen using Sublime. Maybe that is the separating line between these two apps?

Re:Sublime Text 3.2 Released by bishala on Thursday March 14, 2019 @01:03AM (#19386635)
Agree with you. VSCode used to be somewhat slower about a year back but not anymore. Yes it uses more RAM than Sublime but for anyone with a decent computer, that is not a concern. The productivity boost with VSCode is much better than with Sublime. Especially for Javascript, there is not even a contest.
Re:Sublime Text 3.2 Released by anonymousab on Wednesday March 13, 2019 @09:20PM (#19385687)
On OSX, Sublime Text 2 and 3 never felt much faster than VSCode to me. Small and medium sized files were snappy enough for me not to notice, and they both choked hard on larger (multi-GB or many millions/billions/etc. of lines) files.

Could have been a plugin not scaling, but I didn't care to experiment and find out for sure.

Sublime seems clearly faster on Windows 10 for me though.

Re:Sublime Text 3.2 Released by glenneroo on Wednesday March 13, 2019 @09:55AM (#19378595)
Also maybe worth mentioning that Sublime costs $80 as opposed to VSCode, Emacs and Vim being free... of course any working developer/shop should be able to afford that if the editor experience truly is (forgive the pun) sublime.

I tried Sublime Text a couple years ago.. and gave up with trying to get all the plugins I needed up and running, on the other hand, I really hate using Visual Studio or VSCode, I constantly run into annoying bugs, crashes, and incompatibility issues with plugins. I have to restart Visual Studio 2017 at least thrice daily to get around minor things like "build project" no longer running fully. Perhaps its just Nostalgia speaking, but I almost miss the days of Visual C++ 6 (using Visual Assist)... it may have lacked features, but at least it never crashed.

Re:Sublime Text 3.2 Released by Bwonsamdi on Wednesday March 13, 2019 @10:12AM (#19378761)
I am a lurker and don't have a account or comment on Hacker News.

Sublime is created by a small software shop and they need money to run the shop while Microsoft is a multi-billion dollar company. Microsoft can afford to give away free software for some goodwill from developers.

Its kinda a unfair comparison.

Re:Sublime Text 3.2 Released by jpeeler on Wednesday March 13, 2019 @12:41PM (#19380488)
It is unfair. However, unless you have a principle of ignoring freely (free as in beer and code in this case) released software from bigger companies it's a comparison that will be made.

PS - I understand what you're saying, but I thought it was funny you claimed you don't have an account on a website that requires registration for commenting. Welcome to HN!

Re:Sublime Text 3.2 Released by Philipp__ on Thursday March 14, 2019 @11:48AM (#19390319)
I hope that you are aware that VSCode is not free software.
Re:Sublime Text 3.2 Released by jpeeler on Thursday March 14, 2019 @11:54AM (#19390387)
Correct me if I'm wrong, but I think you're confusing the release binaries with the source?

https://github.com/VSCodium/vscodium#why

Re:Sublime Text 3.2 Released by bishala on Thursday March 14, 2019 @01:05AM (#19386640)
99% of the end users only care about the product, not how the developers are making ends meet.
Re:Sublime Text 3.2 Released by blackfawn on Wednesday March 13, 2019 @11:25AM (#19379592)
I can appreciate their need to charge but the $80 for personal use is rather prohibitive. It is a bit odd they differentiate a personal and business license yet charge the same for both. I'd buy a copy for personal use if it was more reasonable since I do like how it works but I just stick to xed for simple editing and IDEs like vscode for more in-depth work instead.
Re:Sublime Text 3.2 Released by Veen on Wednesday March 13, 2019 @11:49AM (#19379846)
$80 is a lot for personal use, but how many personal users actually pay it? It's not difficult to ignore the occasional nag message, so people who can't or don't want to pay aren't forced to.
Re:Sublime Text 3.2 Released by helij on Wednesday March 13, 2019 @05:26PM (#19384017)
That just looks a lot for personal use. I know people who click on a message and spend that kind of money each month for coffee during lunch break.

For me personally, that price is nothing. I would pay twice as much and each employer had to buy it if they wanted me happy in text editor regard.

Re:Sublime Text 3.2 Released by ethelward on Wednesday March 13, 2019 @12:07PM (#19380047)
Is $80 that much for something that you use oh so often?

It's roughly one week of food where I live; so not free, but something I would afford if it brought a net improvement to my work.

Re:Sublime Text 3.2 Released by blackfawn on Wednesday March 13, 2019 @12:52PM (#19380641)
To be honest... yes, it is rather much. You are in the price range of full fledged IDEs, whole operating systems, and office suites just for a text editor, even though it is quite a good one. As the sibling comment mentioned, I'm sure many personal users just use the unregistered version to the point that they'd probably make quite a bit of extra revenue if they offered a more attractive price point for those users.

On a separate note, a friend described their backwards approach of validating licenses on every launch of their app, which creates a de facto 'telemetry' system since license hash is submitted to their servers and they obviously have access to other info such as IP.

So even though I quite like the software, I've discontinued use due to the high cost and also due to the inability to opt out of external communications that'd allow them to keep tabs on you and your usage. To be fair, I was not keen on Microsoft's telemetry in vscode but that can be disabled and even better, vscodium removes it completely.

Re:Sublime Text 3.2 Released by guessmyname on Wednesday March 13, 2019 @02:15PM (#19381683)
> I've discontinued use due to the high cost […]

I’ve given away 30+ SublimeText licenses in the last 5 years, mostly to students.

If you cannot afford paying $80 for a license, ping me via email and I’ll buy one for you.

My email is 0x636978746f7264732f61742f676d61696c I’m looking forward to talk with you.

Re:Sublime Text 3.2 Released by nicoburns on Wednesday March 13, 2019 @03:31PM (#19382672)
Hex encoding your email address is genius. Don't think many spammers will be picking that one up!
Re:Sublime Text 3.2 Released by mises on Monday March 25, 2019 @09:54PM (#19488619)
I didn't believe he was serious, but he is. He actually delivered.
Re:Sublime Text 3.2 Released by blackfawn on Wednesday March 13, 2019 @03:46PM (#19382894)
That is quite generous but I don't know that it'd sit well having someone else pay for me for what I consider too much to use. I suppose it's all just my principles since I could just use it in an unregistered state as many personal users likely do. I like supporting software like this... I just can't justify the cost, particularly since it's just for my own use.
Re:Sublime Text 3.2 Released by florin_g on Wednesday March 13, 2019 @07:51PM (#19385187)
I've requested a license and received one within minutes. There's nothing more honorable than keeping your word! Awesome and thanks!
Re:Sublime Text 3.2 Released by nodesocket on Wednesday March 13, 2019 @08:35PM (#19385434)
I have been wanting to buy a license to get rid of the license nag pop up, but wasn’t sure if development was ongoing since it had been quite a while since the last release. Also, I figured Sublime Text 4 might be coming down the pipeline soon.

If I buy a license, does that cover potentially upgrading to the next major version? If not, is there a roadmap for version 3?

Re:Sublime Text 3.2 Released by awran5 on Saturday March 16, 2019 @05:17AM (#19407031)
You are a Genius and Honest, Thank you man :)
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @12:24PM (#19380246)
I think $80 is very reasonable for a great tool like Sublime (for work) if it suits your needs.
Re:Sublime Text 3.2 Released by zerr on Wednesday March 13, 2019 @03:43PM (#19382852)
It's more than a monthly salary in many places.
Re:Sublime Text 3.2 Released by jimjimjim on Wednesday March 13, 2019 @04:54PM (#19383641)
A $5 coffee is more than a monthly salary if you pick the right places.
Re:Sublime Text 3.2 Released by mobilemidget on Wednesday March 13, 2019 @10:26PM (#19386040)
One of my previous employers, millioniar (in euros), was too cheap to buy a license... Myself, 1/10000 of a millionaire bought several licenses, one for myself and a few for internet coding friends

Expensive is very much subjective

Re:Sublime Text 3.2 Released by geodel on Wednesday March 13, 2019 @04:11PM (#19383225)
Monthly salary of software developer?
Re:Sublime Text 3.2 Released by zerr on Wednesday March 13, 2019 @04:45PM (#19383557)
I meant in general. Just to highlight that there are different perspectives of what that amount really means to some people.
Re:Sublime Text 3.2 Released by rajangdavis on Wednesday March 13, 2019 @04:53PM (#19383637)
If you think $80 dollars is too much for a tool that you can expect to use for 5+ years without issues (I'm at 5 years with Sublime currently), I don't know what to tell you. If you work a trade, you should expect to invest in high quality tools (a laptop, maybe a second monitor, etc.).

Granted, if I knew how to as productive as I am with Sublime Text with Vim or Emacs, I would switch over in a heart beat.

Re:Sublime Text 3.2 Released by frosted-flakes on Thursday March 14, 2019 @12:12AM (#19386475)
He didn't say it was too much, only that it was more than other comparable editors. If all else is equal, why wouldn't you take the cheaper option?
Re:Sublime Text 3.2 Released by rajangdavis on Thursday March 14, 2019 @01:34AM (#19386744)
Vim and Emacs may work for GP's workflow, but I can't say the same for me (at this time). In that context, I would say that cheaper doesn't always mean better (I prefer to be productive than bill for learning new tools unless that is part of the project).

I tried working with Vim exclusively when I started my job ~2 years ago, and my terminal would hang quite often that I had to abandon it (I use ConEmu which is free, but hangs quite often).

I also work on a Windows machine and do not want to use the windows command line, I prefer git-bash/mingw32.

Re:Sublime Text 3.2 Released by nickjj on Thursday March 14, 2019 @08:06AM (#19388441)
I'm currently using Windows with WSL + wsltty + tmux + terminal vim with no issues.

Things are really fast and stable. I often have 10 Vim instances open across half a dozen tmux sessions. Each one takes up about 8mb of RAM with ~40 plugins doing everything I could ever ask for in a code editor. The only time they get closed is when Windows decides to reboot but then I can automatically restore the tmux sessions with 1 hot key.

I switched to Vim last month after I found VSCode to be unusable for editing a 1mb a markdown file (it used over 50% of my i5 3.2ghz quadcore just idling with the file open). I wrote about the experience at https://nickjanetakis.com/blog/vim-is-saving-me-hours-of-wor....

Haven't looked back since.

Re:Sublime Text 3.2 Released by rajangdavis on Friday March 15, 2019 @06:29AM (#19398333)
I have an i3 so I might not have as awesome experience as you may have... had to optimize for longer battery life because I was traveling a fair bit at the time of purchase.

I'm looking to change jobs, so hopefully when I end up somewhere new, I can get a new laptop and try to start with vim. After reading @frosted-flakes comment, I was messing around a bit with vim yesterday, but went back to Sublime because of familiarity with commands for navigating through files.

I'll get to vim one day, just happy with where I am at now.

Was reading through your article and noticed your comment about managing windows in Windows. Did you try using the windows key + left (or any of the other directions)?

Here's a video of that: https://www.youtube.com/watch?v=fxerpQ8WK8Y

Re:Sublime Text 3.2 Released by nickjj on Friday March 15, 2019 @08:53AM (#19399198)
I'm on an i5 3.2ghz from around 5 years ago but most slowdown issues with WSL will be I/O bound, not CPU (unless you happen to be compiling code a lot).

Yeah I use the window key + arrow key shortcuts a lot but it's not the same as a dedicated window manager. Thanks though.

Re:Sublime Text 3.2 Released by weew1211 on Wednesday March 13, 2019 @09:00AM (#19378132)
I originally used subl, then switched for vscode for 3 years or so, and have now switched back to subl. I switched back to subl mainly because I downgraded my system from 16GB RAM to 8GB (switched from 2017 mbp to a 2015 carbon X1) and vscode had too large a memory footprint to use.

subl is notably faster, its also a very well rounded editor with a tiny memory footprint...

But I also have the issue that the plugin support is abysmal, that sane defaults are non-existent and it takes a long time to get things to work well with a very popular web techstack like React, Styled Components, eslint. Even now there are times when the syntax highlighting is wrong.

It would do subl a great service if they improved the package management and created a number of officially supported packages for popular techstacks that allow people to simply (ideally) 1 click configure the editor.

I shouldn't have to read a 15 minute Medium tutorial on how to configure eslint, IMO that is ridiculous.

Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @09:21AM (#19378309)
I really like your idea about officially supported packages, but also to group them together for popular techstacks.

This was exactly the same problem I had. There were so many options that just didn't work well that I wasted tons of time trying out every plugin I could find to solve my problems.

And I still didn't fully solve it, I just gave up and lived with annoyances.

Edit: I perceive VScode partially solved this problem with the download count/voting on extensions.

Re:Sublime Text 3.2 Released by pwenzel on Wednesday March 13, 2019 @10:33AM (#19379010)
I use Sublime Text for Vue.js projects because ESLint support was so smooth! (just installed SublimeLinter-eslint) Sorry to hear you had trouble with it.
Re:Sublime Text 3.2 Released by jgalt212 on Wednesday March 13, 2019 @09:32AM (#19378401)
Interesting, as I was thinking about going back to Sublime after being frustrated by the Python Language Server eating RAM like a Gremlin after midnight.

https://github.com/Microsoft/vscode-python/issues/2594

https://github.com/Microsoft/python-language-server/issues/4...

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

https://github.com/Microsoft/vscode-python/issues/2553

Re:Sublime Text 3.2 Released by _bxg1 on Wednesday March 13, 2019 @09:50AM (#19378555)
I had the same experience, but from Atom to VSCode. There was an even more direct "standing on shoulders" effect there. I didn't want to switch to the huge corporation that just copied the project with the actual original idea. But VSCode is just so... designed. Everything just works, and brilliantly. I don't understand how they got an Electron app to be so fast.

Say what you will about Microsoft, they sure know how to make IDEs.

Re:Sublime Text 3.2 Released by _coveredInBees on Wednesday March 13, 2019 @10:17AM (#19378810)
I used Atom for a while, and I recall regular instances of the entire IDE freezing for 10+ seconds for no good reason when I had a few files open. At the time (and to some extend even today), everyone just chalked this up to "Electron is terrible". But MS came along with VSCode to show how a lot of the "issues" with Electron were actually just issues surrounding bad code / software design that were bogging down apps.

Like you, I felt a bit sad to switch from Atom, but the difference in quality was massive. I guess that's the difference between having a bunch of smart people who have developed enterprise software for a while working on an Electron App, vs. younger, equally smart folks working on an app without that wealth of experience to draw on for developing a complex application.

Re:Sublime Text 3.2 Released by tomaspollak on Wednesday March 13, 2019 @09:02AM (#19378150)
If I may ask, what specific VSCode features are you referring to?

I'm eager to know because I'm working on an editor for Chrome OS (based on the Monaco editor from VSCode) and would love to know whether they are part of Monaco or extras that only ship with VSCode.

If anyone's interested, here's the (very recent) announcement post: https://www.reddit.com/r/chromeos/comments/ax8pi3/archetype_...

Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @09:16AM (#19378259)
Here's a few things: (without effort put into this...)

1. Package management / Extensions. Vscode comes with this right away, Sublime you have to install a package manager to manage packages...-sigh-

2. File icons. (this may seem dumb, but man it should be a simple thing to have defaults for...)

3. Git integration (though seems they may have caught up on this?)

These are just off the top of my head...

Edit: spelling

Re:Sublime Text 3.2 Released by guessmyname on Wednesday March 13, 2019 @02:17PM (#19381713)
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @02:25PM (#19381804)
Yep, I found every plugin I ever needed for Sublime. But then the minor conflicts between the plugins start happening.

Of which the only support answers online are "uninstall plugin/test". So I had to choose which plugins to keep for certain features/functions. It was too messy.

Sometimes I couldn't tell if it was the base features of Sublime that were conflicting with a plugin, or two plugins conflicting...

The seemingly unfixable bugs from plugins are what pushed me towards VScode. Where even if there are plugins/extensions, I need fewer of them, so less likely to have conflicts.

Re:Sublime Text 3.2 Released by tomaspollak on Wednesday March 13, 2019 @09:18AM (#19378279)
Got it! Thanks.
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @09:24AM (#19378328)
Some other ones are code completion, indentation stuff, etc...
Re:Sublime Text 3.2 Released by skiman10 on Wednesday March 13, 2019 @10:22AM (#19378871)
Hey!

I've been playing with Archetype recently in conjunction with VS Code and I have to say, you've been doing a great job!

Keep it up my dude!

Re:Sublime Text 3.2 Released by tomaspollak on Wednesday March 13, 2019 @11:51AM (#19379865)
Thank you kind sir! A new release should be up soon.
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @11:59AM (#19379961)
fyi, we have a name collision of sort with our projects. :)

https://www.archetypewebsites.com/

Shouldn't cause any issues, just thought you'd want to know. Cheers!

Re:Sublime Text 3.2 Released by tomaspollak on Wednesday March 13, 2019 @12:15PM (#19380134)
Yikes! If it helps, mine is just a side-project, nothing serious. Yours looks great by the way. :)
Re:Sublime Text 3.2 Released by Vanderson on Wednesday March 13, 2019 @12:20PM (#19380194)
It's not a problem at all, can't claim a name really can we. :)

I currently use Codemirror [0] as the online editor, but when editing online, I do miss a lot of the tools available in VScode.

Do you have an opinion of Monaco vs Codemirror? (I think codemirror is used internally for some Firefox dev tools...)

[0] https://codemirror.net/

Re:Sublime Text 3.2 Released by drinchev on Wednesday March 13, 2019 @01:32PM (#19381163)
I use webstorm and yeah this doesn’t contradict with having sublime text installed. When I want to read a large file sublime rocks, but for actual meta developing you need to spend time configuring it.

Gladly it’s not like you can’t have them both so there’s not an actual choice problem here. Just use whatever you want for the right job.

Re:Sublime Text 3.2 Released by geraltofrivia on Thursday March 14, 2019 @02:21AM (#19386889)
Similar story here. Used to write my python codes in subl till I finally jumped ship to PyCharm.

But I didn't stop using Sublime. I set a keyboard shortcut to launch it, and thankfully it doesn't open multiple instances if already running but pops up on foreground. And now it's my scratchpad, a temporary clipboard, a distraction free zippy screen where I compose my messages before mailing them. And its probably my most used application, lately.

Re:Sublime Text 3.2 Released by mstade on Thursday March 14, 2019 @06:54PM (#19394712)
I really don't understand what all these fancy features are that are so necessary. I use a stock sublime install, with a couple of syntax plugins and the material theme because I think it looks pleasing. That's it. It's super snappy, and whenever I need to jot something down I just type `subl` in a terminal and hey presto, there's a window. I have notes that I've never saved to a file, but that have been open in a sublime buffer for probably well over a year now. Sublime has crashed. My computer has crashed. I've rebooted the thing multiple times. No matter what, these buffers stick around, and it's a complete life saver. It's so good, that I just know if I've opened up a sublime window and typed something in a buffer, it's probably gonna survive longer than I will.

That's worth the price of admission alone. Several times over. I've never been this pleased with an editor, ever.

I don't need fancy refactoring tools. Find across files has done wonders for me, and when I need to get real fancy I break out the regex. Ctrl+d to duplicate my selection; multiple cursors; these two alone cover probably a good 99% of my refactoring needs. I used to like having an IDE where I could click an icon and it would build things for me, now I can't stand one. I just set up a file watcher in a terminal in the background and it rebuilds whenever some stuff changes. I use Makefiles or redo or even just a simple shell script whenever I need something fancy with dependency management. I've not missed fancy build integration since forever. Whenever I need to debug something, gdb or in-browser dev tools or whatever is suitable for the context I'm in will do more than fine, I don't need an integrated window in my editor.

I appreciate that sublime is just a bunch of tabs of text buffers, a simple file browser, can handle ridiculously large files with ease, doesn't consume much resources, and is stable as a rock. I've found I don't need anything else. It's like what I imagine my cool friends who use vim think of their editors, only I'm too stupid to really "get" them. It's ok. Sublime is my Fisher Price version of vim I guess, but I love it to bits. It's paid for itself many, many times over at this point.

Re:Sublime Text 3.2 Released by mstade on Thursday March 14, 2019 @07:05PM (#19394787)
Some other things I do with sublime that might be quirky:

- My font size is 22 or 24 points. Not because I'm blind, but because it forces me to not type lines too long, or files too big. It keeps my code concise and to the point. Also the font I use (Menlo) is lovely and I just like looking at it sometimes.

- My lines wrap at 76 characters. Basta.

- I'll have multiple windows of sublime open for weeks, months sometimes. Half the time I don't even know what windows or buffers I have open. I just did a "clean up" and closed about 10 of them. It was like a trip down memory lane of the last year. Most of these windows had buffers I had never saved – not even once.

- Aside from a bats syntax plugin, and the material theme, I have no plugins. Unless you count the package installer I guess.

- Sublime is my editor for git commit messages. I love it.

- Most of the time when I need to write something long form, a long email, an article, anything really, I'll do it in sublime first and then copy into a word processor for layout and other things. If I need to update things, the sublime version is the source of truth, and I'll just copy/paste into Pages or whatever I'm using at the time for layout/design.

- Not gonna lie, sometimes I think about writing a plugin for sublime to use it as my email client. I think it'd be wonderful.

- Sometimes I just open up a new sublime window and start typing random stuff; a short story, some thoughts, or just random words. It's like therapy in a way. I never save these buffers, or at least very rarely.

Sublime is the single most valuable piece of software I own, and I'm very glad to have paid the price of admission.