Copilot cannot create create new files and modify existing files in the WSL when Using WSL2. #2938
Replies: 3 comments
-
Beta Was this translation helpful? Give feedback.
-
|
Uploading Microsoft-Responsible-AI-Standard-General-Requirements.pdf… |
Beta Was this translation helpful? Give feedback.
-
|
Hi @jiazhuguanhua , I didn't notice such behavior yet, as every time I used GitHub Copilot Chat on WSL, it always seems to create and modify the files in the correct location. Either way, if you have a replicable scenario to share, I would suggest you to open an issue in the VS Code repo (https://github.com/microsoft/vscode/issues), which is the correct channel to report errors on VS Code, in order to the VS Code team to take a look and fix it. This discussion forum is intended for extension development only, for now. Hope this helps |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
When using WSL2 + VSCode. The copilot cannot create files(still tell me file created, but in fact, the file created in Windows dir, "D:\home\leaf\RTK_GCS(the same dir where the Agent want to create in WSL2, not in Windows)")
HOW TO FIX: Add the code below to "

"
"remote.extensionKind": { "GitHub.copilot": ["workspace"], "GitHub.copilot-chat": ["workspace"] }Just like showed in the image(value: "ui" -> "workspace"):

Afterall, it may contribute obstacles to beginners, and it should not happen, hoping this "bug" to fixed early!
Beta Was this translation helpful? Give feedback.
All reactions