Skip to content

Commit 9534d27

Browse files
committed
Add command and menu items
1 parent dc21fe5 commit 9534d27

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
"command": "matlab.enableSignIn",
6666
"title": "MATLAB: Manage Sign In Options"
6767
},
68+
{
69+
"command": "matlab.openFile",
70+
"title": "MATLAB: Open File"
71+
},
6872
{
6973
"command": "matlab.resetDeprecationPopups",
7074
"title": "MATLAB: Reset Deprecation Warning Popups"
@@ -125,6 +129,10 @@
125129
"command": "matlab.runSelection",
126130
"when": "editorLangId == matlab && editorHasSelection && !editorHasMultipleSelections",
127131
"group": "1_run"
132+
},
133+
{
134+
"command": "matlab.openFile",
135+
"when": "editorLangId == matlab && editorHasSelection && resourceExtname != '.m'"
128136
}
129137
],
130138
"explorer/context": [

0 commit comments

Comments
 (0)