Docs Reference Commands Commands Every command JSLab's menus, keybindings and command palette can run, generated from its command registry.
Every action in JSLab, from running your code to switching a theme, is a command. Open the command palette with ⇧⌘P and type a command’s name to run it from anywhere in the app.
Note
A few commands do not appear in the palette because they only make sense from a menu or a dialog. They are still bindable, and are marked “Menu only” below.
Generated from JSLab’s command registry.
Run Command Shortcut Where Run ⌘R — Stop ⇧⌘R — Kill ⌥⌘R — Toggle Auto Run ⌥⌘A — Toggle Auto Log ⌥⌘L — Toggle Loop Protection — — Set Working Directory… — — Clear Working Directory — —
File Command Shortcut Where Open… ⌘O — Save ⌘S — Save As… ⇧⌘S —
Tabs Command Shortcut Where New Tab ⌘T — New Tab… — — New Tab from Template — Menu only Close Tab ⌘W — Close Other Tabs ⌥⌘T — Close Tabs to the Right — — Reopen Closed Tab ⇧⌘T — Next Tab ⌥⌘→ ⌃⇥ — Previous Tab ⌥⌘← ⌃⇧⇥ — Rename Tab… — — Reveal in Finder — — Copy Path — — Go to Tab 1 ⌘1 Menu only Go to Tab 2 ⌘2 Menu only Go to Tab 3 ⌘3 Menu only Go to Tab 4 ⌘4 Menu only Go to Tab 5 ⌘5 Menu only Go to Tab 6 ⌘6 Menu only Go to Tab 7 ⌘7 Menu only Go to Tab 8 ⌘8 Menu only Go to Tab 9 ⌘9 Menu only
Edit Command Shortcut Where Clear Output ⌘K Output Copy All Output — Output Output: Show All — Output Output: Show Results — Output Output: Show Logs — Output Output: Show Errors — Output Output: Toggle Table View — — Output: Open Table — — Clear Editor — Editor Find ⌘F Editor Replace ⌥⌘F Editor Find Next ⌘G Editor Find Previous ⇧⌘G Editor Go to Line… ⌃G Editor Toggle Line Comment ⌘/ Editor Toggle Block Comment ⌥⌘/ Editor Toggle Magic Comment ⌥⇧⌘/ Editor Toggle Logpoint F9 Editor Clear All Logpoints ⇧⌘F9 Editor Delete Line ⌃⇧K Editor Select Line ⌘L Editor Split Selection into Lines ⇧⌘L Editor Insert Line Before ⇧⌘↩ Editor Insert Line After ⌘↩ Editor Select Next Occurrence ⌘D Editor Expand Selection ⇧⌘Space Editor Select to Bracket ⇧⌘M Editor Go to Bracket ⌘M Editor Move Line Up ⌃⌘↑ Editor Move Line Down ⌃⌘↓ Editor Join Lines ⌘J Editor Duplicate Line ⇧⌘D Editor Sort Lines F5 Editor Sort Lines (Case-Insensitive) ⌘F5 Editor Reverse Sort Lines (Case-Insensitive) ⇧⌘F5 Editor Delete to Line Start ⌘⌫ Editor Add Cursor Above ⌃⇧↑ Editor Add Cursor Below ⌃⇧↓ Editor Trigger Suggestions ⌃Space Editor Show Hover F1 Editor Show Diagnostic ⌘F1 Editor Create Snippet… — Editor Expand Snippet ⇥ Editor · Menu only
Command Shortcut Where Format Code ⌥⇧F Editor
View Command Shortcut Where Show Command Palette ⇧⌘P Menu only Zoom In ⌘= — Zoom Out ⌘- — Actual Size ⌘0 — Toggle Output Panel — — Toggle Web View ⌥⌘W — Toggle Tailwind — — Show Transpiled Output — — Focus Output ⌥⌘O — Focus Editor ⌥⌘E — Toggle Side Bar — — Toggle Activity Bar — — Toggle Status Bar — — Toggle Tab Bar — — Horizontal Layout — — Vertical Layout — — Toggle Vertical Split ⌥⌘\ — Toggle Full Screen ⌃⌘F — Zoom — —
Command Shortcut Where NPM Packages… ⌘I — Environment Variables… — — Install Package — Menu only Snippets… ⌘B — AI Chat… ⌃⌘I — Import Snippets… — — Export Snippets… — —
Runtime Command Shortcut Where Runtime: Bun — — Runtime: Browser & Node APIs — — Runtime: Browser — —
Language Command Shortcut Where Language: TypeScript — — Language: JavaScript — — Language: TSX — — Language: JSX — — Framework: Auto (detect from imports) — — Framework: React — — Framework: Solid — — Framework: Vue — — Framework: Angular — — Framework: None — —
Theme Command Shortcut Where Select Theme — Menu only Import VS Code Theme… — — Follow System Appearance — —
Help Command Shortcut Where About JSLab — — Enter License Key… — — Check for Updates… — — Learning & Tips — — Documentation — — Report Issue — — What's New — — Replay Intro — — Copy Debug Log — — Open Logs Folder — — Install jslab Command… — — Uninstall jslab Command… — Menu only Restart in Safe Mode — —
JSLab Command Shortcut Where Settings… ⌘, — Close Window — — Open Data Folder — — Restart to Update — Menu only
Last updated September 27, 2026