Software development, photography, jokes, ....

noyb-logo

Sites by me

 
sds82-logo
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

Hosting Favorites

 
ANU Internet Services
Netim
GoDaddy
XEL Media

Blogroll

 
Bomenstichting
Google Translate
PHP
MySQL
jQuery
jQuery UI
YourHead Stacks API
Favicon Generator.
Password Generator.
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.



Buy me a coffee-2

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


buy me something-2
© 1997- Marc Vos (and others)   -   Privacy Statement   -    Contact Me

On this website, Google Analytics is used to track visitor statistics. These are anonymised data about the number of visitors, which pages they visit on this site, from which regions they visit, which web browsers they use, etc.. You will also see non-personalised ads via Google AdSense. Cookies from Paddle or Paypal are placed when you click on a 'Buy now!' or 'Donate!' button, and possible cookies from Disqus when you use that system to comment on one or more blogposts.
Privacy Statement