Extension shows "connect to cloud" screen when not in a valid
hugorut opened this issue · comments
Hugo Rut commented
The Infracost VSCode extension only "activates" in a workspace with Terraform files. This means we don't hog CPU/Mem when users are working on other projects. However, the default "connect to cloud" screen still shows in the Infracost sidebar. This is confusing as the "connect" button won't work as the extension isn't active. We should add a "Open in a Terraform directory or workspace" holding panel to make this clear to users.