Expand description
What Enter and Tab do in the Studio’s editor. Each language’s indentation is worked out on the text alone — which lines open a block, which close one, how wide a step is — so the browser only has to apply the edit.
Structs§
- Enter
- What Enter does: the indentation to give the caret’s own line first, if it changes, and the text to insert at the caret.
- Indentation
- How a language indents: its step, and the lines that open and close a block.