Software development, photography, jokes, ....

Sites by me

 
tas-logoTransportation Administration System
snoezelkussen-logo-kleinstSnoezelen Pillows for Dementia
ikzoekeenbegeleider-logoBegeleiders voor gehandicapten
Laat uw hond het jaarlijkse vuurwerk overwinnen
Betuweroute en Kunst
logo 50x50Hey Vos! Je eigen naam@vos.net emailadres?
Kunst in huis? Nicole Karrèr maakt echt bijzonder mooie dingen
nettylogo2Kunst in huis? Netty Franssen maakt ook bijzonder mooie dingen
Professionele opvang bij Gastouderbureau
Kind-Zijn
Salarisadministratie en belastingadvies bij
De Zaak Loont
Zutphense Bomenstichting

Hosting Favorites

 
ANU Internet Services
XelMedia .internet services
register.com
GoDaddy.com

Blogroll

 
Bomenstichting
MacFreak
Google Translate
PHP
MySQL
jQuery
jQuery UI
codecademy
YourHead Stacks API
Favicon Generator. For real.
Check HTTPS problems



Marc's Place


 

 Use SmartSynchronize with Coda

  SmartSynchronize is a source comparison tool / Coda is an IDE
Pasted Graphic + coda


SmartSynchronize, from Syntevo, is one of the best source compare utilities, imo.  Coda is by far one the best IDEs, made by Panic and it uses the 'opendiff' Unix-command to start a source-compare session of different versions from an SVN-repository.



Opendiff normally starts Apple's FileMerge but we want to use SmartSynchronize! So, the first step is to find out how we can use SmartSynchronize from the command line. A little research reveals that you can use this command:

/Applications/SmartSynchronize/SmartSynchronize.app/smartsynchronize.sh file1 file2

The next step is to replace opendiff.
If you already assigned opendiff to another source-compare utility, like Kaleidoscope, simply delete it:

sudo rm /usr/bin/opendiff

Otherwise, save the original by renaming it to something like this:

sudo mv /usr/bin/opendiff /usr/bin/opendiff.apple

Next, create a new opendiff by creating a link to smartsynchronize.sh and call it opendiff:

sudo ln -s /Applications/SmartSynchronize/SmartSynchronize.app/smartsynchronize.sh /usr/bin/opendiff

Now, start Coda, right-click a source file, choose Source Control->Compare with->Revision...

codasvn

Pick a revision and now SmartSynchronize will be used to compare both source files.

If you previously used Changes for source comparison, open Terminal and execute the following command to remove the Changes-plug-in from Coda:

rm -rf ~/Library/Application\ Support/Coda/Plug-ins/ChCoda.codaplugin
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me