Preview: Open Finder Window (for PHP)

It would be very useful if there was a button to click that would open a Finder window to be able to view the Preview source code. When working with PHP you need to be able view the source to resolve any issues, for example. Viewing the source of the Preview output isn’t an option as the PHP code never makes it to the browser.

At the moment, I insert an echo phpinfo() into the page and then scan down the output for $_SERVER['SCRIPT_FILENAME’] to be able to work out that the folder is located at e.g. /Users/USERNAME/Library/Containers/com.realmacsoftware.rapidweaverelements/Data/tmp/RapidWeaver/28486/RWDocumentPagePreview/document-7F6F3A3A-9A96-41B3-A0D3-999CE9239FDE/index.php and then cut and paste into a Finder Go To Folder… field.

1 Like

@dan Can I bump this one as well? :grinning:

We’re never going to ship the 1.0 at this rate :rofl: But, yes I’ll add it to the list!

1 Like