All posts in "Uncategorized"
Share

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 […]

Share

Sublime Text 3: Worth the upgrade?

By josh / July 25, 2013

You’ve heard the buzz about the Sublime Text 3 beta: Goto Definition and Goto Symbol? Across whole projects? Yes, please! But when you head over to the Sublime site, you realize those new features come at a cost: You’re going to have to fork over your hard-earned cash to get the upgrade. And the cost […]

Share

Fix Sublime Text’s quirky PHP, SASS variable selection

By josh / July 18, 2013

Editing PHP and SASS variables is awkward in Sublime Text. Both languages use a $ prefix for variables, but Sublime pretends not to know that. When you try to select a variable, either by double-clicking it or with your favorite keyboard shortcut, Sublime selects the text portion of the variable but not the prefix. This […]

Share

Win a free Sublime Text license

By josh / June 11, 2013

Note: This contest is over, but I offer it periodically to Sublime Text Tips newsletter subscribers. Sign up here today so you can participate next time: http://sublimetexttips.com/newsletter Sublime Text is a key part of your daily workflow. You couldn’t live without it and the dozens of plugins that let you tweak and customize to your […]

Share

Create and Open GitHub Gists from Sublime Text

By josh / May 21, 2013

I use GitHub gists when I want to save a snippet of code for easy reuse, or to save readers of my Sublime Productivity ebook from having to retype code examples. Creating gists through GitHub’s web interface is a bit of a pain, though. I used to bounce back and forth between Sublime Text and […]

Share

Starting a New WordPress Plugin with Sublime Text

By josh / May 7, 2013

Starting a new project is always fun — no unfamiliar code to grok, no need to worry about breaking existing features. Then … the setup begins Copy and paste the files from a previous project. Delete a bunch of files. Whack blocks of unneeded code. Update jQuery. Download and unzip libraries from Github. “Yay!” turns […]

Share

Flatland: The best minimal theme for Sublime Text

By josh / April 13, 2013

The first time I tried Sublime Text, I was completely turned off by the editor’s user interface “chrome”: I hated the glossy gradients, the subtle shadows that gave the tabs that 3D look and the harsh mismatch between the dark editor window and the light sidebar. It all felt a little cheesy. What I didn’t […]