scmJS docs

Keyboard and preferences

Press F1 for a list of every shortcut. These are the ones the editor starts with; any of the commands can be given other keys on Preferences ▸ Hotkeys:

Keys
T D U S L F C switch layer
[ ] brush size
M symmetry on / off
Alt+click pick what is under the cursor
Ctrl+Z / Ctrl+Y undo / redo
Del / Esc delete selection / stop placing
Ctrl+O, Ctrl+S, Ctrl+N open, save, new
Ctrl+Shift+S save as
Ctrl+T Trigger Editor
Ctrl+Shift+T Text Trigger Editor (when TrigEdit is on)
Ctrl+Shift+A AI assistant (with your Anthropic key)
Ctrl+F find
Ctrl+A select all on the layer
Ctrl+G grid
Ctrl+0, Ctrl+Shift+0 100%, zoom to fit
Alt+Enter map properties
Ctrl+F5 test map
Ctrl+, preferences
Ctrl+Tab, Ctrl+Shift+Tab next / previous open map (desktop app)
Ctrl+W close map (desktop app)

Preferences

Preferences (Ctrl+,) are kept in the browser. Nothing is written until OK or Apply. Reset this page puts back what the page in front shows. Reset everything… asks first, then puts every page back, the language and hotkeys included. A plugin's page goes back only if it was opened since the dialog opened. Neither reset turns Privacy back on.

The box above the page list finds a setting on any page. Each section whose heading, labels or hints hold the words you type is shown under its page's name, and its controls work as they do on the page; a plugin's own page is found by the plugin's name. On Hotkeys the box narrows the list instead, to the commands whose name or keys match (save, Ctrl+S). Esc empties the box, and Find's keys (Ctrl+F) bring you back to it. Reset this page is off while the box shows sections from several pages.

The pages down the left:

General

Files

Editing: the grid's spacing, colour and style, and what snaps to it (View ▸ Grid Settings… opens this page); what the palettes start on (the owner of placed units, the brush size, the size of a new location); and how many undo levels each map keeps.

View: how large the editor's own interface is drawn (100%, 115% or 130%: the menus, toolbar, palettes and panels, status bar, dialogs and notices grow, while the map keeps its own zoom and a press on it still lands on the tile under the pointer; in a browser, the browser's own zoom enlarges the map as well); whether notices stay until you close them, rather than leaving after 6 seconds (12 for an error), with Close all above two or more (kept notices pile up instead of the fifth pushing the oldest out, and a pile taller than the window scrolls); whether the mouse wheel scrolls (Ctrl+wheel zooms) or zooms, and whether a wheel zoom keeps the tile under the pointer in place; how fast water and units animate, and how Remastered's water and lava move; which cells the status bar shows; and whether string previews follow Remastered's colour rule or 1.16.1's. Whether water and units animate at all, and whether the map is drawn with Remastered's graphics, are ticks on the View menu.

Testing: where Test Map sends the map (at scmjs.dev, StarCraft or the browser), the folder it writes into for StarCraft, in the desktop app whether the game starts after the map is written, and how the browser plays the map.

Plugins: what to do when an installed plugin has a newer version (tell you, do nothing, or install it; see docs/plugins.md), and each plugin's own settings page.

Storage: where the game data comes from, and everything the editor keeps in the browser, one row per setting or cache, with a plugin's own data under its name. Each row can be cleared on its own, or Clear all data throws the lot away, the pieces learned from maps included. Maps are not part of that list and are not touched by it. The recovery copies and the previous versions of saved files have their own lines. Export writes the settings, the plugins' included, to one file, and Import reads such a file into another browser or machine; caches and the recent files stay behind.

Hotkeys: every command and its keys.

The placement options, the panels and the recent files are remembered too, and so are five of the View menu's ticks: Grid, Location Names, Animate Water, Animate Units and Remastered Graphics. The others, such as the overlays and whether units or doodads are shown, start each session on their defaults. If your system is set to reduce motion, Animate Water and Animate Units start off until you tick them. Preferences' resets leave these ticks alone; their row on the Storage page puts them back.

What's new#

Help ▸ What's New… lists what changed in each release, newest first, with the release you are running open and the older ones folded below it. The part written for plugin authors is folded as well. The notes come with the editor, so the list works offline and always matches the version in front of you; a nightly build shows the notes of the last release. The version line in Help ▸ About scmJS… opens the same list.

The first time you start a release with new notes, a notice says the editor has been updated and offers the list. It appears once per release. The notes are written in English.

In the desktop app, Help ▸ Check for Updates… looks for a newer version.