sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
273 stars 14 forks source link

Open in Editor not opening anything, Mac M1 #1802

Open UriZafrir opened 10 months ago

UriZafrir commented 10 months ago

Version info

Mac OS Ventura 13.4.1 Stable, 2901

Description

When I click - Open in Editor, nothing opens. I tried to change the default editor in settings but that doesn't change this behavior.

Steps to reproduce

Steps to reproduce the behavior:

  1. Open repository
  2. click to three dots at the upper right
  3. Click on .open in editor

Expected behavior

expected software to open.

Debug Information The Sublime Merge debug information can be used to narrow down the cause of an issue. It can be collected with the following steps:

  1. Open Sublime Merge
  2. Open the repository where the bug occurs
  3. Navigate to Help > Debug Information via the application menu
  4. Before sharing, please redact any information that's sensitive such as file paths, git user information, remote URLs etc.

=== App Version Information === Build: 2091

=== Git Version Information === Using Git: git (system) git version 2.39.2 (Apple Git-143) environment variables loaded using: /bin/zsh -l

=== Browse Page Information === HEAD: 887ac275a2cfb6030df80bbe3066609336fa220a Is in merge: 0 Is in cherry_pick: 0 Is in rebase: 0 Is in revert: 0

=== Git Status Information ===

=== Our Status Information ===

=== Git Config Information === branch.master.merge=refs/heads/master branch.master.remote=origin core.bare=false core.filemode=true core.ignorecase=true core.logallrefupdates=true core.precomposeunicode=true core.repositoryformatversion=0 credential.helper=osxkeychain difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE" difftool.sourcetree.path= filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f init.defaultbranch=main mergetool.sourcetree.cmd=/Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED" mergetool.sourcetree.trustexitcode=true

=== Our Config Information === Git Config Path Information Using config path: /etc/gitconfig

Our config output is different to the Git config output branch.master.merge=refs/heads/master branch.master.remote=origin core.bare=false

core.filemode=true core.ignorecase=true core.logallrefupdates=true core.precomposeunicode=true core.repositoryformatversion=0 difftool.sourcetree.cmd=opendiff "$LOCAL" "$REMOTE" difftool.sourcetree.path= filter.lfs.clean=git-lfs clean -- %f filter.lfs.process=git-lfs filter-process filter.lfs.required=true filter.lfs.smudge=git-lfs smudge -- %f mergetool.sourcetree.cmd=/Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh "$LOCAL" "$REMOTE" -ancestor "$BASE" -merge "$MERGED" mergetool.sourcetree.trustexitcode=true

=== Git Attributes Information === git check_attr --all output

=== Our Modified Files Newline Normalisation and EOL Information ===

=== Our Modified Files Flag Information === Ignoring symlinks: 0

This section may be omitted/removed.

Screenshots image

jbutko commented 7 months ago

Had exact same issue on Ubuntu 22 with VSCode editor. Set Editor settings like this and voila, it works like a charm now:

image