Move openHAB tree views to a ViewContainer (#107)

* View container
* Move openHAB tree views to a ViewContainer

Signed-off-by: Kuba Wolanin <hi@kubawolanin.com>
pull/114/head 0.4.0
Kuba Wolanin 2018-07-27 21:27:41 +02:00 committed by GitHub
parent a86b37f391
commit 908e16921c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 7 deletions

View File

@ -1,4 +1,4 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="204.1" height="204.1" viewBox="0 0 204.0942383 204.0942383">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 204.0942383 204.0942383">
<style>.st1{fill: #eee}</style>
<path class="st1" fill-rule="evenodd" clip-rule="evenodd" fill="#E64A19" d="M15.8 143l75-75 11-11 11 11 55.4 55.4v.3l-1 3.2-1.4 3-1.4 3-1.5 3-1.5 2.5L102 79l-78.2 78c-3-4.4-5.8-9-8-14z"/>
<path class="st1" fill-rule="evenodd" clip-rule="evenodd" fill="#474747" d="M102 6c52.7 0 95.8 43.2 95.8 96 0 53-43 96-96 96-28.8 0-54.8-12.8-72.4-33l3.4-3.5 2.5-2.5 2.4-2.4 2.5-2.5c15 17.5 37 28.7 61.7 28.7 44.3 0 80.5-36.2 80.5-80.6 0-44.3-36.2-80.5-80.6-80.5-44.5 0-80.7 36.2-80.7 80.6 0 6 .6 12 2 17.5l-5.5 5.4-7 7c-3.2-9.4-5-19.5-5-30C6 49.3 49 6 102 6z"/>

Before

Width:  |  Height:  |  Size: 720 B

After

Width:  |  Height:  |  Size: 714 B

View File

@ -11,10 +11,10 @@
},
"license": "SEE LICENSE IN LICENSE",
"engines": {
"vscode": "^1.15.0"
"vscode": "^1.20.0"
},
"categories": [
"Languages",
"Programming Languages",
"Snippets",
"Other"
],
@ -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"
}
]
@ -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"
}
}