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!
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!
They finally added an option in the Preferences:
GitHub looks for /Applications/Atom.app
when clicking on "Open in Atom", so you just need to rename your editor to Atom.app
, or...
Create a dummy app that opens Sublime. You can download the app that I made with Automator or make one yourself:
/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl "$@"
Now "Open in Atom" should simply "Open in Sublime Text"
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
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.