Live data from Hacker News

Sublime Text 4 (Build 4126)

sublimetext.com

51–60 of 110 posts

Re: Sublime Text 4 (Build 4126)

#51

Developer at Sublime HQ here, pleasant surprise to see this stable build reach the front page :) If you have any questions related to ST or otherwise feel free to ask.

My question is, how did you make it run exactly the same on all platforms (Windows, macOS, and Linux). No other cross-platform software works as seamless like this.

Re: Sublime Text 4 (Build 4126)

#52
post #36

There is only a handful of software (outside of games) that I'll shell out my own personal funds for. This is one of them. This is one of the few text editors that can handle stupid large files nicely. It 'remembers' what you have open, even if you don't save - so if the IT department does that random patch, you don't lose anything. Syntax highlighting and tool plugins, so it can make for a reasonable light weight co…

Throwing this out here since you mentioned it - does anyone else get tons of hangups and temporary frozen windows using Sublime with unsaved files? I’ve always had this on a bunch of different Macs and some Linux machines. I don’t like working around by saving either, sometimes I just want a scratchpad.

That's interesting! I'll have to try it out as most my interactions with ST revolve around saving files.

Re: Sublime Text 4 (Build 4126)

#53

Developer at Sublime HQ here, pleasant surprise to see this stable build reach the front page :) If you have any questions related to ST or otherwise feel free to ask.

Pretty sure you're the best thing to happen to ST since Will joined the team :) What's your test suite like? Whenever something is regressed in a dev build, do you try to cover it with tests? Or are the UI side of things not tested in an automated fashion? What are the plans for matching VSCode's useful features, like the one whereby all syntaxes can inject themselves into Markdown fenced code blocks etc? It'd be gre…

> Pretty sure you're the best thing to happen to ST since Will joined the team :)

Thanks, that means a lot :)

> What's your test suite like? Whenever something is regressed in a dev build, do you try to cover it with tests? Or are the UI side of things not tested in an automated fashion?

The UI toolkit as a whole and platform integrations don't have tests, but the core parts like file encodings, data structures, syntax highlighting, etc. are pretty well tested using both integration, unit and manual fuzz tests. We also make heavy use of debug asserts and asan to catch bugs during development.

> like the one whereby all syntaxes can inject themselves into Markdown fenced code blocks etc?

I can't say when, but something like this is certainly on my radar. It seems like a clear incremental improvement on the existing syntax highlighting functionality.

> It'd be great to see some better SQL syntax highlighting support - I saw a community effort on the Packages repo aiming to address this. Will there be a way to switch "active" sql dialect? Or configure it per project?

This one is a lot more tricky as there are various tradeoffs to make. It's in my backlog of things that need to be discussed with other package repository contributors.

Re: Sublime Text 4 (Build 4126)

#54

Earlier quoted context omitted.

I've meant to ask this for a while, so I'll try here. Doesn't anyone else feel overwhelmed with VS Code? I've used it off and on for years and I still don't understand the hopelessly confusing settings menu, the several json files, or the unintuitive left sidebar. Somehow it just doesn't come together in my brain. Nor the confusing choice for tab colours where the foreground tab feels background. If I want to edit co…

I’m the same way, VS Code is very hard for me to use. I quite literally don’t get what’s going on. I don’t know which is faster benchmark-wise, but I work much more efficiently in Atom and Sublime than VSC.

Same. Busy and slow, and I will never understand why it is the default these days.

Re: Sublime Text 4 (Build 4126)

#55

Earlier quoted context omitted.

Daily driving to do what type of work exactly? I've been using VS Code for years now, and while it is measurably slower (I still use sublime to handle ad-hoc grepping log files as code just won't handle that, and scrollable, highlighting and multicursor is MUCH better than smacking bash pipes together), the batteries included "It just works" approach of code means I don't really see a reason to head back. Maybe it's…

If my editor is already has batteries installed whether they were included or not, why would I need to switch to VS Code? Because it’s cool? The packages ecosystem is fine and always has been.

> Because it’s cool?

Because it works for me?

You seem to be acting like I'm an M$ shill out to convert people. In actually someone that uses both, stated my reasons for why, and enquired as to if my assumptions are based on outdated information that I may need to reevaluate in order to remain a competent developer rather than a tribalistic one such as yourself.

> The packages ecosystem is fine and always has been.

That statement is the exact same energy as "because it's cool". Every system is fucked in someway and ignoring those flaws in discussing them just belies denial or naivety.

Re: Sublime Text 4 (Build 4126)

#56
post #20

Is there any kind of remote development support (ssh, docker) in Sublime? That’s the killer feature that keeps me on VS Code.

sublime has had ssh development for many years

Not really. There is an “unmaintained” paid plug-in (unmaintained in the sense of not being updated since a year and advertising compatibility with Sublime 2 and 3 only).

Re: Sublime Text 4 (Build 4126)

#57

Developer at Sublime HQ here, pleasant surprise to see this stable build reach the front page :) If you have any questions related to ST or otherwise feel free to ask.

My question is, how did you make it run exactly the same on all platforms (Windows, macOS, and Linux). No other cross-platform software works as seamless like this.

TLDR: Blood, sweat and tears

We have our own fully custom UI toolkit with a platform abstraction layer. Since we're the only users of this toolkit we have the flexibility to quickly make sweeping changes that can go all the way from the platform, through the toolkit and to the application code. We also generally make platform integration a priority - which you can see from about ¼ of the changelog being platform-specific fixes. This would probably make a good blogpost some day :)

Re: Sublime Text 4 (Build 4126)

#58

Earlier quoted context omitted.

Daily driving to do what type of work exactly? I've been using VS Code for years now, and while it is measurably slower (I still use sublime to handle ad-hoc grepping log files as code just won't handle that, and scrollable, highlighting and multicursor is MUCH better than smacking bash pipes together), the batteries included "It just works" approach of code means I don't really see a reason to head back. Maybe it's…

I've meant to ask this for a while, so I'll try here. Doesn't anyone else feel overwhelmed with VS Code? I've used it off and on for years and I still don't understand the hopelessly confusing settings menu, the several json files, or the unintuitive left sidebar. Somehow it just doesn't come together in my brain. Nor the confusing choice for tab colours where the foreground tab feels background. If I want to edit co…

Similar gripes here. I don’t use things like the integrated git support (Fork.app does that better) so it’d be nice to be able to turn off the sidebar entirely. Much prefer starting from something basic and adding what I need (Sublime) or a full blown IDE that’s opinionated.

Re: Sublime Text 4 (Build 4126)

#59

Earlier quoted context omitted.

I’m the same way, VS Code is very hard for me to use. I quite literally don’t get what’s going on. I don’t know which is faster benchmark-wise, but I work much more efficiently in Atom and Sublime than VSC.

Same. Busy and slow, and I will never understand why it is the default these days.

I went from Vim to Sublime Text 3 to VS Code, in the end it's all about what helps you work faster/better. There isn't in my opinion a choice to make here, really depends on the task you want to achieve. VS Code works fine for my projects.

(I still use sublime to quickly edit text but I was really disappointed with their latest version)

Re: Sublime Text 4 (Build 4126)

#60
post #45

Developer at Sublime HQ here, pleasant surprise to see this stable build reach the front page :) If you have any questions related to ST or otherwise feel free to ask.

Any plans for native WSL integration similar to VS Code?

We don't have any current plans to do built-in remote editing, especially not anything platform-specific. It's particularly difficult to get right - especially regarding security - and not one we'd likely ever use at Sublime HQ ourselves.
Post reply on HN