Regarding VS code desktop

Hi Everyone , in workspace i have a button to launch vs code desktop but it doesn’t actually opens the folder where the git repo was cloned , tried adding in resource coder-agent but still not opening and can’t see any code to edit in terraform script. Do you guys have any idea where to edit or is there any way to delete that or restrict it by not showing in any workspace. I added new module for vs code desktop now 2 button with same name are showing up , i want to keep one vs code either pre built or which i added. Any help would be appreciated thank you.
5 Replies
Codercord
Codercord4w ago
Codercord
Codercord4w ago
<#1415948202804379760>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
ztlod ツ
ztlod ツ4w ago
Use folder parameter in vscode module, and in your main agent bootstrap you have a parameter to disable the second button (im far from PC rn, but you can find it in the docs)
Ethan
Ethan4w ago
tried adding in resource coder-agent
The dir attribute in the coder_agent resource, right? That should work 🤔
ShashankD
ShashankDOP4w ago
Thank you so much guys it worked! I disable it!

Did you find this page helpful?