Skip to content

Commit 14bcf09

Browse files
committed
add switch impl/intf button in editor title menu
1 parent 40366f1 commit 14bcf09

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

assets/switch-impl-intf-dark.svg

+1
Loading

assets/switch-impl-intf-light.svg

+1
Loading

package.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@
6363
},
6464
{
6565
"command": "rescript-vscode.switch-impl-intf",
66-
"title": "ReScript: Switch implementation/interface"
66+
"title": "ReScript: Switch implementation/interface",
67+
"icon": {
68+
"light": "assets/switch-impl-intf-light.svg",
69+
"dark": "assets/switch-impl-intf-dark.svg"
70+
}
6771
}
6872
],
6973
"keybindings": [
@@ -79,6 +83,12 @@
7983
"command": "rescript-vscode.open_compiled",
8084
"when": "editorLangId == rescript",
8185
"group": "navigation"
86+
},
87+
{
88+
"command": "rescript-vscode.switch-impl-intf",
89+
"key": "Alt+O",
90+
"when": "editorLangId == rescript",
91+
"group": "navigation"
8292
}
8393
]
8494
},

0 commit comments

Comments
 (0)