Live data from Hacker News

Sublime Text 4

sublimetext.com

371–380 of 647 posts

Re: Sublime Text 4

#371
post #82

One of the features I am most excited about it tab multi-select. The simplicity of using it versus traditional pane management is really key, in my opinion. Instead of having to manage groups and the files within them, tab selections are very fluid and low overhead. From the user experience perspective, I think they are as fundamental as multiple selections and Goto Anything are. There are some docs at https://www.su…

Oh wow! Thanks for pointing this out, that really does sound interesting. Until your comment, I had thought tab multi select meant you could do multicursors now across tabs.

Re: Sublime Text 4

#372

Earlier quoted context omitted.

The one I’m using is $1000. That’s a bit pricey, but strikes me as reasonable value for money. Especially since this is the best performing laptop I’ve ever used. I get what you’re saying though. Many folks might only have budgets in the range of $500-800. With any luck, other manufacturers get their shit together.

Some people have budgets of $0; they have to use the device they're using currently. I'm already feeling empathy for them in a year or two once all their apps are written by software engineers on Apple silicon Macs who don't test performance on older hardware…

If their budget is $0 then Sublime Text isn't an option, so I'm not sure what you're arguing here.

Sublime Text costs $100.

Re: Sublime Text 4

#373
Even though I stopped using it as my primary development editor years ago I still use it every day for quickly writing notes and quickly editing arbitrary files.

I just checked, I bought my license in 2013 and since I really appreciate good software that support linux I just upgraded the license.

Thanks for creating a product that has turned out to be useful in many ways over the years!

Re: Sublime Text 4

#374
post #342

Earlier quoted context omitted.

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…

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.

Great to hear it has not been abandoned :)

Re: Sublime Text 4

#375
post #293

Earlier quoted context omitted.

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.

This is a known limitation that we're looking at addressing in future updates.

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

#376

Earlier quoted context omitted.

You can make modified tabs more visible with the "highlight_modified_tabs" setting.

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 wh…

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

#377
post #218

Earlier quoted context omitted.

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.

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.

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

#378
The new auto-complete is really impressive.

I've always been a big fan of using snippets and auto-completing based on open buffers in a project instead of using LSPs.

I haven't used ST in a while but decided to install ST4 to try it out.

I opened a Flask application that uses SQLAlchemy. I opened a Python file and typed User. and then it showed me a list of fields and methods on my User model without having the User model open in a buffer.

I did the same thing in an Elixir project and after installing the Elixir package it worked for project specific "things" in my app. Like after typing UserView. it showed me only functions available in that view. Likewise it did the same thing with context modules, it picked up all functions inside of a specific module.

In both cases as I started typing "User" it showed me options to pick from. In both cases it also listed out the number of definitions for a specific "thing" and lets you quickly jump to a specific one. If you mouse over a function it brings up the list to pick a definition / reference. There's also key binds to bring up a CTRL+p'ish feeling menu to see and preview the file where something is being used.

It's not as good as a LSP but it's definitely a few notches above what I've seen in other editors and the best part about it is not needing to configure multiple LSPs and it's lightning fast.

Re: Sublime Text 4

#379

Earlier quoted context omitted.

The one I’m using is $1000. That’s a bit pricey, but strikes me as reasonable value for money. Especially since this is the best performing laptop I’ve ever used. I get what you’re saying though. Many folks might only have budgets in the range of $500-800. With any luck, other manufacturers get their shit together.

Some people have budgets of $0; they have to use the device they're using currently. I'm already feeling empathy for them in a year or two once all their apps are written by software engineers on Apple silicon Macs who don't test performance on older hardware…

All of the worst performing apps on OSX are cross-platform.

So not sure why you're feeling sympathy when you will have exactly the same performance issues only without the power and efficiency of the M1 SOC.

Re: Sublime Text 4

#380

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.

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?

Post reply on HN