We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a951b29 + 0f8b489 commit 46a8d60Copy full SHA for 46a8d60
client/modules/IDE/components/KeyboardShortcutModal.jsx
@@ -80,6 +80,12 @@ function KeyboardShortcutModal() {
80
</span>
81
<span>Toggle Sidebar</span>
82
</li>
83
+ <li className="keyboard-shortcut-item">
84
+ <span className="keyboard-shortcut__command">
85
+ Ctrl + `
86
+ </span>
87
+ <span>Toggle Console</span>
88
+ </li>
89
</ul>
90
);
91
}
client/modules/IDE/pages/IDEView.jsx
@@ -163,6 +163,13 @@ class IDEView extends React.Component {
163
} else {
164
this.props.collapseSidebar();
165
166
+ } else if (e.keyCode === 192 && e.ctrlKey) {
167
+ e.preventDefault();
168
+ if (this.props.ide.consoleIsExpanded) {
169
+ this.props.collapseConsole();
170
+ } else {
171
+ this.props.expandConsole();
172
+ }
173
174
175
0 commit comments