r/GithubCopilot • CLI Copilot User 🖥️ • 6d ago

GitHub Copilot Team Replied opening artifacts in new harness in VS Code fails in WSL 2

probably has to do something with the slashes in the path, they appear to be correct but when I do "copy path" on the artifact I get a path with backslashes

1 Upvotes

7 comments sorted by

2

u/Key-Imagination2021 6d ago

you need to manually swap those backslashes to forward slashes. VS Code treats artifacts as POSIX paths but copies them using Windows notation when you hit copy. Just fix the string in the command line and it works instantly

1

u/MaitoSnoo CLI Copilot User 🖥️ 6d ago

alright but clicking on the artifact button still fails so I thought it would be because of the backslashes

2

u/connor4312 GitHub Copilot Team 5d ago

This should already be fixed on the latest stable, please hit that Update button!

1

u/MaitoSnoo CLI Copilot User 🖥️ 5d ago

🫡

!solved

1

u/MaitoSnoo CLI Copilot User 🖥️ 1d ago

Checked with the latest version, it still fails. Easy repro: make a plan in plan-mode, click on the "plan.md" artifact and you'll see a unable to open "plan.md" error 

1

u/AutoModerator 5d ago

u/connor4312 thanks for responding. u/connor4312 from the GitHub Copilot Team has replied to this post. You can check their reply here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 6d ago

Hello /u/MaitoSnoo. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.