Live data from Hacker News

I still like Sublime Text

ohdoylerules.com

611–620 of 620 posts

Re: I still like Sublime Text

#611

Earlier quoted context omitted.

Sublime is the best! I've been creating a new programming language ACPUL with Sublime for 10 years https://old.reddit.com/r/acpu/comments/1fxxjtx/acpu_mobile_d... . I don't have the resources, so please add support for the ACPUL programming language. If Sublime had a good debugger, it would be even more powerful.

Support for syntaxes (and/or debuggers) are mostly provided by the community. Creating a syntax for your language shouldn't be that hard afaik. Just head over to https://discord.sublimetext.io to talk to the active community

Yeah, I know. I think maybe there are interested. Thanks for the comment and link

Re: I still like Sublime Text

#612
post #322

Earlier quoted context omitted.

I'm in the best boat, I don't want to use LLM but I think ST having hooks to allow people to make such plugins (if those don't already exist) would be a fine thing. Luckily, that boat has loads of space and you're all invited :P

Sure, I'm fine with this boat :D

I'm aboard for sure!

Re: I still like Sublime Text

#613
post #597
post #549

Earlier quoted context omitted.

Some of us have jobs and do this professionally, not as a hobby. That’s why we use an IDE. Vim is a fun toy where you can hack together a poor man’s IDE but I grew out of that phase a long time ago. In some cases we are forced to use a specific IDE. Not optional.

An IDE is largely just a wrapper over terminal commands plus a set of language-specific editing affordances. If your language has a good LSP, vim (with a few plugins) can be all you need in a professional setting.

You could also say that a command line terminal is just a wrapper around the OS's process start function.

But in all seriousness a good IDE is much more than a text editor and buttons which run terminal commands. The main thing a good IDE has is a good debugger, which not only allows for stepping through code easily, but also shows the values of variables, memory, registers, in one easy to use interface.

If you don't use a debugger then either you're only building very simple programs, or you're stuck in some sort of special hell when it comes to debugging.

Re: I still like Sublime Text

#614
post #613
post #597

Earlier quoted context omitted.

An IDE is largely just a wrapper over terminal commands plus a set of language-specific editing affordances. If your language has a good LSP, vim (with a few plugins) can be all you need in a professional setting.

You could also say that a command line terminal is just a wrapper around the OS's process start function. But in all seriousness a good IDE is much more than a text editor and buttons which run terminal commands. The main thing a good IDE has is a good debugger, which not only allows for stepping through code easily, but also shows the values of variables, memory, registers, in one easy to use interface. If you don't…

Oh, true, debugging affordances as well. You can also use a debugger from the command line, though—the IDE is wrapping terminal commands, or at least wrapping a library and providing functionality equivalent to that library's terminal client.

I never got in the habit of terminal debugging, but I'm sure some people prefer it over using a GUI. I'm that way for git: The command line interface is unintuitive, but I've gotten accustomed enough to it that it feels comfortable.

Re: I still like Sublime Text

#615

Earlier quoted context omitted.

> but I immediately lost an important file Zed has an "autosave" setting, it's just off by default.

Sublime’s behaviour isn’t an autosave, it just never loses text in a window. You can upgrade the entire OS, start Sublime and your windows and text will be waiting for you, regardless of saved or unsaved state. I’ve got five-year-old scratchpad windows open that I’ve never saved.

If you have multiple windows open and close them in the wrong order, you lose everything but the last one. Learned that the hard way and now never have more than one open.

Re: I still like Sublime Text

#616
post #603
post #600

Earlier quoted context omitted.

lol, this is a good one, made me smile! I’ve definitely met coworkers like that — you nailed the parody 100%. So ridiculously condescending, and yet so common!

OP thinks IDEs are toys. I think Vim is a toy (beyond its functionality as an editor where it is definitely not a toy). I've been using IntelliJ for at least 10 years now. If you have used it, you know what I'm talking about. IDEAVim plugin provides Vim key bindings and Vim editing mode, so it has the best of Vim and an IDE in one application. Refactoring and navigation in IntelliJ is superior to whatever you can hac…

I kind of share your view, but on a lower order of magnitude: I prefer vim, but now that I'm getting older, _neovim_ has come out. And of course it has all this fancy horseshit that essentially makes it look like an IDE. Things like git integration "zen mode", and what-have-you. But every time I've tried to use these "cool" plugins, they never fucking work! Like, if you show these cool screenshots, and represent that if I install them, I get zen mode, git integration, catpuccin color theme, then I expect it to just fucking work. I'm not going to sit there and PLAY with it (i.e. a toy) till I get what was shown to me. I want to crack open the tool and use it.

Another thing that always gets lost in these dev env debates is what language and use-case. I do mostly C++, and most of my time is spent going between 2 or so buffers. I'm not doing something that requires zipping across several unique files per minute. Even if I do need to change files, having a slower mechanism to get there causes me to think more carefully about what I actually need to do there. So the extra 5-10 seconds aren't fully lost.

Re: I still like Sublime Text

#617
I avoid VS Code like the plague, been resisting it for years now, I still have the scars of ie6 to know no MS product can be trusted. Not to mention how bloated it already is, uses Electron to function, I can already imagine its core engineers sitting somewhere similar to an XP background sipping on ice tea and saying to themselves "who needs to optimize code editors, devs have millions of cores anyway" the phrase "compile to native" was never uttered in their blue and green background life. So no I'm not going to use a freaking browser to write code in no matter how much the hn hivemind really wants me to.

Sublime has been sublime for over a decade that I've been using it, I prefer version 3 and still have all the old packages/themes compatible with it. I have my favorite theme Afterglow. I've made so many changes to it, there is a command on save in every project folder I have for things like quick deploying apps be it a quick npm build + rsync or more complex capistrano prod deploy command, or sending a ctrl signal to a sock file to have chatgpt's response appear after asking it anything and pressing cmd+s in any open .md file. It's glorious seeing its response stream right there and then.

Screw people making bloated IDEs and feel sorry for people who use them because they don't know any better.

Sublime is pure, extremely quick to search or load massive files, I often have over 20 folders/windows open each with hundreds of dual column tabs. Never have to close it because it's running out of memory or bogging down my system, never. It's written well, the person who made it cares for writing good code and making good software. That's all you really need to know.

Sublime is the way to go and will most likely will be for the next 10 years at least for me.

Re: I still like Sublime Text

#618

Sublime Text developer here, thank you for all the praise! I'm looking forward to what we can accomplish this year. If you have any questions I'd be happy to answer.

1. You've said that the UI system is tightly coupled with the text editor. What are the benefits to this? How difficult was it to use the UI system with sublime merge?

2. How are you able to maintain stability of the application? Do you have an extensive test suite? What QA do you have in place?

2a. How do you ensure that there is no regression in editor performance?

3. Sublime text is almost 2 decades old. How has the code based evolved since then? Does it have a lot of technical debt, or has the core of the editor aged well and remains relatively unchanged?

Re: I still like Sublime Text

#619

I use sublime as a copy paste buffer when I need excellent visual regex search and replace. Vscodes regex search has awkward semantics (or at least I don't know them as well as sublimes) so I usually paste things into sublime, edit them with the regexes, then go back to what I was doing. My work has some extensions that only work in vscode so I'm stuck with it but it's good enough. I also never close sublime tabs and…

If you use windows, you can use WIN + V instead of using an editor for a copy paste buffer. WIN + V activates clipboard history, so you can see and select things you copied previously.

And on macOS an open source Maccy app is a great clipboard manager / buffer.

Re: I still like Sublime Text

#620
post #350

Earlier quoted context omitted.

Not remotely the same, false equivalence. I don’t regularly need to add CPU instructions; I do regularly need to amend my tools.

Yet you deny this freedom to your own users (as seen in a AGPL thread in 2021). Interesting.

Users of a service provided by software running on someone else’s computer and users of software that runs on their own computer are not remotely (no pun intended) the same thing.

The AGPL is plainly a nonfree license. @marcan has documented the other nonsensical requirements it has and how complying with it as written is basically impossible even if you want and intend to.

It was created by anticapitalist zealots who want to conflate use and modification of software (a solo activity) to consumption of a service (an activity that involves others). It fails both logically and legally.

The fact that people regard the AGPL as a free software license is insane to me. It reduces your rights if you plug an ethernet cable in. It’s insane.

Post reply on HN