Custom keyboard shortcuts and code completion in BBEdit

Dec 19, '07 07:30:05AM

Contributed by: Anonymous

In BBEdit, you can assign a keyboard shortcut that will 'complete' a function for you (so you don't have to go fishing for it with your mouse). The 'complete' command is under the Clipping menu (the circled-C in the menu bar), and it's named Insert Clipping. To assign a keyboard shortcut, follow these steps in BBEdit:

  1. Go to Preferences » Menus
  2. Expand the Clippings menu by clicking the little triangle
  3. Click the Insert Clipping... menu item to select it
  4. Click the Set Key... button
  5. Press a key combination that works for you and click Set (in the dialog) and you're done.
By assigning a keyboard shortcut, and then using the PHP BBEdit Clipping Set, you'll never have to remove your hands from the keyboard. For the time being, it's the closest we'll ever get to the code-completion options found in other code editors (and it's good enough for me).

Comments (1)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20071209183435786