Live data from Hacker News

I still like Sublime Text

ohdoylerules.com

321–330 of 620 posts

Re: I still like Sublime Text

#322

Earlier quoted context omitted.

I am in the exact opposite boat - AI is significantly improving my programming flow and having to use VSCode (well, VSCodium in my case) rather than something lightweight like Sublime is suboptimal - I would love a good plugin for LLM integration ala Cody and frankly that's the only way I could see myself as a paying customer.

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

Re: I still like Sublime Text

#323
post #117

Earlier quoted context omitted.

For starters, I love the licensing, as it is very fair: I bought a personal license and I can take it to as many machines as I have (I do use many different computers). And you can buy it one time, no silly monthly subscription fees. As a result, Sublime ist the only commercial (locally installed) software I still use, and it is always open. There are situations, where I use macros, regex substitutions, or browsing t…

> but I immediately lost an important file Notepad++ has had that feature (persisting temporary text buffers) before Sublime Text even existed.

I'd guess vim has had this (the .swp files) since the 90's.

Re: I still like Sublime Text

#324
post #284

Earlier quoted context omitted.

Emacs and Neovim are things one gets into in ones free time and gets good enough to make the switch at some point at the job. Of course that is mostly only feasible, if the projects at the job are set up in a tool agnostic way or choice exists in the first place. I also want to like Sublime, but I already have a well configured Emacs and I like using free/libre software. While Sublime was great when I used it in the…

> Emacs and Neovim are things one gets into in ones free time and gets good enough to make the switch at some point at the job. I'd probably never end up proficient with vim (and today neovim) if I didn't do the complete opposite of this and forced myself to use it for real work directly. True, I went a bit slower for one/two weeks, but if you really have to use something foreign for most of your work, you'll learn i…

I would be curious to know how you managed to do this. I really tried to do this but the tons of dev tools I am using was too much for transitioning to neovim for my daily work. Namely, I need a DAP, multiple dev tools (lsps, linters, formatters) because I work with several projects which do not have the same tools[^1]. Luckily, I do not mix multiple programming languages. Plus, I containerize all my dev env. There might be some elements missing, but the point is the number of tools is overwhelming and it makes me think that I should do the whole configuration/setup on my free time.

Did you face similar issues? If yes, how did you solve them? Or maybe your work does not need that much tools? Or you have been more minimalistic than me for the number of features to be included in the neovim configuration?

[1]: I work in R&D, I need to tweak and contribute in many papers code or different toolboxes/frameworks on top of the team projects.

Re: I still like Sublime Text

#325
Sublimes' skeleton is excellent- Python extensions are a pleasure to write compared to VS Code.

HOWEVER it desperately needs a UI/UX polish pass to stay competitive:

* Drag and drop in the sidebar folder list.

* Drag and drop tab to create 2+ column view.

* Focus the open tab if a file is already open in any Sublime window.. Please stop opening duplicates- one mistake and you've overwritten your work.

Re: I still like Sublime Text

#326

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.

Bought Sublime a decade ago, bought the new version last year, still love it.

If we're doing feature requests: a "recently closed windows" alongside the "recently closed files" would be amazing, for when I misclick and close a window containing a bunch of open files and a folder or two :)

Re: I still like Sublime Text

#328

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.

Why does sublime do code navigation in such a clunky way? Such as "go to definition". Control click does not work, instead you need to press the far away F12 key. It then opens up a new tab instead of an inline dropdown. Apparently that tab isn't normal text, it's clickable text. it contains usages as well as definitions so you need to manually scan and decipher the results. When you click on a result, it opens the f…

> It then opens up a new tab instead of an inline dropdown. Apparently that tab isn't normal text, it's clickable text.

If you're talking about the built-in goto-definition then it's definitely not a tab, it's a popup similar to goto-anything and the command palette. You can type to filter, use the arrow keys, press enter, ctrl+enter for side-by-side, etc.

If you want to use the mouse you can hover over the symbol and get a list of definitions and references.

> it contains usages as well as definitions

That sounds like you've got a syntax that isn't classifying its symbols correctly. I vaguely remember Microsoft's Typescript package doing this. All the built-in syntaxes properly classify definitions so you won't have references show up in that list. It's possibly simply removing a package will fix this for you.

> When you click on a result, it opens the file, but doesn't quite scroll to the definition, although it's in view (but not highlighted! So you have to scan for it again!)

Not scrolling to the definition is odd, it's working fine for me. I agree we could highlight the definition better; by default the line is highlighted though. You can enable line highlighting if that's too subtle.

> The little pseudo terminal that pops up at the bottom when you press ctrl+b (build) is also highly annoying. Why does it not accept keyboard input? I keep having to open a separate terminal where I can compile and test my TUI apps. If I just use ctrlB, then my app hangs waiting for stdin that I can never provide. And that waiting process never gets removed by ST either when I press ctrlB again.

We don't currently have a terminal, but the Terminus plugin is fairly popular if that's what you're looking for.

> Furthermore, ST isn't capable of recognizing my various Makefile build commands. ST only shows make clean and make when I press ctrl shift B.

We generally don't integrate that tightly with build systems; doing so effectively requires a plugin per external build system. Though I don't know if you'd actually want to have all targets listed for Make, since virtually everything is a target (and apparently this wasn't possible until --print-targets was added last year).

> Farthestmost, why does ST not recognize when I'm in a different directory, that it should use a different build system? Why do I have to manually tell it to use python instead of C when I am editing a python file?

If you have the build system set to "Automatic", then ST will automatically pick which ones to make available. For Make it'll check for a Makefile for instance. You can then use Build With… to select the one you want to use. If you've manually picked a different build system then that's what ST will use.

> Ok last one. Setting up a "replace occurances within selection" is highly unintuitive. When you enter the search term, that RESETS your selection. And you have to start over. Ugh. I want to select my search area, then tell it what to look for, then tell it what to replace with, then replace all within that area.

The behavior you want it to have sounds like how I remember it being, but that's clearly not the case; I'll have to look into that, thanks.

Re: I still like Sublime Text

#329

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.

I don't use ST as my daily driver any more but I still use it for fast editing of large files occasionally. I am daily driving Merge though. Any other Sublime apps in the works? Have you also considered offering ST and SM as a bundle price with a discount? I'd be interested just because of my lopsided use of the two apps.

We already offer ST and SM in a discounted bundle :)

Re: I still like Sublime Text

#330

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.

Thank you so much for the tool you've built, and for being so generous in how you license it. Sublime is always installed on my machine, Sublime Merge is great too :)
Post reply on HN