You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- pulling 125 providers (all official or partner tier) from the registry and shipping 9341 snippets
17
+
- refactored the core workflow to remove the need for the hard-coded number of total snippets (thanks, @orrin!)
18
+
- regression: dropped async checkout/download of repos, making the snippet generation process a lot longer. Will fix in subsequent releases - this doesn't affect extension users, only snippet generators (devs working on this project).
A vscode extension that yanks resource and data source documentation from Terraform provider repos and transforms them into structured VS Code snippets. Over 8000 snippets in total.
9
+
A vscode extension that yanks resource and data source documentation from Terraform provider repos and transforms them into structured VS Code snippets. Over 9000 snippets included.
10
10
11
11
## Demo
12
12
@@ -42,7 +42,6 @@ npm run build:snippets
42
42
## Known Issues
43
43
44
44
- Issue #1 is probably that this is my first node project and I'm not to be trusted with the language. Help and review wanted! Tests needed.
45
-
- The async nature of node means we need to provide a hard stop at the number of snippets collected before cleanup can happen. The stop-gap implementation has this count specified by hand in `config.json`. If a run of `build:snippets` produces more than the value of `total_snippets`, adjust the number up to match.
Copy file name to clipboardExpand all lines: package.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
{
2
2
"name": "terraform-doc-snippets",
3
3
"displayName": "Terraform doc snippets",
4
-
"description": "Terraform code snippets (>5000) straight from documentation for all provider resources and data sources. All providers in the public terraform registry covered.",
5
-
"version": "0.5.0",
4
+
"description": "Terraform code snippets (>8000) pulled from examples in the terraform registry provider docs. resources and data sources. All official and partner providers are scraped for examples.",
0 commit comments