From 908e16921c8ac24728be3ae6bb4c3135e5438d69 Mon Sep 17 00:00:00 2001 From: Kuba Wolanin Date: Fri, 27 Jul 2018 21:27:41 +0200 Subject: [PATCH] Move openHAB tree views to a ViewContainer (#107) * View container * Move openHAB tree views to a ViewContainer Signed-off-by: Kuba Wolanin --- images/oh.svg | 2 +- package.json | 21 +++++++++++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/images/oh.svg b/images/oh.svg index 6080fd5..b88d5fe 100644 --- a/images/oh.svg +++ b/images/oh.svg @@ -1,4 +1,4 @@ - + diff --git a/package.json b/package.json index f0477f1..2fa979b 100644 --- a/package.json +++ b/package.json @@ -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" } }