About the author



Sublime Text power user tricks (plus how to debug your PHP like a boss)

By josh / August 7, 2014

One of my favorite programming jokes of all time goes something like this: Some people, when confronted with a problem, think “I know, I’ll use regular expressions.” Now they have two problems. It’s funny because it’s true. But … Sometimes the alternative is painful enough that it’s worth figuring out a regular expression that will […]


How to select dash-separated words in you CSS files (plus 7 other tips)

By josh / June 26, 2014

Using dashes to separate words in CSS is a great way to make your stylesheets more readable, but there’s a problem: Sublime treats the hyphenated selector as two separate words, which means you can’t double click to select it. Here’s a fix (courtesy of compscientist). Check out this gorgeous, Yosemite-inspired replacement icon (OS X only). […]


Using Sublime Text multi-select to insert lists, numbers and GUIDs

By josh / June 11, 2014

On this one project I worked on, we needed to generate dummy product IDs for test runs. Each product ID needed to be unique, or the test run would go haywire. What’s that? There’s a programming convention for handling this problem, you say? It’s called a GUID? Well, maybe. But someone on this project decided […]


Prevent copy and paste rage with this simple tweak (part 2)

By josh / June 9, 2014

A few weeks back I wrote a post about the copy_with_empty_selection setting, which allows you to tell Sublime not to copy the current line if you haven’t selected any text. A lot of readers were happy with the tweak, but reader Carson noticed a downside: Hey Josh, great tip (and I love all your emails), […]


How to learn any keyboard shortcut in Sublime Text

By josh / June 7, 2014

Sublime Text has keyboard shortcuts for almost everything, but it’s sometimes hard to track them down. Here a few strategies that will help you uncover the shortcuts for all of your favorite features. Dedicate a few minutes to browsing through Sublime’s menus. Looking at the menus when you’re not already on a mission to find […]


Where should you keep your Sublime Text projects?

By josh / June 6, 2014

Reader Matt S. wrote me recently because he’s been procrastinating on migrating to a new computer, partly because he isn’t sure how best to transfer his Sublime Text preferences and plugins. This also got him wondering about where he should be keeping his Sublime project files: I tend to keep .sublime-project/.sublime-workspace files close (in the […]


How to quickly test URLs embedded in your code and text files

By josh / June 5, 2014

Why does it always happen at the worst possible time? Several months ago I wrote a blog post about my experience self-publishing and marketing Sublime Productivity. A few hours after publishing it, one of my coworkers pinged me on HipChat: My post was on the front page of Hacker News! I logged in to Google […]


Instant filler text for your mockups and wireframes

By josh / June 4, 2014

Aren’t filler headlines fun to write? They’re even more entertaining when you haven’t slept in 24 hours. When I edited the student newspaper in college, my fellow editors and I would pull an all-nighter every Thursday to get the weekly edition “put to bed.” We’d compete to see who could come up with the most […]


How to get even the trickiest relative paths right–every time

By josh / June 3, 2014

It’s got to be the most frustrating problem in programming. You add a new file to your program, maybe a whizbang jQuery plugin. Then you start coding away, incorporating it into your site. But when you go to test it … nothing. It silently fails. You double check your syntax, looks OK. No errors in […]


Rot your brain in no time flat

By josh / June 2, 2014

Does autocomplete promote brain rot? There’s a longstanding debate over whether code completion features in editors are more harmful than they are helpful. When I first started coding professionally, I found this feature incredibly intrusive. Every time I’d type a few characters, my IDE (usually Visual Studio) would flash a menu at me, whether I […]


The one thing in Sublime that you can’t live without …

By josh / May 30, 2014

It hit me like a smack in the face. Join Lines. One of the very first editor productivity tips I ever learned. At the time, I think I was using Notepad++. When I discovered that there was a keyboard shortcut to join two lines of code, removing the hard return and extra whitespace, I couldn’t […]


Make Sublime’s Find double-plus good

By josh / May 29, 2014

When you hit friction in your workflow, you have two choices. Option 1: Take to Twitter! Gripe and complain. Option 2: Do something about it. Write a plugin that fixes the problem, then share it with thousands of other developers and earn their gratitude. I often take the easier Option 1, but plugin author Todd […]


Save yourself some embarassment with this Sublime Text plugin

By josh / May 28, 2014

My first job out of college had nothing to do with programming. I worked at my alma mater in the public relations department as a writer and proofreader. The irony here is that, prior to college, I hated writing–and I was a terrible speller. What could go wrong? The PR department frequently sent out mass […]


Every Sublime Text shortcut, right at your fingertips

By josh / May 27, 2014

Rejection hurts. As part of creating Writing Sublime Plugins, I went through the process of building my own keyboard mappings plugin and submitting it to Package Control. I was excited to get my plugin out there. But then my pull request was denied. What? That’s a thing? At the time I didn’t realize that Package […]


How to print code from Sublime Text

By josh / May 26, 2014

Sometimes it’s nice to be able to print code. You know, like on paper, with ink and stuff. In my last job, one of my assignments was restyling an off-the-shelf customer portal-type website. The company wanted to rebrand the site to match its main website, so they had their design team work up some Photoshop […]


This one weird trick will make your stylesheets easy to navigate

By josh / May 23, 2014

A couple of months ago, a image exploded on Twitter. Hundreds of retweets. Actually made it hard to find new content for the @SublimeTxtTips feed for a couple of days … The image was a screenshot of a long code file, open in Sublime. The web dev who took the screenshot had an interesting approach […]


Copy copy copy with this new Sublime feature

By josh / May 22, 2014

I’ll admit it: I’m a copy-paste programmer. That doesn’t mean I spend my time posting “can i haz all teh codez” comments on Stack Overflow. And I don’t just swipe huge swaths of sample code from dodgy-looking blog posts and slap them into a production app. (OK, there was that one time…) But particularly when […]


Who else hates using their mouse?

By josh / May 21, 2014

Remember that scene in Princess Bride? The lithe swordsman unsheathes his weapon and says, not for the last time: “Hello. My name is Inigo Montoya. You killed my father. Prepare to die.” That about sums up how I feel about my mouse. (And don’t even get me started about trackpads …) One of the best […]

1 2 3 5
Page 1 of 5