Skip to content

Commit

Permalink
Module View Provider (#698)
Browse files Browse the repository at this point in the history
Add

terraform view container
module view
module tree view provider
view menus
module item
module commands
  • Loading branch information
jpogran committed Aug 31, 2021
1 parent d21ac2e commit 5cc5a8f
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 212 deletions.
52 changes: 52 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,58 @@
{
"command": "terraform.plan",
"title": "Terraform: plan"
},
{
"command": "terraform.modules.refreshList",
"title": "Refresh",
"icon": "$(refresh)"
},
{
"command": "terraform.modules.documentation",
"title": "Documentation Link",
"icon": "$(book)"
}
],
"menus": {
"view/title": [
{
"command": "terraform.modules.refreshList",
"when": "view == terraform.modules",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "terraform.modules.documentation",
"when": "view == terraform.modules"
}
]
},
"views": {
"terraform": [
{
"id": "terraform.modules",
"name": "Modules"
},
{
"id": "terraform.providers",
"name": "Providers"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "terraform",
"title": "Hashicorp Terraform",
"icon": "terraform.png"
}
]
},
"viewsWelcome": [
{
"view": "terraform.modules",
"contents": "No Terraform modules found in current workspace [learn more](https://www.terraform.io/docs/language/modules/develop/index.html).\n[Add Dependency](command:terraform.modules.addEntry)"
}
]
},
Expand Down
Loading

0 comments on commit 5cc5a8f

Please sign in to comment.