LILA
EDITOR SUPERPOWERS
View .md

IDE Intellisense, `Alt+Enter` Actions & Shortcuts

Every productivity shortcut in LILA’s CodeMirror 6 Strudel IDE: context-aware `// @` snippet Intellisense, `Alt+Enter` one-key conversions and AI upgrades, Live Templates (`Tab` stops), Mini-Notation autocomplete, and the `F1` Guide.

1. Smart // @ & Pipe | Directive Intellisense

Type // @ (or | ) on any line in the Strudel editor to trigger context-aware autocomplete with Tab placeholders tailored to whatever code sits left of //.

  • Smart Context Boosting: On const MODE = "day"; // @, @pills and @select float to the top with matching option placeholders. On const ENABLED = true; // @, @toggle ranks first. On const CUTOFF = slider(...); // @, @slider and @label rank first.
  • Pipe Modifiers: Inside an existing directive comment, type | to autocomplete | private (hide on /listen), | public, or | label: My Control.
  • Live Hover & Quick Docs (`Cmd/Ctrl+Shift+Space`): Hover or press Quick Docs over any @select, @pills, @toggle, @stepper, @slider, @label, @private, @scene, or header tag to read its syntax card and open its /docs chapter.

2. Alt+Enter Musical Intentions & Live Control Conversions

Place the cursor on any candidate constant, slider(), control directive, or pattern line and press Alt+Enter (Option+Enter on macOS) for context-aware zero-boilerplate refactors.

Cursor Line ContextAvailable `Alt+Enter` ActionWhat It Writes / Opens
Candidate const X = ...Convert X to @select / @pills / @toggle / @stepperAppends matching directive comment or opens Visual Control Builder
Any existing control / slider()Expose on /listen (@public) ↔ Hide (@private)Cleanly adds or removes | private on that line’s directive
Any slider() lineEnable Auto-Sweep LFO (sine, 4c) / Disable LFOToggles @lfo(...) @parked(...) modulation automatically
Any scriptAsk LILA AI: Upgrade with Live Controls / Public Preset Switcher / Prep for /listenPopulates Gemini 4 Neon Assistant drawer with an architectural upgrade brief
note("...") / chord("...")Add .voicing(), Snap Notes to Scale, Rotate Steps, Mute/SoloInstant AST musical refactoring without manual cursor juggling

3. Live Templates (Tab Stops) & Core Keymap

Type any Live Template keyword in the editor and press Tab or Enter to stamp out pre-wired controls, preset rigs, or rhythmic templates with jumpable placeholders.

Trigger / ShortcutActionInserted Output / Behavior
ctrl-selectLive Control Dropdown Templateconst MODE = "flow"; // @select ... | label: Mode
ctrl-pillsSegmented Pills Mode Switcherconst SECTION = "main"; // @pills ...
ctrl-toggleBoolean Toggle Switch Templateconst LAYER_ON = true; // @toggle On, Off | label: ...
ctrl-stepperNumeric Stepper Templateconst DENSITY = 4; // @stepper 1..16, 1 | label: ...
ctrl-lfoAuto-Sweep @slider LFO Templateconst cutoff = slider(...); // @slider ... | @lfo(...)
ctrl-preset-rigPublic Preset Mode + Private Rig SkeletonCreates public MODE dropdown, private MANUAL_CONSOLE toggle, and preset() router
Ctrl+Enter / Cmd+EnterEvaluate / Update Live CodeApplies code live without glitching phase
Ctrl+SpaceTrigger Smart AutocompleteSuggests Strudel methods, mini-notation, sounds, // @ directives & templates
Cmd/Ctrl+Shift+SpaceQuick Docs PopupPinned documentation card with /docs manual links
F1IDE Guide & Keymap ModalSearchable cheat sheet for shortcuts, syntax & rules
Alt+7Structure & @scene OutlineShows scenes, sliders, controls & layers

Booting Strudel Engine...

Strudel Evaluation Terminal (0)

Unknown

Unknown Artist