From 03e1e3bef60b96d94d7ffb1dacafef82afc4393a Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 12 Aug 2021 19:29:43 +0100 Subject: [PATCH] Use new API in 'Getting Started Sample' --- getting-started-sample/package.json | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/getting-started-sample/package.json b/getting-started-sample/package.json index 9c595637..9deb77de 100644 --- a/getting-started-sample/package.json +++ b/getting-started-sample/package.json @@ -19,11 +19,18 @@ ], "main": "./out/extension.js", "contributes": { - "startEntries": [ + "menus": { + "file/newFile": [ + { + "command": "getting-started-sample.sayHello" + } + ] + }, + "commands":[ { "category": "file", - "command": "getting-started-sample.sayHello", - "title": "Say Hello" + "title": "Say Hello", + "command": "getting-started-sample.sayHello" } ], "walkthroughs": [