infracost / vscode-infracost

See cost estimates for Terraform right in your editor💰📉

Home Page:https://www.infracost.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extension shows "connect to cloud" screen when not in a valid

hugorut opened this issue · comments

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.