We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc401af commit 2e97975Copy full SHA for 2e97975
src/cm/commandRegistry.js
@@ -581,6 +581,22 @@ function registerCoreCommands() {
581
return true;
582
},
583
});
584
+ addCommand({
585
+ name: "dev:openInspector",
586
+ description: "Open Inspector",
587
+ exec() {
588
+ acode.exec("open-inspector");
589
+ },
590
+ readOnly: true,
591
+ });
592
593
+ name: "dev:toggleDevTools",
594
+ description: "Toggle Developer Tools",
595
596
+ acode.exec("toggle-inspector");
597
598
599
600
601
// Additional editor-centric helpers mapped to CodeMirror primitives that have existing key bindings in defaults.
602
addCommand({
0 commit comments