PhpStorm.app (Standalone) Mac integration with Tower.app for diff and merge
- Add
CompareTools.plist
andphpstorm.sh
files in the~/Library/Application Support/com.fournova.Tower3/CompareTools/
directory. You may need tomkdir ~/Library/Application\ Support/com.fournova.Tower3/CompareTools
if the folder does not already exist - Run
chmod +x ~/Library/Application\ Support/com.fournova.Tower3/CompareTools/phpstorm.sh
- Go into Tower.app Preference > Git Config > Select "PhpStorm" for "Diff tool" and "Compare tool", you can optionally enable "Perform directory diff"
- PhpStorm (Standalone): https://gist.github.com/sc0ttkclark/213fe88f9eacbd5ae58a
- PhpStorm (Toolbox): https://gist.github.com/sc0ttkclark/660655fea6916cd41bdc46c4fdb0d033
- WebStorm (Standalone): https://gist.github.com/sc0ttkclark/07f293e092fbb04d57dac0c2ed61c033
- WebStorm (Toolbox): https://gist.github.com/sc0ttkclark/9e2529cb54edf9f7d316a07d7c2625e3
While I went and figured out how to do all of this, this integration is based on the one I found for Beyond Compare's beta integration: https://github.com/tednaleid/git-tower-beyond-compare-shim
Updated instructions and made it a little more clear for people