Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Firefox for browsing and BBEdit for text editing. I want the 'View Source' command in Firefox to display the source code in BBEdit rather than in Firefox's own window.

I have adjusted the Firefox config settings appropriately, by setting view_source.editor.external to true and view_source.editor.path to /Applications/BBEdit.app/Contents/MacOS/BBEdit.

When I click on 'View Source' a new instance of BBEdit launches (even if one is already open), with a blank text document.

If I set the editor to TextEdit, it works fine, with the source code displayed in a TextEdit window. Why isn't it displaying in BBEdit?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Make sure you have installed the command line tools for BBEdit. If you're not sure choose "Install Command Line Tools” from the BBEdit (application) menu.

Now in FireFox for the view_source.editor.path option enter /usr/bin/bbedit and it should work.

share|improve this answer
    
Worked! Thank you. –  Gabe Dec 12 '09 at 15:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.