Skip to content

Commit

Permalink
Move openHAB tree views to a ViewContainer (#107)
Browse files Browse the repository at this point in the history
* View container
* Move openHAB tree views to a ViewContainer

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
  • Loading branch information
kubawolanin committed Jul 27, 2018
1 parent a86b37f commit 908e169
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion images/oh.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 15 additions & 6 deletions package.json
Expand Up @@ -11,10 +11,10 @@
},
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.15.0"
"vscode": "^1.20.0"
},
"categories": [
"Languages",
"Programming Languages",
"Snippets",
"Other"
],
Expand Down Expand Up @@ -288,16 +288,25 @@
"path": "./syntaxes/openhab.tmLanguage.json"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "openhab",
"title": "openHAB",
"icon": "images/oh.svg"
}
]
},
"views": {
"explorer": [
"openhab": [
{
"id": "openhabItems",
"name": "openHAB Items",
"name": "Items",
"when": "resourceLangId == openhab"
},
{
"id": "openhabThings",
"name": "openHAB Things",
"name": "Things",
"when": "resourceLangId == openhab"
}
]
Expand Down Expand Up @@ -359,7 +368,7 @@
"request": "^2.83.0",
"request-promise-native": "^1.0.5",
"underscore.string": "^3.3.4",
"vscode": "^1.1.6",
"vscode": "^1.1.17",
"vscode-languageclient": "^3.5.0"
}
}

0 comments on commit 908e169

Please sign in to comment.