Today, I want to talk about why Sublime is still the best text editor you can get, and what my setup looks like. This story actually starts with an old Dell computer and an open source project… Notepad++I first learned to code on a Windows machine. When a friend introduced me to Notepad++, it was game changing for me! That was my first experience with a good text editor. I recently learned that the creator also has a long history of using Notepad++ for progressive political advocacy, which has led to it being banned in China and pissed off the right people. It makes me love it even more! But Notepad++ is Windows-only. Sublime TextWhen I switched to a Mac, I was desperate to find a replacement for Nodepad++. And then I discovered Sublime Text. One of my favorite things about Sublime, frankly, is that it feels like a macOS alternative to Notepad++. It's simple. It's powerful. It's extensible. It doesn't get in your way. It's damn near perfect! I paid for a license over a decade ago, and it's been my every day text editor ever since. Why not VS Code or {insert your favorite IDE here}?Frankly, why would I switch? I have a text editor I love, that I paid for, and that still works great. Switching to something new just to switch to something new is silly! I did try VS Code when it first came out and was the new hotness. Every now and then I open it up again (mostly to copy/paste code into Keynote with syntax highlighting). VS Code feels like an arcade to me. It's loud. It's busy. It's slower to open. And it just does too damn much. It has some nice features, but I want to add features I want, not remove all the ones I don't. My Sublime Text SetupI use a small handful of plugins to customize my Sublime experience a bit. Most of them are used to make writing code a bit more enjoyable…
For my theme, I forked Monokai Extended and added a variant that has slightly nautical hues. I use the Schemr package to toggle between light mode and dark mode using a keyboard shortcut. For linting, my boss at Nebula.tv recently introduced me to LSP. I was using SublimeLinter and JSHint before that, but LSP (with the appropriate language extensions) is so much more powerful. It features fantastic autocomplete based on existing functions (including those in other files in the code base), well documented error messages, and links to external reference docs (like MDN) when appropriate. The best text editor is the one you likeThis is just, like, my opinion, man. Sublime isn't better than other text editors (ok, it kind of is). It's just the one I like best. If you're happy with VS Code or vim or neovim or something else, just use that! I would encourage you to stop jumping from one text editor to another every time some shiny new tool comes out, though. Like this? A Go Make Things membership is the best way to support my work and help me create more free content. Cheers, Want to share this with others or read it later? View it in a browser. |
0 Komentar untuk "[Go Make Things] A Sublime coding experience"