Skip to content

Commit

Permalink
Add Terraform support
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
Budi Irawan committed Apr 10, 2018
1 parent bb2c39a commit eda08d9
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 124 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.8.0
- Add Terraform support

## 1.7.1
- Configure prettier and TSLint
- Improve typo (thx to [Weifding](https://github.com/weifding))
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ SQL | mysql,sqlite,psql | dash.docset.sql
Stylus | stylus | dash.docset.stylus | [link](https://marketplace.visualstudio.com/items?itemName=sysoev.language-stylus)
Swift | swift,iphoneos,macosx,watchos,tvos,appledoc | dash.docset.swift | [link](https://marketplace.visualstudio.com/items?itemName=rlovelett.vscode-swift-language)
Tcl | tcl | dash.docset.tcl | [link](https://marketplace.visualstudio.com/items?itemName=rashwell.tcl)
Terraform | terraform | dash.docset.terraform | [link](https://marketplace.visualstudio.com/items?itemName=mauve.terraform)
TypeScript | typescript | dash.docset.typescript
YAML | chef,ansible | dash.docset.yaml

Expand Down
168 changes: 44 additions & 124 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"type": "git",
"url": "https://github.com/deerawan/vscode-dash"
},
"categories": [
"Other"
],
"categories": ["Other"],
"activationEvents": [
"onCommand:extension.dash.all",
"onCommand:extension.dash.specific",
Expand Down Expand Up @@ -100,18 +98,14 @@
"items": {
"type": "string"
},
"default": [
"clojure"
]
"default": ["clojure"]
},
"dash.docset.coffee": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"coffee"
]
"default": ["coffee"]
},
"dash.docset.cpp": {
"type": "array",
Expand All @@ -134,77 +128,56 @@
"items": {
"type": "string"
},
"default": [
"net",
"mono",
"unity3d"
]
"default": ["net", "mono", "unity3d"]
},
"dash.docset.dart": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"dartlang",
"polymerdart",
"angulardart"
]
"default": ["dartlang", "polymerdart", "angulardart"]
},
"dash.docset.elixir": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"elixir"
]
"default": ["elixir"]
},
"dash.docset.elm": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"elm"
]
"default": ["elm"]
},
"dash.docset.erlang": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"erlang"
]
"default": ["erlang"]
},
"dash.docset.go": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"go",
"godoc"
]
"default": ["go", "godoc"]
},
"dash.docset.haskell": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"haskell"
]
"default": ["haskell"]
},
"dash.docset.haml": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"haml"
]
"default": ["haml"]
},
"dash.docset.html": {
"type": "array",
Expand Down Expand Up @@ -246,9 +219,7 @@
"items": {
"type": "string"
},
"default": [
"jade"
]
"default": ["jade"]
},
"dash.docset.java": {
"type": "array",
Expand Down Expand Up @@ -322,37 +293,28 @@
"items": {
"type": "string"
},
"default": [
"react"
]
"default": ["react"]
},
"dash.docset.less": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"less"
]
"default": ["less"]
},
"dash.docset.lua": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"lua",
"corona"
]
"default": ["lua", "corona"]
},
"dash.docset.markdown": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"markdown"
]
"default": ["markdown"]
},
"dash.docset.objective-c": {
"type": "array",
Expand All @@ -378,10 +340,7 @@
"items": {
"type": "string"
},
"default": [
"perl",
"manpages"
]
"default": ["perl", "manpages"]
},
"dash.docset.php": {
"type": "array",
Expand Down Expand Up @@ -420,18 +379,14 @@
"items": {
"type": "string"
},
"default": [
"processing"
]
"default": ["processing"]
},
"dash.docset.puppet": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"puppet"
]
"default": ["puppet"]
},
"dash.docset.python": {
"type": "array",
Expand Down Expand Up @@ -459,84 +414,56 @@
"items": {
"type": "string"
},
"default": [
"r"
]
"default": ["r"]
},
"dash.docset.ruby": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"ruby",
"rubygems",
"rails"
]
"default": ["ruby", "rubygems", "rails"]
},
"dash.docset.rust": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"rust"
]
"default": ["rust"]
},
"dash.docset.sass": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"sass",
"compass",
"bourbon",
"neat",
"susy",
"css"
]
"default": ["sass", "compass", "bourbon", "neat", "susy", "css"]
},
"dash.docset.scala": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"scala",
"akka",
"playscala"
]
"default": ["scala", "akka", "playscala"]
},
"dash.docset.shellscript": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"bash",
"manpages"
]
"default": ["bash", "manpages"]
},
"dash.docset.sql": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"mysql",
"sqlite",
"psql"
]
"default": ["mysql", "sqlite", "psql"]
},
"dash.docset.stylus": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"stylus"
]
"default": ["stylus"]
},
"dash.docset.swift": {
"type": "array",
Expand All @@ -557,47 +484,46 @@
"items": {
"type": "string"
},
"default": [
"tcl"
]
"default": ["tcl"]
},
"dash.docset.typescript": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"typescript",
"javascript"
]
"default": ["typescript", "javascript"]
},
"dash.docset.yaml": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"chef",
"ansible"
]
"default": ["chef", "ansible"]
},
"dash.docset.haxe": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"haxe"
]
"default": ["haxe"]
},
"dash.docset.terraform": {
"type": "array",
"items": {
"type": "string"
},
"default": ["terraform"]
}
}
}
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
"test": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec --ui tdd ./out/test/extension.test.js",
"test-local": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --ui tdd ./out/test/extension.test.js",
"test":
"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec --ui tdd ./out/test/extension.test.js",
"test-local":
"istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec --ui tdd ./out/test/extension.test.js",
"precommit": "lint-staged",
"format": "prettier --write \"{src,test}/**/*.ts\"",
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts' --fix"
Expand All @@ -615,13 +541,7 @@
"vscode": "0.10.x"
},
"lint-staged": {
"*.{ts,json}": [
"prettier",
"git add"
],
"*.ts": [
"tslint --fix",
"tslint"
]
"*.{ts,json}": ["prettier", "git add"],
"*.ts": ["tslint --fix", "tslint"]
}
}

0 comments on commit eda08d9

Please sign in to comment.