At 12:33 -0700 5/5/06, Graham Anderson wrote:
Is there a better way to debug than copy/pasting between BBedit and Zend ?

Just open the same file in Zend - it can be set to 'notice' when BBEdit (or any other app) saves a file and reload it's own copy. Since BBEdit (and Dreamweaver) can also do this, I can happily edit a single file simultaneously in multiple apps, switching between them depending on the task in hand:

* BBEdit (for general "don't get in my way" stuff, writing html, CSS, Preview, find/replace)
* Zend (for PHP  auto-completion, debugging)
* Dreamweaver (messing with tables, automated Javascript stuff)

I have cmd-opt-ctrl set to 'Open in Dreamweaver' (and 'Open in BBEdit' set to the same combo in Dreamweaver), then in my BBEdit 'Scripts' menu I have this AppleScript, set to 'cmd-opt-ctrl-z':


set zde to fromPosixPath "/Applications/Zend/ZendStudioClient-5.1.0/bin/ZDE.app"

tell application "BBEdit" to set the_file to file of window 1
tell application "Finder" to open the_file using zde

I also have 'Spark' set to launch [BBEdit|Dreamweaver|Zend] with cmd-opt-[b|d|z]

I can even edit a file that's currently open in BBEdit from the PC on my other desk and the saved changes are (almost) instantly reflected in BBEdit's Preview window.

It all works beautifully.

John.
--
-------------------------------------------------------------------
HM:01274 581519  WK:01274 900801  MB:07944 755613   www.kershaw.org
skype:johnmkershaw  AIM:johnkershaw  MSN:[EMAIL PROTECTED]


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to