Github桌面在崇高中打开,而不是原子

maj*_*mer 6 sublimetext atom-editor github-desktop

在GitHub Desktop中,有没有办法改变右键单击"Open in Atom"选项,而是"在Sublime中打开"或其他一些文本编辑器?

在此输入图像描述

谢谢!

fre*_*nte 5

GitHub桌面(电子)的新答案

他们最终在首选项中添加了一个选项:

喜好

GitHub App Classic(Native)的旧答案

/Applications/Atom.app单击"在Atom中打开"时GitHub会查找,因此您只需要将编辑器重命名为Atom.app,或者......

创建一个打开Sublime的虚拟应用程序.您可以下载我使用Automator制作的应用程序或自行制作:

  1. 在Automator中,选择" 应用程序"
  2. 添加操作运行Shell脚本
  3. Pass input下拉列表中选择As arguments
  4. 输入: /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl "$@"
  5. 将它保存为凌动应用程序文件夹中.

预期的Automator文件

现在"在Atom中打开"应该只是"在Sublime Text中打开"