From e9ef0b04412d438e3a94454dbfbfe3a0cfbcb11f Mon Sep 17 00:00:00 2001 From: MasonBone Date: Tue, 19 Oct 2021 11:52:58 -0500 Subject: [PATCH] Menus added in editor --- package.json | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/package.json b/package.json index e2ee84e..9e919f6 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,57 @@ "title": "Reset Editor Scale" } ], + + "menus": { + "editor/context": [ + { + "submenu": "mind-reader.editor.context", + "group": "Accessibility", + "when": "activeEditor" + } + ], + + "mind-reader.editor.context": [ + { + "command": "mind-reader.increaseEditorScale", + "group": "mind-reader", + "when": "editorActive" + }, + { + "command": "mind-reader.decreaseFontScale", + "group": "mind-reader", + "when": "editorActive" + }, + { + "command": "mind-reader.resetFontScale", + "group": "mind-reader", + "when": "editorActive" + }, + { + "command": "mind-reader.increaseEditorScale", + "group": "mind-reader", + "when": "editorActive" + }, + { + "command": "mind-reader.decreaseEditorScale", + "group": "mind-reader", + "when": "editorActive" + }, + { + "command": "mind-reader.resetEditorScale", + "group": "mind-reader", + "when": "editorActive" + } + ] + }, + + "submenus": [ + { + "id": "mind-reader.editor.context", + "label": "Mind_Reader" + } + ], + "configuration":{ "title": "Mind_Reader", "properties": {