Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot open BBEdit from VSCode via macOS Spotlight #119074

Closed
alanwilter opened this issue Mar 16, 2021 · 1 comment
Closed

Cannot open BBEdit from VSCode via macOS Spotlight #119074

alanwilter opened this issue Mar 16, 2021 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@alanwilter
Copy link

  • VS Code Version:
Version: 1.54.3
Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8
Date: 2021-03-15T11:57:12.728Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: 8.7.220.31-electron.0
OS: Darwin x64 20.3.0
  • OS Version:
macOS Big Sur
11.2.3
  • Problem
    If using code . (command line), this issue is not present.
    If starting VSCode from e.g. macOS Spotlight, BBEdit will fail with this error:
$ git -c core.quotepath=false -c color.ui=false difftool --no-prompt --tool=bbdiff -- app.py
You must allow `bbdiff` to send events to the BBEdit application.
Use `tccutil reset AppleEvents` to reset the system's permissions, and try again.
bbdiff: error: -1743
fatal: external diff died, stopping at app.py

Steps to Reproduce:

  1. Use a git project, e.g., git clone https://github.com/alanwilter/flask-pytest-example
  2. Add to your ~/.gitignore:
git config --global diff.tool bbdiff
git config --global difftool.bbdiff.cmd 'bbdiff --wait --resume "$LOCAL" "$REMOTE"'
git config --global difftool.prompt false
  1. Start VSCode via Spotlight
  2. Change file app.py and save it.
  3. Open a terminal (cmd-J) inside VSCode
  4. Run this command:
git -c core.quotepath=false -c color.ui=false difftool --no-prompt --tool=bbdiff -- app.py

Does this issue occur when all extensions are disabled?:
Can't test this way.

@deepak1556
Copy link
Collaborator

deepak1556 commented Apr 14, 2021

Thanks for the detailed report!

/duplicate #119787

This is fixed in our insiders version and will be fixed in the next stable release.

@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants
@eamodio @deepak1556 @alanwilter and others