Application Integration
From ChangesWiki
Contents |
[edit] Integration with 3rd Party Applications
[edit] TextMate
Installation: You can install the TextMate integration bundle by selecting the Install TextMate Support… item of the application menu.
Uninstallation: To remove the TextMate integration bundle, delete the Changes.tmbundle file from the ~/Library/Application Support/TextMate/Pristine Copy/Bundles/ folder.
[edit] BBEdit
Installation: You can install BBEdit integration by selecting the Install BBEdit Support… item of the application menu.
Note: When you install the BBEdit integration scripts, Changes will override the following menu items in BBEdit:
- Search → Find Differences…
- Search → Compare Two Front Documents
- Search → Compare Against Disk File
Uninstallation: To remove the BBEdit integration scripts, please remove the following files from the ~/Library/Application Support/BBEdit/Menu Scripts folder:
- Search•Compare Against Disk File.scpt
- Search•Compare Two Front Documents.scpt
- Search•Find Differences….scpt
[edit] TextWrangler
Installation: You can install TextWrangler integration by selecting the Install TextWrangler Support… item of the application menu.
Note: When you install the TextWrangler integration scripts, Changes will override the following menu items in TextWrangler:
- Search → Find Differences…
- Search → Compare Two Front Documents
- Search → Compare Against Disk File
Uninstallation: To remove the TextWrangler integration scripts, please remove the following files from the ~/Library/Application Support/TextWrangler/Menu Scripts folder:
- Search•Compare Against Disk File.scpt
- Search•Compare Two Front Documents.scpt
- Search•Find Differences….scpt
[edit] svnX
svnX is a subversion GUI utility for OS X from La Chose Interactive. Jonathan "Wolf" Rentzsch has kindly updated the application to support the use of Changes as the diff utility. Until his patch is incorporated into svnX, you can download the build from our download repository.
Big thanks to Jonathan "Wolf" Rentzsch for this awesome update! He's one of the most highly regarded consultants in the field and I'd highly recommend his company if you're looking for fast, effective, professional-grade results.
[edit] XCode 2.5 & 3
To have XCode use Changes to display diffs when using the "Compare" function, do the following:
- Go to the "SCM" section in XCode's preferences.
- Select the "Options" tab.
- Select "Other..." in the pop-up for "View comparisons using:"
- In the open panel, hit slash (/). In the field that pops up, type in: /<the full path to Changes.app>/Contents/Resources/chdiff
- Hit "Go"/"Select"/"OK"
- Profit!
[edit] Dreamweaver
To have Dreamweaver use Changes to compare local and remote versions of files, do the following:
- If you haven't done so already, launch Changes and select Changes → Install Terminal Utility… from the menu
- Launch Dreamweaver
- Choose Dreamweaver → Preferences... from the menu
- Select the "File Compare" category
- Click "Browse..."
- The file selection dialog should default to the "/usr/bin" directory (if it doesn't, type a "/" to open the "Goto Folder" pane and enter "/usr/bin", then click Go)
- Scroll down to "diff" and click "Open" (Dreamweaver doesn't let you select "chdiff" directly because it is a symbolic link)
- Click in the path text field next to the "Browse..." button (which should now show something like Macintosh HD:usr:bin:diff) and add "ch" before the "diff". You should end up with a path like "Macintosh HD:usr:bin:chdiff"
- Click OK
- You can now use the File → Compare with Remote menu option to launch Changes to examine differences between your local file and the file on the server.
[edit] NetBeans
To have NetBeans use Changes to handle diffs:
- If you haven't done so already, launch Changes and select Changes → Install Terminal Utility… from the menu
- Launch NetBeans
- Choose NetBeans → Preferences... from the menu
- Click the "Miscellaneous", "Diff" tabs
- Select the "External Diff" option
- Enter "chdiff {0} {1}" in the Command field.
- Click OK
[edit] IntelliJ IDEA
You can use Changes as diff tool in IntelliJ IDEA.
- If you haven't done so already, launch Changes and select Changes → Install Terminal Utility… from the menu
- Launch IntelliJ IDEA
- Open Settings window and select General
- In the bottom of General Window, tick both Diff Options and put "chdiff" in both text fields.
- Click OK and close the Settings window
[edit] Bounty
If you post a script, helper tool, or integration instructions up here for an application, please contact me at support@(the main site's domain) to claim your complimentary license for Changes 1.0 when it ships.