You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- to view text files on external editors like BBEdit or SublimeText
16
+
- to compare files on external comparators like Kaleidoscope or the beloved BBEdit
17
+
18
+
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.
19
+
20
+
Text Editors
21
+
=======
22
+
23
+
Files can be open using your preferred text editor.
24
+
Select `Open With` from the context menu to select the destination application.
25
+
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.
26
+
27
+
Open editor at specific line
28
+
-----
29
+
30
+
From the Files Diff window it's possible to pass to the application the selected line number so the cursor will move to it.
31
+
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 `.sh`.
36
+
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)
37
+
38
+
osascript -e 'id of app "/Applications/Sublime Text.app"'
39
+
40
+
that returns `com.sublimetext.3` so the file name will be
41
+
42
+
com.sublimetext.3.sh
43
+
44
+
Some examples are available at [externalapp-integration](https://github.com/visualdiffer/externalapp-integration/tree/master/editors) repository
0 commit comments