StringLane

Browse docsHow to Use the Command Palette
How-To

How to Use the Command Palette

Press ⌘K to open one searchable menu for every StringLane action — add keys, translate, jump to a key, toggle panels, open settings.

Press ⌘K anywhere in the editor to open the command palette — one fuzzy-searchable menu with every action in the app.

Command palette open with the Add key row pre-selected

The palette is the fastest way to:

  • Add a new key (Add key… — the default accent row)
  • Jump to any key by name across your whole project
  • Run bulk actions — Translate all missing with AI, Toggle Issues panel
  • Switch settings (theme, issues panel orientation)
  • Open Settings or the keyboard shortcuts cheatsheet

How it works

  1. Press ⌘K — modal opens, input focused.
  2. Type — the list filters by fuzzy match across action name, hint, and your project's keys.
  3. ↑ / ↓ — navigate rows. — run the selected row. Esc — dismiss.
Command palette filtered to translate actions

Sections

The palette groups results under section labels that appear only when the section has visible rows:

  • Recent — the 5 most-recent commands you ran, in reverse chronological order. Appears at the top when you open the palette with an empty query.
  • Actions — the primary bulk actions (Add key…, Translate all missing…).
  • View & settings — toggle panels, switch theme, flip the Issues panel orientation, open Settings.
  • Project — Open folder…, Close project.
  • Jump to key — one row per key in your project. Fuzzy-matches both the key name and (when you type a value fragment) its translations. Selecting a row loads that key into the detail pane.
  • Help — Keyboard shortcuts (?).

Running a batch translation from the palette

The Translate all missing with AI action walks you through translating every gap across every non-base locale in one go. It:

  1. Scans the project for missing keys OR cells where the target value equals the base verbatim (likely untranslated copy-paste).
  2. Shows a confirm dialog with the count and the involved locales.
  3. Runs translateKeysBatch per locale sequentially; you see running progress "N / M across K locales" plus the current locale.
  4. Cancel between chunks keeps partial results.
  5. Shows a summary with counts + the last error message (if any).

See Translate all missing for the full flow, including the no-API-key path.

Rebinding ⌘K

The palette trigger is rebindable — Settings → Keybindings → click the chord next to Open command palette → press your preferred shortcut. See Customize keybindings.