TextWrangler + Find In Reference + PHP

Peter Rukavina

If you use TextWrangler to edit PHP files, you may find the following shell command useful (pointer from here):

defaults write com.barebones.textwrangler Services:ADCReferenceSearchTemplate “http://www.php.net/search.php?show=quickref&pattern=%@”

This will set the TextWrangler “Find in Reference” contextual menu item to look up the selected text on the PHP website (rather than on the Apple Developer Connection site, which is the default).

Comments

Submitted by Isaac Grant on

Permalink

This works for BBEdit too, just replace the “com.barebones.textwrangler” with “com.barebones.bbedit” - just so people know.

Add new comment

Plain text

  • Allowed HTML tags: <b> <i> <em> <strong> <blockquote> <code> <ul> <ol> <li>
  • Lines and paragraphs break automatically.

About This Blog

Photo of Peter RukavinaI am . I am a writer, letterpress printer, and a curious person.

To learn more about me, read my /nowlook at my bio, read presentations and speeches I’ve written, or get in touch (peter@rukavina.net is the quickest way). You can subscribe to an RSS feed of posts, an RSS feed of comments, or receive a daily digests of posts by email.

Search