.

HD Mp4 3gp Video
Live Update Video
Direct Video Video
Play/Download
Live 3D App
Search.Pencarian Menu

Add text send email to rh3252705.adda@blogger.com or Click this (Text porn Will delete) | Tambah teks kirim email ke rh3252705.adda@blogger.com atau Klik ini (Teks porno akan dihapus)
Total pos : 19025+

[Go Make Things] A Sublime coding experience

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 Text

When 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 Setup

I 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…

  • Package Control. For installing other plugins, since Sublime ships without a built-in package manager.
  • BracketHighlighter. Highlights the matching bracket for blocks of code.
  • ClickableURLs. Let's you click a URL in your text editor and open it in your browser. The package is archived now, but still works just fine!
  • Compare Side-by-Side. For comparing two files side-by-side.
  • DocBlockr. Autocompletes a DocBlockr/JSDoc style comment whenever you type /** and hit enter.
  • GitGutter. Shows git information in the gutter: additions, deletions, quick revert, and so on.
  • Prettify. Autoformats HTML, CSS, JavaScript, JSON, and more. Useful for expanding minified or poorly formatted text into something usable.
  • Markdown Editing. Adds some nice autocomplete features for writing in markdown.
  • ToggleQuotes. Lets you easily toggle between single quotes, double quotes, and backticks.
  • Additional syntax highlighting packages for Sass and ApacheConf.

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 like

This 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,
Chris

Want to share this with others or read it later? View it in a browser.

Share :

Facebook Twitter Google+ Lintasme

Related Post:

0 Komentar untuk "[Go Make Things] A Sublime coding experience"

Back To Top