• Home
  • Work
  • Blog
  • Contact

Archive for the ‘Development’ Category

Our Coda “Tabber” plugin

May 23rd, 2012 by Chris in Development | 12 Comments

Around here, we love us some Coda. We’ve been using it since at least 2008, so it’s kind of ingrained in the way we work. Pretty early on, we realized we were copying – pasting every other line in the CSS editor, which was time consuming and carpal tunnel syndrome inducing. One of the greatest things about Coda, though, is that you can extend it with plugins – so I set out to write a small plugin that saved us a man-year in highlight-copy-pasting. Now that Coda is debuting it’s second version tomorrow, we’re re-packaging and giving it to the world.

How it works

I write my css like this:

So every time I move to the next element, I have to either copy-paste the line above it, or re-type it. Enter “Tabber”. Now, with Tabber installed and keyboard shortcut set up, I hit my hotkeys when I’m at the end of the last line, and BOOM:

It automagically creates a new line with my previous CSS elements, adds the curly braces, and sticks my cursor where I would fill in my next element.

“ZOMG HOW CAN I OBTAIN THIS SORCERY FOR MY OWN PROFIT AND GAIN?!?” you might be asking yourself. Oh snap – right here.

Plugin for brand spanking new Coda 2

Plugin for legacy Coda 1

LIMITATIONS – PLEASE READ

This version above is very fast, but only works with single line CSS. Below is a Coda 2 only version that works with multi-line CSS. It’s a tad slower, as it pulls in your entire document. It also has a weird quirk where after it adds the new line, sometimes it scrolls the document all the way to the bottom of the screen, though the cursor is in the correct position. Hitting any key will snap the screen back to the correct area of the document. This seems to be a bug in Coda, and we have contacted Panic to see if this can be corrected.

Download the multi-line CSS version (beta)

How to install and use

Download the plugin and install. To setup the keyboard shortcut, go to Apple -> System Preferences -> Keyboard, Keyboard Shortcuts. Create a new Application Shortcut for Coda, and type Tabber, then just pick your own shortcut! I use Shift+Command+Enter, but feel free to come up with something more clever.

Love it? Hate it? Let us know.

Our WordPress “Simple Admin Menu Editor” plugin

September 30th, 2010 by Chris in Development, WordPress | 8 Comments

Ever get tired of seeing the same menu options you literally never use? Or setting up a WordPress install for a client, and want to get rid of the stuff they don’t use, or would screw up if they could?

Us too. So we made this handy little plugin that gives you little checkboxes next to each menu item and sub-menu item, even for other plugins! Just uncheck the items you don’t want to see anymore, and they’re gone! When you need them again, just recheck and they’re back! No editing core files, and being over-written upon upgrade.

Directions

Just download the plugin, unzip (if necessary) and install to your wp-content/plugins directory. Activate in your plugin panel inside your WordPress panel. Under Settings is a new option, ‘Admin Menu Editor’.

Download this plugin at WordPress

Download Simple Admin Menu Editor (we’re waiting for WP to approve the plugin so we can get it in the directory)

Our WordPress “Change URL” Plugin

May 19th, 2010 by Chris in Development, WordPress | 13 Comments

We do a lot of WordPress installs for clients when we set up new websites for them. One hassle we always go through is setting up the development site as a sub-domain or as a complete other domain, and then having to move it to the new domain. Since WordPress uses absolute URLs in posts, links, etc., editing by hand is definitely not an option. We also couldn’t find a really good solution, so I wrote a plugin that will go through all of your posts, pages, options and guids and update your old domain to your new domain!

Directions

Just download the plugin, unzip (if necessary) and install to your wp-content/plugins directory. Activate in your plugin panel inside your WordPress panel. Under Settings is a new option, ‘Change WP URL’. Just follow the instructions!

Download the plugin at WordPress

Download Change WP URL (we’re waiting for WP to approve the plugin so we can get it in the directory)


Tags

  • Business
  • Community
  • Development
  • Illustrations
  • WordPress
  • Work

p 502.220.4791
f 502.415.7293
info@karmaprogressive.com

8510 Raintree Drive
Louisville, KY 40220

  • Home
  • Work
  • Blog
  • Contact
  • You guys rock »
  • Our Coda “Tabber” plugin »
  • Customer Service: DMV vs. The Apple Store »
  • Facebook
  • Twitter
  • Linked In
  • Blog