Apparently I am the only one who looks at Twitter’s new font and fairly minimal UI changes, shrugs, and mumbles, “it’s fine.”
Apparently I am the only one who looks at Twitter’s new font and fairly minimal UI changes, shrugs, and mumbles, “it’s fine.”
I wasn’t sure if I’d use BBEdit 14’s notes feature, but I’ve been using it a lot at work. “Keep a todo list in plain text” has always been the least worst task management system for me.
I’ve been linked to from Daring Fireball for the first time in years. (Granted, it’s not like I’ve been writing tech blog posts very often in years…)
Apple Tech Note: Resolving iCloud syncing issues. In order, try: 1. Restarting the app. 2. Logging out and back in. 3. Rebooting. 4. Performing a cleansing ritual. 5. Shrieking in despair to the uncaring heavens. 6. Rebooting again. Was this document helpful?
1½ oz. light rum, ½ oz. Rhum Clement Creole Shrubb (or orange curaçao), ¼ oz. simple syrup, dash or two of tiki bitters, shaken and served up. I don’t know what this is, but it’s terrific. 🍹
My Elixir package for BBEdit is available, with syntax highlighting, clippings, and a bundled language server: github.com/chipotle/…
So, I ordered a new Apple Watch, and since I will lose my car for a few days at 1pm today I got courier delivery. It’s fast! It’s surprisingly cheap! And it’s marked as delivered a half-hour ago, even though I haven’t seen the courier yet. Uh.
Managed to crack my Apple Watch this morning through an unlikely combination of catching its loop band on the stupidly designed stand I’m using for it, sending it off the nightstand with force against the edge of a bed frame. How’s your day starting?
Making a batch of “Joan’s Broccoli Madness” salad, from the now-defunct Sweet Tomatoes/Souplantation salad buffet chain. The apartment currently smells overwhelmingly of bacon.
When TextMate burst onto the scene in the mid-2000s, it didn’t take aim at Emacs and Vim as much as BBEdit, a Mac-only editor around more than a decade at that point. TextMate offered radically easy ways to create sophisticated new language modules and plugins compared to most editors of the day. Mostly, though, TextMate had Ruby on Rails: David Heinemeier Hansson developed the framework with early versions of the editor, making it almost custom-built for Rails. That gave TextMate a boost working with other server-side frameworks.
Since then, cross-platform editors and IDEs like Microsoft’s Visual Studio Code and JetBrains IDEs have come to dominate the coding world. This is an issue for those of us who want Mac-assed Mac apps. I hung onto TextMate and then the native-but-weird Sublime Text, shifting to Code somewhat reluctantly. Last year, I pounced onto Panic’s new Nova, reviewing it positively shortly after release.
BBEdit is obviously a Mac-assed Mac app, and for reasons I’ll return to, I came back to it years ago for technical writing—but not for coding. (It sometimes seems like BBEdit’s biggest fans are writers.) Some more code-focused users, though, haven’t looked at it in years. With the release of version 14, should they reconsider?
Few editors have been around longer than BBEdit—and few have been as rock-solid. I don’t think I’ve ever lost work. It can even “rescue” never-saved documents you mistakenly close without saving!
Yet, that venerable age has become a double-edged sword. “Looks old” is a dismissal I’ve heard a lot. I’ll be honest: to me, it looks like…a text editor.
It’s information dense, but neither overly busy nor packed with unnecessary bits. (Nearly everything shown here can be turned off, too.) One thing you don’t see? Tabs. Instead, there’s an open documents list in the sidebar. If you end up with a dozen or more files open at once, this approach starts really showing its advantage.
Here’s something cool:
This editor understands PHP well enough to know that after you type
$handler->, it should offer methods from the
Handler class as autocomplete options, because it knows
$handler is an instance of that class.
This level of introspection used to be the exclusive domain of IDEs, but a couple of years ago, Microsoft introduced the Language Server Protocol for Code, so plugins could offer this functionality. Nova supports LSP natively, and with version 14, so does BBEdit. In addition to smart autocompletion, BBEdit uses language servers for:
See the green dot in that screenshot? It’s a dropdown for showing errors and warnings in a file. Individual lines also get their line numbers highlighted and the issues shown by underlines. (The snippet above shows
$response with a red underline in two occurrences: the first because that line isn’t complete and so has a syntax error on it; the second because, thanks to the first error,
$response isn’t defined yet.)
BBEdit is preconfigured to use many language servers, like Intelephense, out of the box once they’re installed. This can be considerably more complicated in other editors, especially if their LSP support is itself provided by an extension.
A couple of caveats: first, a lot of language servers apparently haven’t been tested with anything but Code, and can get quirky with any other editor. Sometimes BBEdit can work around quirks, but not always. Second, BBEdit doesn’t support all LSP features. For instance, documentation won’t pop up when you hover your pointer over a function or symbol.1
BBEdit 14 now has a “Notebook.” This takes the already-existing “scratchpad” feature (itself unique to BBEdit) a step farther, storing multiple notes as individual sheets within an always-available Notebook window. By default, BBEdit creates notes as Markdown files, but you can change them to other languages. As with any text file, you can create new notes from the clipboard or from selected text, by dragging text, or even from the shell by piping text to
I haven’t played with the Notebook much yet. It strikes me as the kind of feature you’re either going to rarely use or use all the time, and it’s not clear to me where I’ll fall. I use scratchpads a lot, though, and have a weakness for note-taking apps. I could imagine putting together a package that offered some basic to-do list functionality that might effectively replace TaskPaper, too. It’s not Emacs’s legendary Org mode, but then again, it doesn’t make you learn Emacs.
Beyond that, BBEdit now supports Emmet for HTML and CSS expansion if you install the Node Emmet module; if you make from-scratch HTML pages a lot, this is a big deal. If you’re a Python programmer, BBEdit is now aware of Anaconda/Conda virtual environments out of the box, and lets you switch between them with its shell menu.
When I became a full-time technical writer in 2014, I tried a few different editors and settled on BBEdit, even though its Markdown syntax highlighting is…spartan. Why? Because BBEdit is a Swiss Army knife, a Leatherman multi-tool, for text processing. In no particular order, here’s some interesting things BBEdit does that I rarely see in other editors.
The Unix Worksheet in BBEdit deserves its own paragraph. Send any line in the worksheet to your shell by tapping Control-Enter, and the output from the shell appears under that line in the worksheet. You can’t run interactive shell programs this way, but for most commands you now have an editable, modifiable history. In my technical writing, I create lots of local branches; I usually use a worksheet to clean them up by running
git branch to get a list of them, then adding
git branch -d before each one I no longer need. The worksheet is inspired by the long-defunct MPW, but Emacs fans might consider it a cousin of shell mode.
Lastly, another feature of BBEdit worth checking out: the 400-page user manual. Yes, that is what a technical writer would say, but it’s a remarkable boon.
BBEdit has a more “batteries included” approach than most editors, and so needs fewer third-party extensions. But, the integrated managers in Code and Nova make a strong argument for a centralized package index. Sublime Text’s Package Control started as a third-party system, so it’d be possible for someone else to take up the mantle here. The closest BBEdit has is BBEdit Extras, and while it has some good stuff, it’s also got a lot of outdated (and frustratingly undated!) stuff and an awful lot of link rot.
Sublime Text popularized multiple cursors in text editors. BBEdit’s processing commands can do nearly anything these can—honest—but if you’re a multi-cursor junkie, it’ll be an adjustment.
Codeless language modules only set colors for strings, comments, keywords and “predefined names,” along with delineating functions for navigation and folding. CLMs also can’t be used for templating systems like Jinja or EEx that exist as “embedded languages” in HTML. You can write a more powerful language definition in Objective-C—I presume including templating languages, since “PHP in HTML” and “Ruby in HTML” are standard—but that’s a hella big ask.
I’ve long believed that BBEdit’s balance of text processing power with discoverability and ease of use makes it the best tool for “documentation as code”-style technical writing on the market. But at least for me, it hadn’t kept up with the state of the art for coding. With BBEdit 14, this no longer feels true.
So, I’m moving back. I’ve created a new color scheme, SpaceBones, inspired by the default color scheme of Spacemacs. I’ve been working on an up-to-date package for Elixir that comes with an LSP, as well as creating a new set of clippings for PHP 8. My old Editor Actions package may get a reboot. Hopefully, there will be ways to publicize these; I’d love to see a BBEdit-focused project similar to Vim Awesome.2
If you’re already a BBEdit user, version 14 is an essential update. If you’re not—whether you used it years ago but drifted away, or never used it at all—it’s time to give it another look.
BBEdit 14 is $49 new from Bare Bones Software, with upgrade discounts for owners of earlier versions, or from the Mac App Store with a $39/yr annual subscription. You can use BBEdit for free with a more limited feature set. Disclosure: I beta-tested BBEdit 14, and received a free upgrade serial code.
TL;DR: I’m not using it much.
I’m sure my review of Nova made it clear that I wanted to like this editor a lot. In practice, though, it’s felt more like its predecessor Coda and a similar competitor of Coda’s era, Espresso, than like Visual Studio Code or BBEdit: targeted chiefly at web developers mucking about with static websites. (Which, to be fair, is a sizable audience; my website is static, and Nova’s pretty good with it.)
Nova’s built-in smart autocompletion hasn’t proved particularly smart when I’ve been using it, which in some ways makes it more frustrating than not having it at all. Backing it with a language server theoretically improves it, but Nova’s LSP support is fragile and weird. I don’t mind it being somewhat incomplete, but it’s entirely dependent on third parties writing extensions that talk to language servers—which would be fine if they worked. But at least in the languages I use, they don’t. For PHP, there are two wrappers for Intelephense; one just flat out doesn’t start, and the other one makes Nova crash on startup. For Elixir, the elixir-ls extension works in the sense of, you know, not crashing, but mostly what it seems to do is hover huge documentation pages over the screen if the mouse pointer rests over an Elixir keyword. (I have heard Nova’s TypeScript extension is solid, but I haven’t tried it.)
Beyond that, when it comes to the basics of just editing, Nova is…fine? It does the job. But—like Coda and Espresso—it doesn’t have the selection and manipulation chops of higher-power editors. I still have no idea what commands like “Select All in Any Scope” are supposed to do because they’ve never worked. Nova’s clips are useful, but limited compared to the equivalents in BBEdit or Code (or any editor, like Code, that basically adapted TextMate’s snippets).
So, am I going to renew for the $49 annual subscription? I haven’t entirely ruled it out, but, well, it’s not looking good. I’ve been spending much more time back with BBEdit recently…but that’s another article.
Removing dark mode from my web site and microblog, at least for the time being. It’s just too fiddly and light backgrounds are fine. Okay? They’re fine.
It still feels kind of weird to be (a) out with an iPad again, (b) out with an iPad that has an external mouse, and oh yes, © out without pandemic restrictions. (This is still a very well-ventilated microbrewery, though.)
Back at the unnecessarily beautiful Roundhouse Conference Center in San Ramon for the first time since late 2019. I used to come here sometimes on “WFH Thursdays”; it’s just re-opened, but—with most of the business park around it still closed—it’s still a ghost town.
If I could make myself use Emacs, Spacemacs would be the version of Emacs I’d be making myself use.
A BBEdit color scheme: SpaceBones, bringing a Spacemacs-inspired vibe in both light and dark variants. github.com/chipotle/…
Pro tip in porting editor color schemes: accidentally setting the foreground and background text to the same color makes things hard to debug.
Working on a general review of BBEdit, but I may write a “BBEdit for technical writers” article at some point, too. I think it’s one of the best “docs as code” tools on the market.
Finished watching HBO Max’s “Hacks.” This is just a surprisingly great show. 📺
Possibly somewhat ironic that my review of Panic’s Nova text editor is usually a very high hit for “panic nova review” while I’m likely to be moving back to BBEdit for coding. (I never left BBEdit for technical writing.)
After about three minutes of use, Mimestream is instantly my favorite Gmail client. I really hope it gets extended to work with regular ol’ IMAP stuff soon.
Okay, after a week with Firefox: slightly better extensions, perceptibly slower than Safari, bigger and clunkier window chrome, takes a weirdly long time to quit, loses formatting when pasting rich text into web forms where Safari doesn’t. On balance: sigh.
TIL it is not possible to send Elixir code samples as Gmail attachments, even zipped, because Google has decided that files with “.ex” extensions are suspicious and must not be allowed. Thanks, Google!
Okay, after a very short amount of time, I am leaning more toward taking the expensive keyboard back and resuming my “travel with external keyboard” ways. It’s not that the Magic Keyboard isn’t super impressive, but I just don’t think it’s right for me.
Going to go out with the new iPad as a test run—I’m seeing if the M1 Air has turned me back fully into a laptop person for portable writing setups, and I should return the iPad’s keyboard while it’s still possible to get a refund. (I’ll have to be very careful with it…)