From cdcefe9df4fbc16fbbc548a8bb8af730fbec4ecf Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 15 Jan 2018 18:59:41 +0100 Subject: [PATCH] inline action example --- tree-view-sample/package.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tree-view-sample/package.json b/tree-view-sample/package.json index e6e68b66..be60e776 100644 --- a/tree-view-sample/package.json +++ b/tree-view-sample/package.json @@ -68,7 +68,11 @@ }, { "command": "jsonOutline.refreshNode", - "title": "Refresh" + "title": "Refresh", + "icon": { + "light": "resources/light/refresh.svg", + "dark": "resources/dark/refresh.svg" + } }, { "command": "jsonOutline.renameNode", @@ -103,7 +107,8 @@ }, { "command": "jsonOutline.refreshNode", - "when": "view == jsonOutline" + "when": "view == jsonOutline", + "group": "inline" } ] },