3 ms·
No argument there. But Sublime does support those languages. You just need to install the right plugin. The question is whether this should be baked in, or whe
by nickelcitymario 6y ago
No argument there. But Sublime does support those languages. You just need to install the right plugin.
The question is whether this should be baked in, or whether it should be managed with plugins.
There are lots of features people might want. Including them all creates a bloated text editor at worse, and a mediocre (IMHO) IDE at worst. I maintain that Sublime isn't and shouldn't be an IDE.
So they're better off only including the features that are very widely needed for a text editor, and then supporting the rest as plugins.
After all, isn't the ability to extend Sublime with plugins one of the biggest selling points? By being lean, it wastes as little computing power as possible on stuff you don't need, while giving you the ability to include virtually any functionality you do need.
I get that sometimes plugins fall out of active development or are broken for unacceptably long periods of time. But if the feature is something that the Sublime dev team wanted to support, there's no reason they couldn't support it as a plugin. Baking it in doesn't solve this problem, but it does create bloat.
I guess what I'm saying is: Why does language server support deserve to be baked-in more than any other feature? I have plenty of mission-critical needs that are supported by plugins. I don't expect them to be baked in just because they're important to me. I accept that the plugin ecosystem is the solution for my needs.
What makes language server support -- or any other beloved functionality -- so special?
- crooked-v 6y ago> What makes language server support ... so special? It allows creating plugins across multiple editors that all use a single language server project, rather of making plugin authors reimplement functionality from scratch based on a particular editor's quirks.
- nickelcitymario 6y ago> It allows creating plugins across multiple editors that all use a single language server project Ahhhh. Lightbulb moment. I can see now why this feature in particular should perhaps be baked in. I thought it was just about adding additional language support, but I see now that it's about developing once for many editors. If I could still edit my previous comments about language server, I'd update them all to say "I'm an idiot, don't know what I'm talking about."
- kstrauser 6y agoI had that reaction when I first learned about LSP. “It sounds like you’re reinventing the wheel by, say, coming up with another way to autocomplete Python in addition to what was already there. Oh wait, what do you mean that you’re planning on implementing LSP once for each language and once for each editor and then we’re in programming heaven? Ohh….”
- nickelcitymario 6y ago100%, definitely a slap-my-forehead moment.
- Shorel 6y agoLanguage server support can be considered as another plugin API. This is what makes it special.