>From reading an earlier post in this group, I just discovered the Open With Editor command in Firebug, which I never noticed before.
Background: I run a local devel server (Apache) on the same Mac that I use for browsing and editing web pages, so the "server file" and the "local dev file" is actually the same file residing on the same machine. I normally open it in Firefox as a .dev URL, not as a "file" (so all my scripts will work, among other things). However, using a Firefox extension called Dafzilla ViewSourceWith, I've been able to set up a mapping that correlates the URLs with the local files. For example, when Firefox shows the URL of the current page as: http://sanstudio.dev/test/linktest.html ...I can click on the ViewSourceWith button in the Firefox toolbar, and my text editor (BBEdit) will open the "local" file that my local Apache used to actually generate that URL: /Volumes/MyHardDrive/MyDevFolder/test/linktest.html That's my real master source file, not some cached copy. This is extremely useful to me, but ViewSourceWith doesn't always work with every version of Firefox. So I thought it might be possible to get a similar mapping into Firebug using the Open With Editor dialog. It was easy to add BBEdit as the editor; that works fine. However, when BBEdit opens a page via Firebug that way, it's always opening the temporary cached file that the browser uses, not the real local source file the way ViewSourceWith does. So I played with Firebug's "Launch Arguments" in the Configure Editors dialog, trying to figure out how to add a mapping, presumably using the %file parameter. I tried various things like: %file /Volumes/MyHardDrive/MyDevFolder/ ... and various other things, but when I click the "test" button, every argument format I've tried either opens Firefox's cached temporary file (same as if I had entered no arguments) or does nothing at all. I did a lot of Googling trying to find *specifically* how you enter the text in the Arguments box, and I looked through the examples in the dialog's popdown menu, and I still got nowhere. Next to the %file text-entry box there's a hint that says "Path to the local file (or to the temporary copy)" which certainly sounds like it doesn't *have* to be the temporary copy. Is it possible to do what I want with the Configure Editors dialog? Can anybody tell me how to enter the argument? Thanks. -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/CAMoMLKiHEq90Dc1whCBRwv1QMircoV3QKOvipDg%3DOOen4eEx7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
