News for hackers. Stuff that matters.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @12:09AM (#27230406)
Hello HN,

I'm one of the developers at Sublime HQ. We're all very excited about this release. If you have any questions you'd like to ask I'll do my best to answer them.

Re:Sublime Text 4 by matklad on Friday May 21, 2021 @05:55AM (#27232156)
Are there any plans regarding first class support for LSP (or, more generally and perhaps more useful, first class support for extensions providing semantic knowledge about the code)?

I know that LSP plugin exists, but, anecdotally, folks are having trouble with it. Which i think is understandable https://lsp.sublimetext.io/features/ says Show Code Actions: UNBOUND, and this is the second most useful thing in LSP (the first is extend selection), it’s not that the plugin is wrong: it’s just that you can do only so much if the editor lacks first class UI/UX concepts for features, required to expose LSP to the user.

Re:Sublime Text 4 by predragnikolic on Tuesday May 25, 2021 @04:18PM (#27282043)
Hello, one of the LSP contributors here.

Just wanted to share my thoughts on why LSP as an open source plugin has more benefits than getting first class support from ST devs.

Cons of getting first class support from ST:

- ST is closed source. That would mean that the LSP source code would be closed source too and that would not allow other people to contribute to it.

- Implementing the LSP client in c++ won't make the user experience faster. The speed mostly depends on the speed a language server returns a response to the LSP client.

- ST devs would shift focus on implementing the LSP spec which is mainly driven by Microsoft and the spec is somewhat driven by VS Code functionality. So ST would chase after offering the same functionality as VS Code, but then always be a step back.

Having LSP as a plugin allows the best for both ST users and ST devs. It allows ST users to contribute to the LSP plugin, while ST devs can focus on making ST more awesome on their own way and adding new API-s.

All I can say is that LSP already has first class support, because the ST devs have specifically expanded the API to allow LSP to implement certain features. :)

Re:Sublime Text 4 by losvedir on Friday May 21, 2021 @07:53AM (#27232878)
Yeah, this is crucial to me. I was formerly a paid user of ST3 before switching to VSCode, but gave the ST4 beta a try a month or so ago. I couldn't get the LSP to work for me for Elixir, so I ended up back on VSCode for now.

I figured I'd wait until the non beta release, and try again.

The sort of minimal deal breaker level of support for me is being able to jump to definition. The symbols, if I understand correctly, are based on the syntax configuration, and for the common Elixir one, it includes the type definition line, each function head, and the callsites of the function, which makes it nearly useless for symbol navigation.

I figured LSP would help in this regard, but I couldn't make it work. The docs were vague, and I think I had to put some JSON configuration structure in some file, but nothing I tried I guess was the right file or right structure.

Still, I love everything else about Sublime and am excited now for multi-tab-select, so I'll probably give it one more try. Hopefully LSP is better integrated or documented by now.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @06:33AM (#27232345)
We've worked hard alongside the developers of the LSP plugin to improve support for it with ST4 and will be continue to do so in the future.
Re:Sublime Text 4 by rattray on Friday May 21, 2021 @07:54AM (#27232887)
Can you share any comments from the discord beta testers about the LSP in v4?

Or are the majority of the user-facing improvements to the LSP plugin still to come, based on the foundational work that just rolled out?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @09:29AM (#27233731)
I didn't have much to do with LSP or the plugins during development, but from what I've heard most of the work has already been done. LSP has had a ST4-specific branch for quite some time.
Re:Sublime Text 4 by predragnikolic on Tuesday May 25, 2021 @04:31PM (#27282225)
Let me also give an insight why keybindings are UNBOUND :)

Each person has different criteria of what is important, Some people like code actions, some think it is the goto definition command, but almost all keybinding in LSP are UNBOUND. The main reason is to not cause conflicts with default keybindings.

Here is an example for code actions. Most editors use `ctrl+.` to trigger code actions, but `ctrl+.` is a default ST keybinding used to go to the next modification in the code.

A lot of people consider it bad if a plugin overrides default keybindings, so LSP lets the user decide what keybinding to assign to LSP commands.

Hope the explanation helps.

Re:Sublime Text 4 by fclaerho on Friday May 21, 2021 @01:37AM (#27230850)
As a developer, I tried to use a lot of code editors, my main criteria being performance, and I've stuck to ST since the first day I used it. Your editor is awesome and in term of perf you're far ahead. Thanks for your work, and also thanks a lot to adding the M1 support with ST4! I didn't expected it (ST3 works fine with Rosetta on M1) and it's much appreciated.
Re:Sublime Text 4 by SNosTrAnDbLe on Friday May 21, 2021 @01:24AM (#27230780)
Thanks for introducing the multi select feature in text editing. There may have been other editors before which had but Sublime was where I first encountered this and where it felt natural. It has saved me countless keystrokes! I use VS Code now but it has started getting slower and it may be time to go back to sublime!
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @02:37AM (#27231157)
IMHO, VS Code makes for a fine cross-platform IDE (for those that like IDEs) but is a bit heavy-weight as a text editor. I tend to use them both in different situations. If I want something that is FAST on very large files or projects, with superb language support for large numbers of languages and markdown - I use ST.
Re:Sublime Text 4 by bennyp101 on Friday May 21, 2021 @03:11AM (#27231309)
Yep, I switched to VSCode for general day-to-day coding, then to Jetbeans, but I still kept ST3 around for doing things with text. If I want to manipulate some text (even in large files) quickly, thats my goto tool.

New installs get ST3 installed by default, even if I don't have a plan to use it on that machine, I treat it as if it was a Notepad on windows back in the day.

Wonderful piece of software.

Re:Sublime Text 4 by klmadfejno on Friday May 21, 2021 @01:43PM (#27237312)
I use sublime 3 pretty frequently, and am aware of this feature, but haven't experienced a moment where this was useful, or at least, not more useful than just running find-replace (which is fantastic on sublime with its pattern matching and speed and what not btw). How do you use this effectively?
Re:Sublime Text 4 by atoav on Monday May 24, 2021 @02:25AM (#27261549)
I will try:

1. Select something at one line

2. Select other occurances of this something using CTRL + d

3. Move the cursors with the arrow keys, by using ALT + Arrow to jump to word boundaries HOME to jump to the beginning of the line for Ll lines that had a cursor on them, END to jump to the end, draw selections by holding SHIFT while doing any of that.

The thing is, when you got this it can be much faster than crafting up a regex in Search/Replace even if you are good with regexes.

Re:Sublime Text 4 by SNosTrAnDbLe on Friday May 21, 2021 @03:40PM (#27238925)
I like the visual feedback with the multi select where I can select all the occurrences of a variable and then change the name at the same time without leaving the editor by just using the shortcut.

For find and replace, I have to leave the editor and go to a different tool window. Also, my regex skills are sometimes lacking when I want to find something on a deadline. I only use find and replace when I have to do the same refactor across files.

Re:Sublime Text 4 by Greaka on Friday May 21, 2021 @04:47AM (#27231810)
Hey there, subl is absolutely the best when you quickly need to open and edit a huge file. You cannot, however, do that when the file only has 1 line. Do you think it might be possible to get that fixed at some point? Opening a 1 line 1GB file on a modern machine brings subl to a complete halt and regex editing is sheer impossible.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @05:44AM (#27232090)
This is a known limitation that we're looking at addressing in future updates.
Re:Sublime Text 4 by Aeolun on Friday May 21, 2021 @06:36AM (#27232367)
Not that any other editor but Vim seems to do this without issues, but it is one of the things the whole experience of Sublime leads me to believe would already be possible :)
Re:Sublime Text 4 by siculars on Friday May 21, 2021 @07:36AM (#27232748)
So is your internal mem structure/unit of operation split on new line? Sounds like you need to refine that to include a max character count sub line structure.
Re:Sublime Text 4 by trzeci on Friday May 21, 2021 @01:28PM (#27237092)
Hi! I'm struggling with the same problems (Debugging huge ASM.js files). The best modern, non-vim editor to handle such files I've found is Cuda Text: http://uvviewsoft.com/cudatext/

Absolutely top tier lightweight code editor for special tasks.

Re:Sublime Text 4 by naikrovek on Friday May 21, 2021 @05:26PM (#27240168)
UltraEdit can open huge files (multiple tens of GB) in seconds.

worth a look if you do this a lot.

Re:Sublime Text 4 by trzeci on Saturday May 22, 2021 @07:35AM (#27245531)
I didn't know about UltraEdit - just tested on my files that I work with: 50MiB of ASM.js code in ~20 lines.

UltraEdit is very sluggish - to the moment it's not usable to work with.

I did a very subjective comparison between few editors in terms of speed in working with such file (flow is: open, find, manually edit, save). And in my eyes here is the result: 1. Cuda Text 2. Sublime 4 3. VS Code 6. UltraEdit

Please note: I only tested the workflow that I work on daily basis. I can see that UltraEdit can do much more that Cuda Text, and in different test cases probably it will be a much better choice. But not for me.

Re:Sublime Text 4 by pupdogg on Wednesday May 26, 2021 @10:00PM (#27298515)
I concur with trzeci that UltraEdit is by far the slowest in editing large text files compared to the other contenders being discussed here. I was not aware of CudaText before but just gave it a try also and it seems fairly rock solid compared to ST.
Re:Sublime Text 4 by bachmeier on Friday May 21, 2021 @08:48AM (#27233342)
> Opening a 1 line 1GB file on a modern machine brings subl to a complete halt and regex editing is sheer impossible.

Is this a common operation for a text editor?

Re:Sublime Text 4 by magicalhippo on Friday May 21, 2021 @09:38AM (#27233825)
Perhaps not super-common, but at work we have to deal with XML files that are 4-500MB in size that don't contain newline characters. Every now and then we have edit them.

It's at least something I'd expect a premium text editor to handle without issues.

Re:Sublime Text 4 by silverwind on Friday May 21, 2021 @11:03AM (#27234926)
It's common when working with big API responses which are indented using plugins after loading. Most APIs do not serve whitespace in their responses, so it's crucial that the editor won't freeze up on initial load.
Re:Sublime Text 4 by naikrovek on Friday May 21, 2021 @05:28PM (#27240188)
try turning off syntax highlighting, if you haven't. that speeds up ST dramatically on large files, in my experience.

or give UltraEdit a try. it opens huge files with ease.

Re:Sublime Text 4 by sigzero on Friday May 21, 2021 @10:53AM (#27234799)
If you are manipulating data, it could be. Logs can easily get big as well.
Re:Sublime Text 4 by adamzochowski on Friday May 21, 2021 @09:48AM (#27233946)
Yeah, plenty of people edit files like xml or json in text editors.
Re:Sublime Text 4 by jeromegv on Friday May 21, 2021 @10:10AM (#27234155)
Sublime can do big files without any issue, the specific use case here is if it all sits on a single line. Most XML/Json files are not single line, but yes it happens.
Re:Sublime Text 4 by shaicoleman on Friday May 21, 2021 @03:56AM (#27231536)
Sublime is awesome, thanks! I've purchased an upgrade straight away.

Can you pretty please fix the issue where files deleted/renamed outside sublime are shown as unsaved? It often ends up with a lot of wasted debugging time until I realise I'm working on the wrong file

Please show "filename (deleted)" on the title, instead of "filename •". Thanks!

Re:Sublime Text 4 by M4v3R on Friday May 21, 2021 @04:22AM (#27231663)
Very much this, this is basically my only gripe with Sublime Text!
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @04:29AM (#27231709)
You can make modified tabs more visible with the "highlight_modified_tabs" setting.
Re:Sublime Text 4 by shaicoleman on Friday May 21, 2021 @05:20AM (#27231946)
This doesn't solve the issue. To make things clearer, here's how you replicate it:

* Open file1.txt in sublime. This shows up as "file1.txt" in Sublime.

* In the terminal: mv file1.txt file1a.txt

* Back in Sublime it will show "file1.txt •" as if it's modified and unsaved. Saving that file will now recreate that file, and you'll end up duplicating the file and editing the wrong file.

Instead, what should happen is when you delete/rename file1.txt it should show "file1.txt (deleted)"

Try the same thing in any other editor (e.g. VSCode), and it handles it correctly.

Re:Sublime Text 4 by ben-schaaf on Monday May 24, 2021 @02:01AM (#27261454)
Thanks for clearing that up. I've added an issue to our public issue tracker for this: https://github.com/sublimehq/sublime_text/issues/4225
Re:Sublime Text 4 by bouke on Friday May 21, 2021 @07:36AM (#27232750)
I’d say if the file got renamed, the editor should just use the new filename. The name of the file is just metadata, not its identity.
Re:Sublime Text 4 by argvargc on Friday May 21, 2021 @08:39AM (#27233252)
This is not a good solution for two reasons:

1) If the file was renamed and its contents changed - what should the editor do? Load the changes underneath the user? If yes: user #1 mad because now the only copy of file contents was wiped in OS, and now by the editor in what was originally a mistake. If no: user #2 mad because updating file outside of editor didn't update it within editor as they'd hoped.

2) If the file was only renamed - but renamed by mistake - to something generic or wrong: user #3 mad because original filename (which may also have been a location) is now lost.

In all cases, the optimum solution is to clearly indicate to the user that the file name or contents have changed, preserve both the contents and the filename/location, and give the user the option as to how to deal with this given their particular situation.

This should be a separate indication than that what seems to be currently offered which is to conflate user initiated changes, and OS initiated changes as the same thing. If this is the case, they are not the same thing, and this should be clearly reflected in the UI so that the user is alerted and can decide what to do.

Re:Sublime Text 4 by CrazyStat on Friday May 21, 2021 @08:04AM (#27232965)
How is the editor supposed to know the new filename?
Re:Sublime Text 4 by bouke on Friday May 21, 2021 @08:08AM (#27233002)
Try renaming a file from the Finder currently open in Numbers (macOS). Notice how Numbers picks up the new name. So definitely possible, on macOS at least.
Re:Sublime Text 4 by laszlokorte on Friday May 21, 2021 @09:11AM (#27233562)
On MacOS the file name is only meta data, ie the file has an internal id that does not change, but on other platforms filesystems the filename might be the identifier.
Re:Sublime Text 4 by samus on Friday May 21, 2021 @03:15PM (#27238626)
Every operating system supports subscribing to file and directory changes. That is how the editor can detect there was a change in the first place.
Re:Sublime Text 4 by mkj on Friday May 21, 2021 @09:51AM (#27233974)
If it's renamed in Linux the inode number will remain the same. (Good luck finding where the new file is, I guess Sublime would spot it if it's within the currently opened directory/project with inotify)
Re:Sublime Text 4 by jannes on Friday May 21, 2021 @05:18AM (#27231940)
That does not really address the stated problem.

The problem is that you can’t distinguish between a file that exists (where saving would overwrite the file) and a file that doesn’t exist (where saving would create the file).

Re:Sublime Text 4 by FlyingSnake on Friday May 21, 2021 @12:48AM (#27230608)
Are there any plans to open source the GUI system? It could be a hugely beneficial for a set of cross platform apps.

Thanks a lot for creating this piece of software art. I’m a user since the v1 and no matter what the editor du jour is, I always fallback to ST and Vim.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:15AM (#27230740)
This question has been asked a lot, so thankfully I've got an easy answer: You don't actually want to build on top of our UI toolkit. We make breaking changes all the time, there's very little documentation and no release cycle at all. This isn't a problem for us as we have in-house knowledge and can fix any breakages trivially, but you don't want every open source project to have to maintain it's own fork of a UI toolkit.
Re:Sublime Text 4 by ChrisMarshallNY on Friday May 21, 2021 @02:36AM (#27231153)
I completely support this. I write a ton of open-source software, and have many published packages.

Each one that I publish is a Responsibility. Like a parent that has children, the package is no longer “completely mine.” All changes and fixes are made, keeping in mind that someone may be dependent upon my work.

I’ve been writing SDKs -literally- my entire career (I can link to my very first engineering project, in 1987, where I designed a hardware system, and a companion SDK).

A perfectly legitimate reason for keeping code private, is that I am not willing to support it for any use, other than my own personal use.

Re:Sublime Text 4 by jiofih on Friday May 21, 2021 @02:48AM (#27231204)
There is no obligation to support the code at all though. You can release it once, say it’s unsupported, and let the community pick up maintenance / forks if there’s enough interest. Otherwise, no harm done.
Re:Sublime Text 4 by jandrewrogers on Friday May 21, 2021 @04:03AM (#27231567)
In practice it doesn't work this way. Saying it is "unsupported" does not mean people will respect that boundary, nor will it prevent people from contacting you expecting your time and attention, which is what actually happens. There is significant overhead to open sourcing software.
Re:Sublime Text 4 by ChrisMarshallNY on Friday May 21, 2021 @07:37AM (#27232758)
This.

Even for code I didn't publish (like corporate SDK internals), I have been contacted (which took some work, because my employer did not like customers interacting with Engineering), and told (not "asked" -told) to make changes to our corporate, closed-source SDK to suit some rando's tinkering around (also, for extra credit, said rando hadn't even purchased one of our cameras).

Even open-sourcing has its caveats.

Anyone that has spent any time at all, on most tech forums, have seen the "Open Source Holy Wars" being fought.

I tend to use the MIT license. I won't go into the reasons why. I write OSS, and I support it. I choose to do so under MIT.

In the past, I have been contacted (I make it easy to get in touch with me), and told that I was a "corporate shill" for not using GPL.

That's always a great way to start the day.

Also, our corporation had to fend off a few legal threats, because some of our software looked vaguely like some GPL stuff (I guarantee it wasn't -they were anal about the GPL), so zealots would sometimes throw sueballs (or vague threats, thereof) at us.

At least the patent trolls would do a little bit of homework before attacking us. These folks wouldn't even bother wondering if they might be mistaken before unleashing the hounds.

Re:Sublime Text 4 by qmmmur on Friday May 28, 2021 @07:32AM (#27314110)
Can't you just ignore them?
Re:Sublime Text 4 by jannes on Friday May 21, 2021 @05:11AM (#27231900)
People won’t respect the boundary if you host the code on github, because it’s just too easy to open issues or pull requests.

However, what about just releasing a zip file with the sources and linking it on your downloads page?

Re:Sublime Text 4 by perk on Friday May 21, 2021 @06:30AM (#27232327)
Someone should make sourceavailable.com - A service that automatically pulls my private repos from GitHub and makes it available as open source to other programmers. A read only version of GitHub, without the isssue/PR overhead.

Code should be easy to read/download on https://sourceavailable.com/username/repo

Re:Sublime Text 4 by perk on Monday May 24, 2021 @03:33PM (#27268683)
Someone bought the domain after I wrote this comment. Hope they’re working on this idea :)
Re:Sublime Text 4 by makapuf on Friday May 21, 2021 @07:56AM (#27232902)
Some people did close the issues and store them in a directory as plaintext on the repo. Want to report a bug ? make a PR. the extra little friction was added so that you need to spend a little time (and having spent that little time you might as well research a bit your bug or read the doc). Bonus point, your project is now completely portable.
Re:Sublime Text 4 by Phenix88be on Friday May 21, 2021 @03:57AM (#27231538)
> and let the community pick up maintenance / forks if there’s enough interest.

This almost never happen, even when the interest is very high... I love open source and free software, but we should face that this point is more a fantasy than a real thing.

Re:Sublime Text 4 by hutzlibu on Friday May 21, 2021 @04:35AM (#27231742)
I would say, it depends on the codebase and documentation. Taking up a abandoned mess of undocumented spaghetti code? No thank you. And most "open sourced" repositories are like this.

But the ones that have at least rudimentary documenation, something a new maintainer has something to work with - those are the few ones, that might be picked up by some community. Rare, yes - because there is not much fun in writing documentation on your personal pet project in your free time. But it might be still worth it.

Re:Sublime Text 4 by QQ00 on Sunday May 23, 2021 @07:01AM (#27254110)
You could extent your UI toolkit and profit from it. make it open source and make it free for open source projects and with fee for commercial projects. It's very beautiful and sleek UI and the market of UI are lacking in this area. a lot of people demand this UI toolkit and asking you to release it is a prove that it will be a successful product.
Re:Sublime Text 4 by arvindamirtaa on Friday May 21, 2021 @02:36AM (#27231149)
Do you have any plans to add first class support for SSH based or docker based remote development workflows?

The current Rsubl implementation kinda works. But is a bit hacky for reliable everyday work.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @02:55AM (#27231236)
We've certainly talked about it, but there aren't any concrete plans yet.
Re:Sublime Text 4 by danmur on Friday May 21, 2021 @06:54AM (#27232491)
I love Sublime, I've paid for every version and I did the same for my devs for many years (when I had a company cc!). I would just like to say remote editing is the only thing I use vscode for. If ST had remote editing I and probably a lot of other people would use it more.

Once again, love sublime, just a suggestion :)

Re:Sublime Text 4 by supportlocal4h on Saturday May 22, 2021 @01:10AM (#27243688)
I remote edit with ST. I choose File | Open to get the native Open dialog, type 'sftp://my.dev.server' and press Enter. Username and password logs me in. Then I navigate to the folder I want, and open a file or folder in ST.

I don't use VS Code. How do you do it there that is so much better?

Re:Sublime Text 4 by davidkhess on Friday May 21, 2021 @01:12PM (#27236860)
Not sure if it matches your use case or not, but I use sshfs with Sublime Text and it's just as good as local editing.
Re:Sublime Text 4 by z3t4 on Friday May 21, 2021 @11:49AM (#27235586)
Install xserver (also works on Mac and Windows) then ssh -X to the container. Start sublime on the container, and the gui will show up locally.
Re:Sublime Text 4 by jonquest on Saturday May 22, 2021 @12:25AM (#27243454)
For one off things, it's easy enough to just use something like WinSCP or ssh + vim. Having to count on a remote environment having all of the X client software installed to do X forwarding and sublime text to boot is going to leave a lot of people disappointed. If subl supported remote editing out of the box the presence of any extra software beyond, say SSH, becomes something no one needs to care about. Bonus, your local install is already configured and setup exactly the way you like it.
Re:Sublime Text 4 by rahoulb on Friday May 21, 2021 @10:05AM (#27234110)
I would second this - it works really well in VSCode and it's something I would happily pay for.
Re:Sublime Text 4 by silverwind on Friday May 21, 2021 @11:12AM (#27235065)
This is my #1 feature I'd like to have.

If you decide to add it, please make it flexible enough to configure all options OpenSSH provides.

Re:Sublime Text 4 by silverwind on Friday May 21, 2021 @11:09AM (#27235027)
There is a SFTP plugin that supports this to some extend but it's a serial file sync, not parallel like VSCode so it's painfully slow in comparison.
Re:Sublime Text 4 by shrikrishna on Friday May 21, 2021 @01:52AM (#27230928)
I've loved Sublime for years, and it's always the first software I install on a new machine. I even voted with my pocket by buying a license.

However, since we started using Yarn workspaces (for JS), I've needed to switch to VSCode because its auto-import is just so much better, and it's one of those things that's hard to go back from, once you're used to it. Sublime text already indexes my code for search, which can probably be used for path suggestions / automatic imports without affecting performance too much maybe? I dunno.

I wouldn't mind it being a plugin either (before Yarn workspaces, I'd use FuzzyFilePath plugin which worked pretty well). But native support would mean the performance would be on par with what I've come to expect from Sublime Text :)

Re:Sublime Text 4 by apocalyptic0n3 on Friday May 21, 2021 @09:31AM (#27233743)
I don't have any questions, but I would like to thank you and the rest of the team at Sublime HQ for developing such terrific products. I've used Sublime for various purposes for about 7 years now and just purchased, I think, my third license for it. And if I had to label any of my dev tools as a "must-have" for the way I want to work, I would probably put Sublime Merge first.

Thank you so much!

Re:Sublime Text 4 by bambax on Friday May 21, 2021 @03:01AM (#27231266)
The UI of ST is fantastic and like most people here I love it.

However, opening big files doesn't work too well, it seems the program wants to load the whole file in memory. Any change on that front?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @03:06AM (#27231290)
ST4 has a number of performance improvements in relation to large files, but we don't plan on not loading the whole file into memory as this is a core assumption in the entire UI stack.
Re:Sublime Text 4 by sammorrowdrums on Friday May 21, 2021 @03:23AM (#27231371)
Could you configure a user setting for max file size? I have clicked very large files by accident plenty of times and it makes ST hang.
Re:Sublime Text 4 by hn8788 on Friday May 21, 2021 @12:16AM (#27230444)
Congratulations on the new release though, it's been my favorite editor for years. Just a heads up, when you upgrade an existing license, the instructions say to click on Help > Enter License, but you have to remove the current license before you can enter a new one.
Re:Sublime Text 4 by breck on Friday May 21, 2021 @12:21AM (#27230477)
Yup! I just ran into that too. Also, it looks like I could have upgraded my existing license for $70 via going that route, instead of buying a new one for $80. (Np for me, I'm a huge fan, but for other existing users check out "Help" menu before buying a new license)
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:20AM (#27230763)
Thanks, we've added some instructions for that.
Re:Sublime Text 4 by TeeMassive on Friday May 21, 2021 @12:55AM (#27230659)
Vim has Vimtutor; could Sublime have its Sumblimetutor too?

I've been using Sublime for years now and yet I barely use most of its "well known features" and I feel ashamed of myself.

I know there are tutorials out there, but I am a chronic procrastinator and I just can't bring myself to watch them while at home.

Re:Sublime Text 4 by yesenadam on Friday May 21, 2021 @01:32AM (#27230830)
You could use philosopher John Perry's method. Put every activity on a To Do list, ordered by importance. Procrastination is doing lower-down items instead of higher-up items. Perry has the top of his list filled with so many awesome items that even things lower down are still well worth doing.

So, it sounds like you could add more awesome things to do to the top of your list, until your procrastination becomes things like..watching Sublime tutorials. He explains his method in detail on this page:

http://www.structuredprocrastination.com/

Re:Sublime Text 4 by sprkwd on Friday May 21, 2021 @03:09AM (#27231302)
Oh that is wonderful. Thank you for sharing.
Re:Sublime Text 4 by TeeMassive on Friday May 21, 2021 @11:00AM (#27234888)
Ok, I'll check that out later.
Re:Sublime Text 4 by dsego on Friday May 21, 2021 @05:11AM (#27231903)
Re:Sublime Text 4 by TeeMassive on Friday May 21, 2021 @10:58AM (#27234858)
I'll definitely check this out!
Re:Sublime Text 4 by jokoon on Friday May 21, 2021 @06:22AM (#27232286)
https://news.ycombinator.com/item?id=27232271

I love this editor, but this detail annoys me:

https://i.imgur.com/wu6ZfSa.png

Folding code with curly braces doesn't "eat" the brace. It's indent-based, not syntax based. There is a 2 or 3 years old issue on their github, and they don't plan to fix. A little annoying for a paying editor.

Here is the github issue: https://github.com/sublimehq/sublime_text/issues/101

Maybe they fixed it and I did not look up new settings?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @06:26AM (#27232304)
This is in fact an issue we're going to address. We already have a large amount of work done towards it, but it didn't make it into this release.
Re:Sublime Text 4 by jokoon on Friday May 21, 2021 @07:35AM (#27232737)
Great to hear it has not been abandoned :)
Re:Sublime Text 4 by bussiere on Friday May 21, 2021 @03:17AM (#27231347)
I'am using it since 2 years, and i planned to pay the license as soon as a have a stable income.

For me it's the best second editor, i always have it open when i do an operation. I have different main tool / editor open but always sublime text as a second tool.

Thanks for keeping a 32 bit version also.

Re:Sublime Text 4 by fdeage on Friday May 21, 2021 @07:48AM (#27232839)
Hi there,

Thanks for this release! I use ST every day and I love it: the speed, the efficiency, everything.

The one thing I miss, though, is manipulating files from the left panel (moving files especially). I know there is a plug-in doing that (Side Bar) but it lacks drag-and-drop support.

Any plan to have it natively in the future?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:22AM (#27234326)
It's been on our radar but hasn't been a high priority so far. You can currently use rename to move a file across directories using `../` or similar.
Re:Sublime Text 4 by mambusskruj on Friday May 21, 2021 @06:43PM (#27240875)
OMG this is so convenient! Just fall in love with this behavior. It'll be even better with autocomplete ;)
Re:Sublime Text 4 by fdeage on Saturday May 22, 2021 @01:05PM (#27248346)
I didn’t know that, thanks!
Re:Sublime Text 4 by pieterhg on Friday May 21, 2021 @07:04AM (#27232551)
I love Sublime Text and use it for everything from code to notes and todos. Thanks for all the hard work!
Re:Sublime Text 4 by themacguffinman on Friday May 21, 2021 @01:00AM (#27230680)
I was surprised to see "By default, GPU rendering is enabled on Mac, and disabled on Windows and Linux". Is there any reason I shouldn't manually enable GPU rendering on Windows/Linux?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:18AM (#27230752)
Windows and Linux have a much larger variety in hardware and drivers and much lower prevalence of high-dpi monitors. So we felt that for now it would be better to leave it disabled by default. This may change in the future.
Re:Sublime Text 4 by bruce343434 on Friday May 21, 2021 @03:14AM (#27231326)
Can you at least turn it on this time? I stopped using ST because scrolling was so incredibly choppy on linux. It always lagged a second behind and felt so unresponsive.

Edit: just read the patch notes, the ans is yes. Awesome!

Re:Sublime Text 4 by joshschreuder on Friday May 21, 2021 @02:39AM (#27231167)
Is there a DPI threshold that would benefit most from GPU support?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @02:58AM (#27231249)
As always it depends on the hardware. I've personally found that things start to get slow at >1440p.
Re:Sublime Text 4 by deagle50 on Friday May 21, 2021 @11:06AM (#27234974)
Is there a typing latency penalty to GPU rendering?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:53PM (#27242906)
Latency in fact would be reduced due to faster rendering. Remember that it needs to go to the GPU eventually anyway in order to output to a display.
Re:Sublime Text 4 by aryamaan on Friday May 21, 2021 @05:21AM (#27231949)
Thanks for this, I absolutely like it for the most parts.

My only complain with Sublime is that if I have 100s of unnamed tabs opened, it gets very difficult to find a particular tab.

I wish there was somewhat better tab organisation possible. Maybe there are some plug-ins, I did check last time when I was frustrated with it.

Does anyone else face this issue or have I been using it wrong?

Re:Sublime Text 4 by chrisan on Friday May 21, 2021 @05:42AM (#27232080)
You can use it however you like, but the moment I get to so many tabs open I can't read the titles of all of them is the moment I know I have too many tabs open and just start closing old ones, likely with "close others" action.

You have ctrl tab and alt-# but once tab names are no longer visible/readable I don't see the reason to keep so many open. I think the filetree view is exactly how 100s of files should be organized for finding a file you can't remember the name of or ctrl-p for quickly opening a file you do

Re:Sublime Text 4 by Silhouette on Friday May 21, 2021 @08:54AM (#27233410)
You have ctrl tab and alt-# but once tab names are no longer visible/readable I don't see the reason to keep so many open

I make extensive use of layouts with several panes, bookmarks and, for longer files, opening multiple views into the same file and code folding. I find these tools particularly helpful when editing or reviewing sets of related files. This happens a lot for me: application code and its tests, front-end and back-end code either side of an API, code defining types/constants/interfaces and code using them, or sometimes larger numbers of related files when these kinds of pairings multiply. As long as everything stays open, ST preserves all of that display context independently for each file/view. Closing and reopening would lose that context every time.

Re:Sublime Text 4 by mikeappell on Friday May 21, 2021 @11:14AM (#27235096)
I tend to open multiple windows instead. Though, to be fair, I usually do that on a per project basis. I try to close tabs once I realize I'm not going to be using them in the near future.

Basically the exact opposite of my browser habits, where I easily have 100 tabs open at any time, lol.

Re:Sublime Text 4 by nix23 on Friday May 21, 2021 @03:24AM (#27231377)
I would love to use ST on FreeBSD and Solaris natively, i know it's a niche and probably not worth the time, but still here i said it.

BTW: Thanks for a great Editor.

Re:Sublime Text 4 by tadaima on Saturday May 22, 2021 @02:24PM (#27249034)
Re:Sublime Text 4 by nix23 on Saturday May 22, 2021 @07:05PM (#27251016)
That's why i wrote natively. I could also install Wine and download the exe file instead ;)
Re:Sublime Text 4 by faraaz98 on Friday May 21, 2021 @04:28AM (#27231696)
I want you lot to get a lot of funding for this because ST is the best editor IMO and it shouldn't be abandoned
Re:Sublime Text 4 by ddingus on Friday May 21, 2021 @12:29AM (#27230517)
Is there a Raspi version yet?

That would make my little embedded dev station just perfect! Would migrate it all to that new Pi 400.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @12:33AM (#27230536)
Arm64 builds are available to download just like any other version. The port was done on a RPI 4, but it's also been tested on a PinePhone and a Nintendo Switch.
Re:Sublime Text 4 by ddingus on Friday May 21, 2021 @12:35AM (#27230550)
Nice. I could have checked. Has been a while. Have been just running a version. Thanks for taking the time.
Re:Sublime Text 4 by nicoburns on Friday May 21, 2021 @06:32AM (#27232337)
Is there a reason why ST re-indexes everything on every update? (I'm fairly sure it didn't used to).

My workflow involves keeping 9 sublime projects open most of the time (damn microservices), and restarting sublime after an update makes my computer very slow (not unusable, not noticeably laggy) for 5-10mins each time.

Relatedly, sublime has an excellent changelog window, but it only shows up after you've already updated! It would be really nice if I could see the changelog before I decide whether to update or not...

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @06:35AM (#27232360)
When the syntax definitions change, the symbols that need to get indexed change as well. Hence the project needs to be re-indexed. There are settings for controlling how many resources the indexer is allowed to use.
Re:Sublime Text 4 by philshem on Friday May 21, 2021 @11:39AM (#27235448)
Hi Ben

When will ST4 show up on Homebrew?

https://formulae.brew.sh/cask/sublime-text

Thanks for taking the time to answer questions

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:48PM (#27237395)
We only ship downloads from sublimetext.com. Any other avenues like homebrew, flatpak, etc. are supplied by third parties with no relation to us. Sublime Text on macOS has its down update mechanism that you may prefer over homebrew.
Re:Sublime Text 4 by philshem on Tuesday May 25, 2021 @01:40AM (#27273092)
If anyone reads this later, ST4 is now the downloadable from Homebrew
Re:Sublime Text 4 by BiteCode_dev on Friday May 21, 2021 @02:03AM (#27230981)
Thank your for bringing into the world this beautiful tool. I paid for ST2, ST3 and SM and it brought a lot of joy into my work. I'm more into VSCode now (ST python editing experience has been lagging behind), but I keep ST close for out of project editing.

I hope one day you will release your UI toolkit. Since it's crossplateform, fast, and plug into Python, it could be a wonderful alternative to PyQT, wxWidget and the like, and we really need something in the Python world.

Good luck to ST4.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @02:09AM (#27231005)
Thanks for the kind words :)

> I hope one day you will release your UI toolkit. Since it's crossplateform, fast, and plug into Python, it could be a wonderful alternative to PyQT, wxWidget and the like, and we really need something in the Python world.

Note our UI toolkit is really adjacent to python - there's no integration there at all. See here for my answer in relation to releasing/open sourcing our UI toolkit: https://news.ycombinator.com/item?id=27230608.

Re:Sublime Text 4 by dmitshur on Friday May 21, 2021 @10:03AM (#27234089)
Question about license upgrades. The page says:

> Note you can upgrade to the bundle from either a Sublime Text or Sublime Merge license.

Right now I have a ST3 license and would like to upgrade it to both ST4 and Sublime Merge.

If one upgrades to a bundle now, will it be possible in the future to upgrade the bundle license to a single product one? Or is the only option to buy a new single product license instead?

(I’m ok with it either way, I just want to find out so I can plan better.)

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:19AM (#27234261)
Currently you can only upgrade from a bundle to a bundle, but the exact behavior hasn't been fully decided on yet. I'll look into clarifying that.
Re:Sublime Text 4 by dmitshur on Friday May 21, 2021 @09:11PM (#27242186)
Thank you.
Re:Sublime Text 4 by teddyc on Friday May 21, 2021 @09:10AM (#27233544)
I love Sublime Text and have purchased licenses for each version. Thank you very much!
Re:Sublime Text 4 by parsd on Friday May 21, 2021 @10:48AM (#27234701)
Is the team considering making an "HTTP Client, done Sublime" at some point?
Re:Sublime Text 4 by devmunchies on Friday May 21, 2021 @01:55PM (#27237508)
what do you mean? like a Postman? a browser?
Re:Sublime Text 4 by parsd on Friday May 21, 2021 @02:49PM (#27238250)
Yes, something that could do what Postman does.
Re:Sublime Text 4 by alexruf on Friday May 21, 2021 @04:40AM (#27231763)
Regarding the licence upgrade options: Are there any solutions for users owning a single licence for both Sublime Text 3 and Sublime Merge? My Sublime Merge licence for example is still valid for 2 years from now. If I try to upgrade my current licence and want to bundle them together it says the price is 152 USD. Any options for users like me to not make them pay twice when choosing the bundle licence?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @06:43AM (#27232414)
We don't currently offer anything like that. Your current best bet would be to consolidate licenses into a bundle at a later date.
Re:Sublime Text 4 by iamcreasy on Friday May 21, 2021 @01:32AM (#27230831)
I am wondering if it's possible for Python plugin to add custom UI elements?

For example, if I am using Julia/R I want side panel that shows all my current variables in memory. Is Sublime plugin system capable of adding UI components such as variable/plot viewer and add custom interactions to those UI panels(i.e. zoom/rotation for plots)?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:35AM (#27230843)
That's not currently possible, no. The only custom UI elements can be done using minihtml (a subset of html).
Re:Sublime Text 4 by trosi on Friday May 21, 2021 @02:28AM (#27231098)
> For example, if I am using Julia/R I want side panel that shows all my current variables in memory.

Mind sharing how you do this in R? Thanks!

Re:Sublime Text 4 by iamcreasy on Friday May 21, 2021 @02:36AM (#27231146)
I was thinking about something similar to the Environment panel in RStudio. You can also see all variables in a given session using ls()
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @02:37AM (#27231161)
I like the fact I can upgrade my 3 licence ! Whoop whoop. Will take it for a spin - thanks for that hard and continued work.
Re:Sublime Text 4 by 1123581321 on Friday May 21, 2021 @12:25AM (#27230498)
About Sublime Text says that I have a Single User License registered. Is it going to prompt me to upgrade, or am I grandfathered in some way? I bought this Sublime 3 license in Feb 2018. Just trying to understand what's going on. The app itself is great so far, especially the GPU performance.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @12:30AM (#27230519)
Your license is still valid for all versions released before Feb 2021 (3 years after purchase). Once you update to a version released after that date you will see a "LICENSE UPGRADE REQUIRED" in the title bar. Under `Help > Upgrade License` you can then purchase an upgrade. There is also a popup prompting for an upgrade if you've entered an "expired" license anew.
Re:Sublime Text 4 by Keats on Friday May 21, 2021 @05:00AM (#27231860)
Any plans to help Syntect (https://github.com/trishume/syntect) work with the latest sublime-syntax format (https://github.com/trishume/syntect/issues/271 and https://github.com/trishume/syntect/issues/323)? There is a big overlap in contributors for syntect users and syntect can be used by syntax writers to debug syntaxes so it would be a win-win.
Re:Sublime Text 4 by blibble on Friday May 21, 2021 @01:58AM (#27230955)
a bit of a weird one... is there anyway I use my license for version 4 on version 2?

my day job has a fixed list of binaries that are permitted to run (by digest)... 2 is on the list, and 4 isn't

(quite happily using 4 now at home!)

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @02:06AM (#27230993)
Newer licenses don't work on ST2 for technical reasons, but I'm sure we can work something out if you contact our sales support (bottom of this page: https://www.sublimehq.com/sales_faq)
Re:Sublime Text 4 by zamadatix on Friday May 21, 2021 @08:26AM (#27233141)
Any chance of a Windows ARM64 version since macOS/Linux have one?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:26AM (#27234374)
I can't really say one way or another. Given that we can't feasibly test on the large variety of ARM devices out there I think it will depend on how maintenance free the ARM Linux builds are and how much people ask for a ARM Windows build.
Re:Sublime Text 4 by odiroot on Friday May 21, 2021 @05:53AM (#27232142)
Do you expect that working with Python codebases will get better with this release? I mean it in the context of code completion and other "intelligence" features.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @06:44AM (#27232421)
Code completions have massively improved for every language with syntax highlighting.
Re:Sublime Text 4 by odiroot on Friday May 21, 2021 @07:09AM (#27232589)
That's very good news. That was my only pain point with ST3.
Re:Sublime Text 4 by otikik on Friday May 21, 2021 @05:30AM (#27232008)
How difficult would it be to make a Sublime-Text-for-terminals?
Re:Sublime Text 4 by charleover on Friday May 21, 2021 @06:06AM (#27232211)
It's by no means ST for terminals but Micro is well worth a look if you haven't seen it. It has sane keyboard shortcuts, nice syntax highlighting, mouse and multi-cursor support.

https://micro-editor.github.io/

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @05:52AM (#27232132)
Practically impossible. It's like trying to play a video on a terminal.
Re:Sublime Text 4 by robin_reala on Friday May 21, 2021 @06:58AM (#27232507)
Practically impossible doesn’t exclude possible :) https://www.redhat.com/sysadmin/music-video-linux-terminal
Re:Sublime Text 4 by traspler on Friday May 21, 2021 @12:36PM (#27236299)
Could it be that you‘ve already been using the new GPU rendering in SublimeMerge but not ST3?

That would explain the visual corruption issues I sometimes have with Merge but not ST3. In Merge some actions, sometimes (mostly in the settings) corrupt the application window (sometimes also after minimizing and sleep) on my MacBook. To me it looked like a rendering/GPU issue. It looks like blocks of pixels having different colors, lines shifted, etc.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:45PM (#27237350)
Yes we've been shipping the hardware accelerated rendering with Sublime Merge for some time now. A bug report would be welcome (Under Help > Report a Bug)
Re:Sublime Text 4 by sigzero on Friday May 21, 2021 @09:42AM (#27233888)
Congrats! When the payday hits I will buy it. I've been waiting. I know I could have purchased an ST3 license and got this but...I am weird.
Re:Sublime Text 4 by math-dev on Friday May 21, 2021 @03:18AM (#27231356)
Thank you for your great work. For HTML / JavaScript, Sublime is simply amazing and a joy for me to use.
Re:Sublime Text 4 by onei on Friday May 21, 2021 @02:36AM (#27231150)
I can see personal licenses get the 3 years worth of updates that you've mentioned elsewhere in the comments here. However, business licenses get 1 year of use before it expires, but I can't tell if that includes upgrades from ST3 to ST4. Can you clarify what the status is for that?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @03:05AM (#27231286)
Business licenses follow the traditional subscription model. The licenses don't expire, but they do get revoked once the business either revokes them or stops paying. Because of this there is no upgrade from ST3 to ST4 - it's simply included in the subscription.
Re:Sublime Text 4 by DevKoala on Friday May 21, 2021 @04:30AM (#27231713)
My favorite editor. Thank you so much.
Re:Sublime Text 4 by username3 on Friday May 21, 2021 @05:12PM (#27240034)
How can I save groups of tabs so side views won’t get lost if I switch to another tab?

Edit: ctrl+tab saves, but mouse clicking a tab loses

How can I open find results in a split view?

How can I open definitions and references in split views without using the mouse to hover and click?

Edit: F12 and shift+F12.

Re:Sublime Text 4 by db579 on Saturday May 22, 2021 @06:14AM (#27245148)
Would you ever consider a licensing model similar to Cockroach DBs BSL where older versions fall into the public domain/are open sourced once they're no longer revenue generating? Or perhaps once a new major version is out?
Re:Sublime Text 4 by PascLeRasc on Friday May 21, 2021 @10:52AM (#27234772)
Is there a way to go back to the trapezoid-style tab UI instead of the rounded new Chrome tab UI? I didn't see it in any of the preinstalled themes but maybe there's a flag somewhere.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:59AM (#27234866)
Use the `"file_tab_style"` setting. Do note that the older tab styles are missing some features, like highlighting the focused tab.
Re:Sublime Text 4 by PascLeRasc on Friday May 21, 2021 @11:09AM (#27235025)
Thank you! I know this isn't much, but I just bought a license based on this comment. I didn't know it was possible but Sublime 4 feels even faster!
Re:Sublime Text 4 by stephc_int13 on Friday May 21, 2021 @07:58AM (#27232916)
Do you plan to add an integrated terminal to ST at some point?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @09:39AM (#27233836)
We do not have any plan to do this, though there are some features we're looking at for improving existing terminal packages.

I personally wouldn't ever use a embedded terminal, as their user interaction inherently conflicts with the rest of the application. ctrl+w for instance needs to both close files/tabs as well as delete a word in the terminal.

Re:Sublime Text 4 by forrestthewoods on Friday May 21, 2021 @01:26AM (#27230799)
Congrats on the release!

I was an avid user (and paying customer!) of ST1 and ST2. Somewhere along the way I switched to VS Code. Why should I use ST4 over VS Code today?

Re:Sublime Text 4 by fclaerho on Friday May 21, 2021 @01:40AM (#27230865)
Perfs! If you don't want to wait 4h for files to load. When I see my colleagues trying to open files on VS, I can't understand how that's acceptable.
Re:Sublime Text 4 by ReptileMan on Friday May 21, 2021 @04:00AM (#27231550)
For what kind of files? On windows code once opened in a workspace context opens normal source files of a project almost instantly.

Are you talking about cold boot or huge log files?

The only place for me code breaks down is with long jsons/js files that haven't beet prettified and are a long long string.

Re:Sublime Text 4 by sigzero on Friday May 21, 2021 @12:56PM (#27236636)
That is not true about vscode anymore. It is fairly performant now.
Re:Sublime Text 4 by spurgu on Saturday May 22, 2021 @07:35PM (#27251195)
"Fairly" performant vs the blazing speed of ST?
Re:Sublime Text 4 by Stanzilla on Friday May 21, 2021 @10:56PM (#27242928)
If you could say one thing to a person currently using vs code to get them to try sublime, what would that be? It can't be "speed".
Re:Sublime Text 4 by blissofbeing on Friday May 21, 2021 @06:53PM (#27240947)
Is there any chance you'll be adding support for moving the sidebar to the right? This is the one stopping me from moving back to sublime.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:51PM (#27242898)
We do have something on the backburner for this.
Re:Sublime Text 4 by demarq on Friday May 21, 2021 @08:43AM (#27233289)
for typescript it would be nice to hover any word and see it's type. is that a planned feature?

I noticed that you can only see the type of a type

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @01:50PM (#27237446)
That kind of feature requires integrating a TypeScript compiler, akin to an IDE. Sublime Text is first and foremost a text editor and such doesn't have that kind of information. You may want to look at plugins like LSP for that.
Re:Sublime Text 4 by meekins on Friday May 21, 2021 @01:59AM (#27230965)
Congrats on the release!

Are there any plans for some kind of combo deal now that Sublime Text and Sublime Merge licenses are aligned?

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @02:10AM (#27231015)
There already is :)
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @02:41AM (#27231173)
Any link? I’ve used SM on and off just as I was excited when it first came out - I really like it.
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @03:17AM (#27231350)
When purchasing a new license or upgrading there's a checkbox for the bundle.
Re:Sublime Text 4 by beermonster on Friday May 21, 2021 @07:10AM (#27232592)
Thanks!
Re:Sublime Text 4 by ernie24 on Tuesday May 25, 2021 @07:09AM (#27275376)
Are there any chances for better Vim mode?
Re:Sublime Text 4 by otikik on Friday May 21, 2021 @05:32AM (#27232020)
Could you give a high-level description about what does sublime do in order to handle large files?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @05:55AM (#27232155)
Ropes, a fast syntax engine and lots of caching/optimisation. Maybe there will be a blogpost on this one day.
Re:Sublime Text 4 by thieving_magpie on Friday May 21, 2021 @09:14AM (#27233578)
Hello. How was the transition on the Windows side to UWP?

It looks great.

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @09:32AM (#27233760)
Sublime Text is still based on win32, not UWP.
Re:Sublime Text 4 by thieving_magpie on Friday May 21, 2021 @09:57AM (#27234034)
Oh interesting. I had previously read a limitation of changing the title bar to use a dark theme was based on sticking to win32. Sounds like that hurdle was overcome in a different way - either way I'm appreciative.

Here's a reference to the discussion on the 'dark theme': https://forum.sublimetext.com/t/support-dark-theme-on-window...

Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:24AM (#27234342)
We overcame that hurdle by painstakingly recreating the default Windows titlebar(s) in our own UI toolkit.
Re:Sublime Text 4 by thieving_magpie on Friday May 21, 2021 @12:14PM (#27235968)
It's appreciated and looks great.
Re:Sublime Text 4 by gaws on Friday May 21, 2021 @09:32PM (#27242343)
Do you use Sublime Text for development?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @10:50PM (#27242891)
I've been using Sublime Text long before I started working. I use it for any code or text related functionality. Of course it's also used internally by everyone working on our products.
Re:Sublime Text 4 by yugene on Friday May 21, 2021 @01:25AM (#27230796)
Congratulations on the release!
Re:Sublime Text 4 by demarq on Friday May 21, 2021 @03:59AM (#27231549)
anything improved for Rust?
Re:Sublime Text 4 by ben-schaaf on Friday May 21, 2021 @04:00AM (#27231551)
There are a number of improvements to the rust syntax.
Re:Sublime Text 4 by demarq on Friday May 21, 2021 @06:21AM (#27232276)
Thank you