Live data from Hacker News

Sublime Text 4

sublimetext.com

401–410 of 647 posts

Re: Sublime Text 4

#401
post #306

Earlier quoted context omitted.

For people not fortunate enough to own an M1, it’s a slow to start typical Electron app. Don’t get me wrong, I love and use VS Code. But performance isn’t in the same league. Sublime Text basically does what you describe above on ANY hardware.

Anecdotal, but on my Intel/Windows laptop, VSCode opens instantly and has my sizable project loaded in I have one Electon app that I wrote myself and it's pretty fast as well even though it deals with a boatload of things, and I didn't really put any special effort in to achieve that. Both on my current laptop (which is admittedly a 10th gen i7) and my older one (8th gen i5). Not to say that Sublime doesn't load fast…

Saying it's a trope is wild. In almost any comparative metric you could think of, they are slow.

Re: Sublime Text 4

#403
post #390
post #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…

> The new auto-complete is really impressive. How does it compare to YouCompleteMe or TabNine?

I haven't tried TabNine but according to its home page it doesn't support Elixir. It also requires a monthly subscription (the daily limit would be consumed in about 5-10 minutes of coding). I don't mind paying for things but at this time I'm not interested in subscribing to more services.

YCM feels more like a LSP client than buffer / project level auto-complete. AFAIK it requires you to have a language's runtime specifically installed which is a deal breaker for me. Most of my apps run in Docker and I don't have local copies of any runtimes installed.

ST4 works wonderfully in this case because it parses everything out based on syntax highlighting rules.

Re: Sublime Text 4

#404

Earlier quoted context omitted.

That's incredible. From the website it looks like a Windows-oriented tool. If it weren't for your product I wouldn't have even guessed they had a Mac version. I bet they'd do much better with adoption if they customized their homepage screenshots to the platform viewing the page… For others curious about Column Mode, here's their link with a nice video: https://www.ultraedit.com/support/tutorials-power-tips/ultra...…

It could be because they started as a Windows only product, then they produced a Linux version, and finally the Mac version. I have only used the Windows/Linux versions. By the way, with one license you can use all 3 platforms. I actually use the Portable Windows version, for when the company I work for won't allow me to install software :)

Indeed, I purchased a perpetual Ultraedit license for Windows, Mac and Linux many years ago. I like the hex editing, huge file support, column editing.

Re: Sublime Text 4

#405

I was a Sublime user, then Atom, and now I’m a VS Code user. In 2021, what reasons are there to use Sublime over VS Code? Performance is the only one that comes to mind, but there are surely others... right?

I've tried VSCode a few times hearing it was better for Elixir. I have a strong dislike, bordering on hatred, for IDE's. I don't want a bloated environment that gets in my way with features I don't want but seemingly can't turn off. VSCode feels like an IDE to me. Back in the day I moved away from Eclipse to Sublime and built command line tools to do what I needed with building releases (Ant - does that still exist? LOL I don't do java anymore).

When you realize you want VSCode to look and feel like Sublime, and spend hours trying to tweak settings, turn things off, use Sublime keybindings, etc. why bother? Just use Sublime. Also, I like paying indie devs for their work.

Re: Sublime Text 4

#406
post #300

It's software like Sublime that sustains my faith in the software industry and why I'm still a developer. It's beautiful, efficient software that single-handedly proves that desktop software in 2021 doesn't have to be a shit, low quality side show to SaaS "apps" and mobile. Heaven knows what their code looks like. Perhaps it's best it never goes open source so we can sustain the Opera-esque magic of a <10MB binary th…

I tried Sublime text and I really like it. But I have been a user of UltraEdit for many many years (maybe 20?) and I still find it much more natural to use. I found it while looking for an editor to replace Semware's Qedit (DOS). I wonder why UltraEdit has not much love here. I do find Sublime's price much better than UltraEdit.

I used UltraEdit a million years ago and I think it’s just a matter of familiarity. I remember being unable to go back to BBEdit when I switched back to Mac from Windows, I was so tuned in to UE’s power features.

When I tried Sublime 2 I wanted to like it but it just felt weird, so I went back to… TextMate, which probably feels weird to other (especially younger) people. But I’d been using TextMate forever and had a lot of things integrated with my shell so that was my “normal.”

I’ll give Sublime another try though: I want their business model to work, I love that they’re cross platform, and the plug-in API looks pretty nice now that I’ve done a bunch of Python work.

Re: Sublime Text 4

#407

Earlier quoted context omitted.

I tried Sublime text and I really like it. But I have been a user of UltraEdit for many many years (maybe 20?) and I still find it much more natural to use. I found it while looking for an editor to replace Semware's Qedit (DOS). I wonder why UltraEdit has not much love here. I do find Sublime's price much better than UltraEdit.

UltraEdit is probably the best text editor there is. Not the best IDE or anything, just the best text editor. It seems thoroughly underappreciated, though, for some reason. It's the only editor I'm aware of that can do do disk-based editing, that is you can open a file of multiple gigabytes quickly and edit it because it doesn't load the whole file into RAM.

Another underappreciated editor is visual slickedit[1]

It will happily allow you to edit TB large files

[1] https://www.slickedit.com/

Re: Sublime Text 4

#408
I've used ST (2 at the time) for a long time, back when IDE's were hardly offering any help or support for web development (early 2010's), since they couldn't make heads or tails from JS applications.

I've done some other things in the meantime, some Java, some iOS development, etc. I tried Atom for a while, but it was just too sluggish. Then came VS Code, and for a good while that was the One. And to date, VS Code still gets frequent major updates and active development.

However, nowadays when I scan the changelog, 99% of it is just not relevant. They spent a ton of development time building a terminal client into it. Which I guess makes sense for the use case where it's an in-browser editor, but personally I could have done without. Other things I don't really use are debuggers, remote editing, etc. It's still snappy enough, but I don't know if it's still relevant for me.

For the past year or so, I've been using intellij as my primary editor for everything; JS and TS support are now good enough, performance is good enough, and it's a big help with Go, old PHP / JS, etc code.

But I'm still nostalgic about ST from a decade ago, how fast and frequently I would just go `subl somefile` and it would be just There. Or the time I found a todo plugin that just worked fast and intuitively. Or the joys of cmd + p to open a file quickly, or fast global find & replace (really useful if cmd+click on a function doesn't navigate to said function).

I just hope it works well with existing system and languages, e.g. using the TS language server or Gopls. I don't need it anymore as an all day working environment, but quick and dirty editing, yes please.

Anyway yeah I just bought a license.

Re: Sublime Text 4

#409
post #300

It's software like Sublime that sustains my faith in the software industry and why I'm still a developer. It's beautiful, efficient software that single-handedly proves that desktop software in 2021 doesn't have to be a shit, low quality side show to SaaS "apps" and mobile. Heaven knows what their code looks like. Perhaps it's best it never goes open source so we can sustain the Opera-esque magic of a <10MB binary th…

I tried Sublime text and I really like it. But I have been a user of UltraEdit for many many years (maybe 20?) and I still find it much more natural to use. I found it while looking for an editor to replace Semware's Qedit (DOS). I wonder why UltraEdit has not much love here. I do find Sublime's price much better than UltraEdit.

QEdit on DOS... now that brings back some memories! I went in for their flagship TSE (The Semware Editor) when it came out and was duly impressed.

I have used Notepad++ as my regular non-IDE editor for probably 15 years; there are a handful of (semi-)unique features that I really appreciate. I'm guessing UltraEdit keeps its user base for similar reasons.

Re: Sublime Text 4

#410
post #376

Earlier quoted context omitted.

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.

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.

Post reply on HN