coder / coder/vscode-coder

Always asked to trust folder when switching folders on the same Coder workspace

Open
#850 4 comments 0 reactions 1 assignee Claimed by @EhabY View on GitHub
upstream
Dominant language
TypeScript
Stars
130
Forks
48
Avg merge
3d 3h
Merged PRs (30d)
15

Description

I'm using version `1.13.2` of the Coder VS Code extension in VS Code `Version: 1.112.0 (Universal)` on macOS `26.3.1 (25D2128)` to connect to a remote Coder workspace running Ubuntu `22.04` at time of writing.

I consistently see this prompt every time I switch which folder VS Code has opened on my Coder workspace (e.g. using the `File: Open Recent...` command in VS Code's command palette):

Image

> Do you trust the authors of the files in this folder?
>
> Creating a terminal process requires executing code
>
> If you don't trust the authors of these files, we do not recommend continuing as the files may be malicious. See [our docs](vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/code/electron-browser/workbench/workbench.html) to learn more.

Even though I've always clicked the "Trust Folder & Continue" button there, I continue to see the same prompt when switching to open the same folders on the same Coder workspace.

I searched for an existing issue and saw https://github.com/coder/vscode-coder/issues/83 but that seems like it might not be the same issue since #83 would stop prompting you after you trusted a given folder on a given Coder workspace at least once.

Any ideas on how I can avoid this prompt or if there is anything that could be changed in the Coder VS Code extension to solve it?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.