We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.16.0
Clicking file attachment tokens in the chat transcript causes VS Code to show a warning about an external application wanting to open the file:
No warning would be shown
No response
The text was updated successfully, but these errors were encountered:
Not a bug? This is because of a new setting added by vs code and the setting can only be configured by users for security reason: https://code.visualstudio.com/updates/v1_84#_confirmation-for-opening-protocol-links
When a protocol link for a file or workspace opens in VS Code, a dialog will now ask for confirmation:
Sorry, something went wrong.
@abeatrix would it be possible to send a message/command instead of using the vscode://file URI and avoid it?
vscode://file
@toolmantim Yea that worked! Here is the PR: #1919
change: replace vscode links with command (#1919)
e353bbc
CLOSE: #1819 This PR replace the vscode links with custom protocol for the file links in chat view. - Replace the vscode file links with a custom "cody.chat.open.file" command protocol when displaying file names in chat. This allows handling file opening in a more customizable way without the error message described in the issue. ## Test plan <!-- Required. See https://docs.sourcegraph.com/dev/background-information/testing_principles. --> Run the /explain command, and then click on the link after the @ sign: https://github.com/sourcegraph/cody/assets/68532117/fdf7cad2-5eb3-48c5-926a-88fb56b751b3
abeatrix
Successfully merging a pull request may close this issue.
Version
0.16.0
Describe the bug
Clicking file attachment tokens in the chat transcript causes VS Code to show a warning about an external application wanting to open the file:
Expected behavior
No warning would be shown
Additional context
No response
The text was updated successfully, but these errors were encountered: