Reputation: 8580
In GitHub Desktop, is there any way to change the right click "Open in Atom" option, to instead be "Open in Sublime" or some other text editor?
Thanks!
Upvotes: 6
Views: 1886
Reputation: 24
On the latest github desktop, you can use: File-> Options-> Integrations-> External editor
Upvotes: 0
Reputation: 1949
You need to create a registry key with a path to a folder where subl.exe file is. This is the absolute minimum (of valunames) for the key:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Sublime Text 3_is1]
"Publisher"="Sublime HQ Pty Ltd"
"DisplayName"="Sublime Text 3"
"InstallLocation"="C:\\Apps\\YOUR\\PATH\\TO\\Sublime\\"
"Comment"="This key is needed for Github to detect SublimeText"
valuename Comment
is not needed. I added it for myself to remember what's this key about.
This is the registry location for Uninstall info. But because I removed most of the valuenames which original Sublime installation creates, Windows Uninstall will not show this as an entry to remove in Uninstall.
Upvotes: 1
Reputation: 3346
You can't, as it seems to be a part of app's menu.
However, you can set your default editor in global config
like
git config --global core.editor "subl -n -w"
For more, refer Associating text editors with Git
Upvotes: 1