External Apps Integration
Integrate with other macOS applications
- to view text files on external editors like BBEdit or SublimeText
- to compare files on external comparators like Kaleidoscope or the beloved BBEdit
The integration requires some shell scripts, they allow the editor caret to be moved at specific lines or open new buffers on existing application instance.
Files can be open using your preferred text editor.
Open With from the context menu to select the destination application.
In addiction you can configure the preferred editor from the Preference panel, the selected application will be shown on the top of
Open With menu.
Open editor at specific line
From the Files Diff window it’s possible to pass to the application the selected line number so the cursor will move to it.
It’s necessary to create a Unix script and place it inside the directory
The script must have a very specific file name ending with
The file name is the so called
App Bundle Identifier and can be found executing from the Terminal.app the following command (the example uses Sublime Text)
osascript -e 'id of app "/Applications/Sublime Text.app"'
com.sublimetext.3 so the file name will be
Some examples are available at externalapp-integration repository
You can install all integration scripts running the command shown below
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/visualdiffer/externalapp-integration/HEAD/install.sh)"
Warning The script must have the execute flag set otherwise will not be called (i.e.
chmod +x script)
The Console.app could contain error messages