πŸ’» Code Editor Guide

Mastering the Code Workspace

The Code Workspace is a distraction-free, lightning-fast text editor powered by Microsoft Monaco (the engine behind VS Code). It runs entirely in your browser but acts like a native desktop application.

πŸ“‚ True File Management

This editor uses modern Browser APIs to interact securely with your hard drive, skipping annoying download popups.

πŸš€ Advanced Monaco Features

Because this uses the real VS Code engine, you have access to powerful professional tools natively:

⌨️ Power Shortcuts Cheat Sheet

Keep your hands on the keyboard. Use these native shortcuts to write code at lightning speed:

Shortcut Action
Ctrl + S True Save: Silently overwrites the current file.
Ctrl + D Add Selection to Next Find Match: Highlights the current word. Press it again to highlight the next instance of that word so you can edit both at once!
Ctrl + / Toggle Comment: Instantly comments or uncomments the current line (or selected block) using the correct syntax for your language.
Shift + Alt + ↓ Copy Line Down: Duplicates the current line directly below.
Alt + ↑ / ↓ Move Line: Moves the current line of code up or down through your file.
Ctrl + F Find & Replace: Opens the native search widget in the top right corner.
Tab / Shift+Tab Indent / Outdent: Pushes or pulls the current line (or all highlighted lines) by 4 spaces.

⚑ IntelliSense & Smart Snippets

Type any of the trigger words below and immediately press Tab to generate boilerplate code and auto-place your cursor.

JavaScript Snippets JS Mode

Trigger + TABWhat it generates
clconsole.log( | );
fnStandard function block function name() { ... }
afnArrow function const name = () => { ... }
forStandard for loop (automatically links the i variables)
tryFull try / catch block with error logging
qsdocument.querySelector(' | ');
aelEvent Listener boilerplate element.addEventListener(...)
fetchFull API Fetch code with JSON and catch blocks

HTML/CSS Snippets HTML Mode

Trigger + TABWhat it generates
htmlComplete HTML5 Document Boilerplate
styleInternal <style> block
scriptInternal <script> block
scriptsrcExternal script link <script src="...">
linkExternal CSS link <link rel="stylesheet"...>
div<div class="..."> </div>
aHyperlink tag <a href="...">

🌐 Engine Architecture: This editor runs 100% offline via your local libs/vs folder. If those files are deleted or moved, the editor automatically falls back to a secure online CDN, displaying a 🌐 icon in the top right corner.