[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-mps-aspect-editor-menus-and-keymaps":3,"mdc-alf8qj-key":32,"related-org-jetbrains-mps-aspect-editor-menus-and-keymaps":2250,"related-repo-jetbrains-mps-aspect-editor-menus-and-keymaps":2370},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":19,"repoUrl":20,"updatedAt":21,"license":22,"forks":23,"topics":24,"repo":27,"sourceUrl":30,"mdContent":31},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16],{"name":13,"slug":14,"type":15},"Engineering","engineering","tag",{"name":17,"slug":18,"type":15},"UI Components","ui-components",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-23T05:41:49.666535",null,311,[25,26],"domain-specific-language","dsl",{"repoUrl":20,"stars":19,"forks":23,"topics":28,"description":29},[25,26],"JetBrains Meta programming System","https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS\u002Ftree\u002FHEAD\u002Fplugins\u002Fmcp-tools\u002Fresources\u002Fjetbrains\u002Fmps\u002Fagents\u002Fmcp\u002Fskills\u002Fmps-aspect-editor-menus-and-keymaps","---\nname: mps-aspect-editor-menus-and-keymaps\ndescription: >-\n  Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.\ntype: reference\n---\n\n# MPS Editor Aspect — Menus, Keymaps and Actions\n\nThis skill covers the **non-layout parts** of the MPS editor aspect: everything that controls user interaction (typing, keystrokes, completion, paste, context actions). Most concepts belong to `jetbrains.mps.lang.editor.structure`; paste wrappers \u002F node factories \u002F copy-paste handlers live in `jetbrains.mps.lang.actions.structure`. Roots typically live in `\u003Clang>\u002FlanguageModels\u002Feditor.mps` or `actions.mps`.\n\n**Where these roots go.** Menus \u002F keymaps \u002F action maps live in the **same `editor` aspect model** as the layout cell models — there is no separate aspect ID. Paste wrappers, copy-paste handlers and node factories live in the **`actions` aspect model**. Both aspect IDs (`editor`, `actions`) are case-sensitive and carry no `@` suffix — see [aspect-model-stereotypes.md](..\u002Fmps-mcp-workflow\u002Freferences\u002Faspect-model-stereotypes.md).\n\nFor the **layout** side (concept editors, cell models, style sheets, editor components) see `mps-mcp-workflow` and `mps-aspect-editor`.\n\n## Critical Directives\n\n- **Pick the right artefact for the user-visible behaviour.** \"Change what `Delete` does\" → action map. \"Add `Ctrl+Shift+I`\" → keymap. \"Offer `+` after a number\" → side transform in a transformation menu. \"Hide \u002F reorder completion\" → substitute menu. \"Wrap pasted node\" → paste wrapper. See `references\u002Flandscape.md` for the full mapping.\n- **Author by convention.** Name roots `\u003CConcept>_ActionMap`, `\u003CConcept>_KeyMap`, `\u003CConcept>_TransformationMenu`, `\u003CConcept>_\u003CPosition>_SubstituteMenu`, `\u003CConcept>_Factory`, `\u003CConcept>Styling` for automatic discovery. MPS walks the super-concept chain to find them.\n- **Use MPS MCP tools for edits.** `mps_mcp_insert_root_node_from_json`, `mps_mcp_update_node`. Resolve concept names with `mps_mcp_search_concepts` \u002F `mps_mcp_get_concept_details` — never guess concept IDs.\n- **Define a substitute menu before a transformation menu.** The default `BaseConcept_TransformationMenu` already includes the substitute menu; for most \"make my concept completable\" tasks, only a substitute menu is required.\n- **An empty default substitute menu HIDES the concept from completion.** Either remove it or fill it. See `references\u002Fsubstitute-menus.md` §\"Empty default suppresses\".\n- **Side-transform items are NOT automatically in `Ctrl+Space`.** Either list `TransformationLocation_Completion` alongside `TransformationLocation_SideTransform`, or add a separate completion section.\n- **Use action maps for `DELETE`\u002F`BACKSPACE` instead of keymaps bound to `VK_DELETE`.** They integrate with two-step deletion and action inheritance.\n- **`TransformationMenu` field name is `conceptDeclaration`, not `applicableConcept`.** Real role names: `sections`, `parts`, `locations`, `textFunction`. Older docs lie.\n- **Contributions must live in a different language from the menu they extend.** `TransformationMenuContribution` \u002F `SubstituteMenu_Contribution` are cross-language only.\n- **Write bodies with `mps-model-manipulation` idioms.** `node.replace with(...)`, `node.parent.\u003Crole>.set(...)`, `node.children\u003CX>.add new(...)`. Implicit params: `node`, `editorContext` (+ `model`, `scope`, `operationContext` depending on function kind).\n- After edits run `mps_mcp_check_root_node_problems` and rebuild the language.\n- **Trace missing completion items** with `Ctrl+Alt+B` on the offending item — MPS shows the menu → menu-part → action chain.\n\n## Common-Path Workflow\n\nFor a typical \"let the user invoke action X when they do Y\" task:\n\n1. **Pick the artefact** from the table in `references\u002Flandscape.md`.\n2. **Pick the attachment concept.** Roles: `applicableConcept` (action maps, keymaps, copy\u002Fpaste handlers, paste wrappers source\u002Ftarget); `conceptDeclaration` via `IMenu_Concept` (transformation and substitute menus).\n3. **Name by convention** so MPS discovers the root automatically. Otherwise wire it explicitly from the cell (`actionMap`, `keyMap`, `transformationMenu`, `substituteMenu`, legacy `menu`).\n4. **Draft JSON** using a blueprint from `references\u002Fjson-blueprints.md`. Use `mps_mcp_insert_root_node_from_json`.\n5. **Write the function body** with smodel + BaseLanguage. For \"select the new node afterwards\", use the editor selection API (`references\u002Fselection-and-deletion.md`).\n6. **Rebuild the language** (`mps_mcp_alter_nodes` MAKE) so the editor sees the new concepts.\n7. **Validate** with `mps_mcp_check_root_node_problems` on every touched root. Common error: unresolved action IDs (`delete_action_id` etc.) or missing imports for shared-concept parameters.\n8. **Test interactively** in a sample model. For side transforms, verify the item also appears in completion (if intended).\n9. **Diagnose missing items** with `Ctrl+Alt+B` on the popup item — that prints the menu chain.\n\n## Which Menu Fires Where (Quick Reference)\n\n| User action | Menu consulted |\n|---|---|\n| `Ctrl+Space` \u002F typing into a concept-completion cell | Default `SubstituteMenu` for the link's target concept, walking DOWN sub-concepts |\n| Context Assistant pops up | Sections with `TransformationLocation_ContextAssistant` |\n| Context Actions Tool | Sections with `TransformationLocation_ContextActionsTool` |\n| Typing `+` right of a cell | Sections with `TransformationLocation_SideTransform` location, `place.side = RIGHT` |\n| Pressing `Delete` | `CellActionMapDeclaration` item with `actionId = delete_action_id`, else default |\n| Arbitrary keystroke | `CellKeyMapDeclaration` items matching keystroke + caret policy |\n| Copy (Ctrl+C) | `CopyPreProcessor`s for the concept |\n| Paste into incompatible slot | `PasteWrappers`, then `PastePostProcessor`s |\n\n## Related Skills\n\n- `mps-mcp-workflow` — \"MPS Concept Editor Workflow\" section: scaffold, componentise, refine. Covers the **layout** side.\n- `mps-aspect-editor` — overall workflow for creating and changing MPS editor definitions; cell models, layout styles, style inheritance.\n- `mps-aspect-actions` — `NodeFactory` initialisation of new nodes (in the actions language, often referenced from menus).\n- `mps-aspect-intentions` — Alt+Enter context actions. Intentions can be surfaced inside a transformation menu via the `intention` adapter.\n- `mps-model-manipulation` — smodel operations used in execute\u002Ftext\u002Fcondition bodies.\n- `mps-baselanguage` — BaseLanguage JSON mechanics.\n- `mps-node-editing`, `mps-mcp-workflow` — concept identification \u002F blueprint hygiene.\n\n## Reference Index\n\n- Open `references\u002Flandscape.md` when **choosing which artefact to build** — the master table of root concepts, attachment-point roles, file conventions, naming conventions, and the `BaseConcept_TransformationMenu` super-chain rule. Also covers the `TransformationMenu_Default` \u002F `_Named` deprecation note (future merge into `TransformationMenuImpl`).\n- Open `references\u002Faction-maps.md` when **overriding standard cell actions** (DELETE, BACKSPACE, SELECT_ALL, LEFT_TRANSFORM, RIGHT_TRANSFORM, …) — `CellActionMapDeclaration` fields, item structure, the `Not_ActionMap` example from Kaja, `BACKSPACE` auto-registration, the keyboard-deletable-annotation pattern (delete a node attribute from its label cell and reselect the host node), importing maps via `CellActionMapImport`\u002Fwildcard\u002Fby-action-id selectors, import rules (transitive, winner, no cycles, cross-language), `SELECT_ALL` customisation.\n- Open `references\u002Fkeymaps.md` when **binding arbitrary keystrokes to a cell** — `CellKeyMapDeclaration` fields, `everyModel` flag, `CellKeyMapItem` properties (keystroke, executeFunction, isApplicableFunction, description, caretPolicy, showInPopup, menuAlwaysShown), `CastExpression_KeyMap` template, `modifiers` string syntax (`ctrl alt shift meta`), caret-policy semantics, when to prefer an action map.\n- Open `references\u002Ftransformation-menus.md` when **adding items to completion \u002F context assistant \u002F context actions tool \u002F side transforms** — section structure with `locations` + `parts`, the four `TransformationLocation_*` types, every menu part concept (`Action`, `Group`, `Super`, `IncludeMenu`, `IncludeSubstituteMenu`, `SubMenu`, `Parameterized`, `WrapSubstituteMenu`, `PropertyMenu`, `ReferenceMenu`, `Placeholder`), adapter parts (`intention`, `refactoring`, `plugin Action`), the `Action` blueprint with `textFunction` \u002F `executeFunction` \u002F `canExecuteFunction` \u002F `features` (description text), parameterised parts with `parameterObject`, groups + variables (with the eager-evaluation gotcha), `TransformationMenuContribution` cross-language extension, cell-level attachment combining legacy `menu` + `transformationMenu`.\n- Open `references\u002Fsubstitute-menus.md` when **controlling what nodes are creatable at an AST position** — default vs named, the five synthesised-default rules (sub-concepts, abstracts filtered, can-be-child, can-be-parent, smart-reference for 1:1), the \"empty default suppresses\" gotcha, all `SubstituteMenuPart_*` concepts (`AddConcept`, `Concepts`, `Subconcepts`, `Group`, `IncludeMenu`, `Parameterized`, `Action`, `Wrapper`, `ReferenceScope`, `Placeholder`), the `Statement_SubstituteMenu` JSON template, the `Wrapper` example wrapping `Expression` into `ExpressionStatement`.\n- Open `references\u002Fside-transforms.md` when **converting `1` typed `+` into `1 + \u003Chole>`** — the right-transform JSON template on `Expression`, LEFT vs RIGHT semantics, the trick to also surface items in `Ctrl+Space` (either combine locations or include the menu from a completion section).\n- Open `references\u002Flegacy-cell-menus.md` when **dealing with cells that still have `menu` \u002F `postfixHint` declarations** — property values menu, postfix hints (with the verbatim `splitByCamels` example), primary replace-child \u002F choose-referent, replace-node (custom node concept), generic items, cell menu reference, ref-presentation cell, and the `presentation query in reference constraints` deprecation warning.\n- Open `references\u002Fpaste-and-copy.md` when **transforming pasted nodes or pre\u002Fpost-processing copy\u002Fpaste** — `PasteWrappers` (in actions language) with `sourceConcept`\u002F`targetConcept`\u002F`wrap` function and the `Expression → Statement` example; `CopyPasteHandlers` with `CopyPreProcessor` (mutates `copy`, not `original`) and `PastePostProcessor` (re-resolves references with the `LocalVariableReference` example); triggering order (handlers → wrappers → graft).\n- Open `references\u002Fcompletion-styling.md` when **customising the look or priority of completion items** — `CompletionStyling` selectors (items modifying concept instances vs items creating concept instances), styling attributes (bold\u002Fitalic\u002Fstrike\u002Fcolour\u002Fhide\u002Fpriority), sort order, `ReturnStatementStyling` \u002F `VariableReferencePriority` examples, the global \"Use completion styling\" toggle.\n- Open `references\u002Freference-presentation.md` when **changing how a reference looks resolved or in completion** — `ref. presentation cell` on `CellModel_RefCell`, `cell menu reference` items, the recommended modern alternative (override the referenced concept's `InlineEditorComponent` or expose a `getPresentation()` behavior method).\n- Open `references\u002Fselection-and-deletion.md` when **selecting a node after a mutation or implementing two-step deletion** — the `select` operation syntax (`in:`, `cell:`, `selectionStart`, `selectionEnd`), predefined cell values (`FIRST`, `LAST`, `LAST_EDITABLE`, `MOST_RELEVANT`), the `ApproveDelete_Operation` hook, the \"node not already selected \u002F not already approved\" conditions, and the rule that custom delete actions must call `node.approveDelete(editorContext)` before mutating.\n- Open `references\u002Fjson-blueprints.md` when **inserting any of these roots through MCP** — copy-and-edit JSON for action map, keymap, transformation menu (default + side-transform), substitute menu (default + wrapper), paste wrapper, copy-paste handlers, completion styling. Each blueprint has a comment indicating where to inject BaseLanguage statement lists.\n- Open `references\u002Fwiring-tables.md` when **understanding the cell-to-aspect wiring** — the cell `menu` \u002F `transformationMenu` \u002F `substituteMenu` \u002F `keyMap` \u002F `actionMap` mapping, when both are combined vs replaced, the name-driven discovery convention.\n- Open `references\u002Freal-examples.md` when **studying canonical implementations** — `jetbrains.mps.samples.Kaja` (compact action-map + substitute menu + side-transform + style sheet), `jetbrains.mps.baseLanguage` (editor.mps ≈4 MB; actions.mps with paste wrappers; intentions.mps), with the `mps_mcp_print_node` workflow for cross-checking concept and role names.\n- Open `references\u002Fcommon-failures.md` when **a feature does not work** — concept absent from completion (empty default substitute menu); side transform inserts the character; `Delete` doesn't fire (two-step deletion not approved); keymap item never fires; paste wrapper not triggered; transformation-menu action in completion but not Context Assistant; wrong role name in JSON (`section`\u002F`part`\u002F`location`\u002F`matchingTextFunction`\u002F`applicableConcept`); stale references after refactor (use `FIX_REFERENCES`); contribution defined in same language as the menu.\n",{"data":33,"body":35},{"name":4,"description":6,"type":34},"reference",{"type":36,"children":37},"root",[38,47,94,161,188,195,629,635,640,848,854,1074,1080,1185,1191],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"mps-editor-aspect-menus-keymaps-and-actions",[44],{"type":45,"value":46},"text","MPS Editor Aspect — Menus, Keymaps and Actions",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51,53,59,61,68,70,76,78,84,86,92],{"type":45,"value":52},"This skill covers the ",{"type":39,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"non-layout parts",{"type":45,"value":60}," of the MPS editor aspect: everything that controls user interaction (typing, keystrokes, completion, paste, context actions). Most concepts belong to ",{"type":39,"tag":62,"props":63,"children":65},"code",{"className":64},[],[66],{"type":45,"value":67},"jetbrains.mps.lang.editor.structure",{"type":45,"value":69},"; paste wrappers \u002F node factories \u002F copy-paste handlers live in ",{"type":39,"tag":62,"props":71,"children":73},{"className":72},[],[74],{"type":45,"value":75},"jetbrains.mps.lang.actions.structure",{"type":45,"value":77},". Roots typically live in ",{"type":39,"tag":62,"props":79,"children":81},{"className":80},[],[82],{"type":45,"value":83},"\u003Clang>\u002FlanguageModels\u002Feditor.mps",{"type":45,"value":85}," or ",{"type":39,"tag":62,"props":87,"children":89},{"className":88},[],[90],{"type":45,"value":91},"actions.mps",{"type":45,"value":93},".",{"type":39,"tag":48,"props":95,"children":96},{},[97,102,104,117,119,129,131,136,138,143,145,151,153,160],{"type":39,"tag":54,"props":98,"children":99},{},[100],{"type":45,"value":101},"Where these roots go.",{"type":45,"value":103}," Menus \u002F keymaps \u002F action maps live in the ",{"type":39,"tag":54,"props":105,"children":106},{},[107,109,115],{"type":45,"value":108},"same ",{"type":39,"tag":62,"props":110,"children":112},{"className":111},[],[113],{"type":45,"value":114},"editor",{"type":45,"value":116}," aspect model",{"type":45,"value":118}," as the layout cell models — there is no separate aspect ID. Paste wrappers, copy-paste handlers and node factories live in the ",{"type":39,"tag":54,"props":120,"children":121},{},[122,128],{"type":39,"tag":62,"props":123,"children":125},{"className":124},[],[126],{"type":45,"value":127},"actions",{"type":45,"value":116},{"type":45,"value":130},". Both aspect IDs (",{"type":39,"tag":62,"props":132,"children":134},{"className":133},[],[135],{"type":45,"value":114},{"type":45,"value":137},", ",{"type":39,"tag":62,"props":139,"children":141},{"className":140},[],[142],{"type":45,"value":127},{"type":45,"value":144},") are case-sensitive and carry no ",{"type":39,"tag":62,"props":146,"children":148},{"className":147},[],[149],{"type":45,"value":150},"@",{"type":45,"value":152}," suffix — see ",{"type":39,"tag":154,"props":155,"children":157},"a",{"href":156},"..\u002Fmps-mcp-workflow\u002Freferences\u002Faspect-model-stereotypes.md",[158],{"type":45,"value":159},"aspect-model-stereotypes.md",{"type":45,"value":93},{"type":39,"tag":48,"props":162,"children":163},{},[164,166,171,173,179,181,187],{"type":45,"value":165},"For the ",{"type":39,"tag":54,"props":167,"children":168},{},[169],{"type":45,"value":170},"layout",{"type":45,"value":172}," side (concept editors, cell models, style sheets, editor components) see ",{"type":39,"tag":62,"props":174,"children":176},{"className":175},[],[177],{"type":45,"value":178},"mps-mcp-workflow",{"type":45,"value":180}," and ",{"type":39,"tag":62,"props":182,"children":184},{"className":183},[],[185],{"type":45,"value":186},"mps-aspect-editor",{"type":45,"value":93},{"type":39,"tag":189,"props":190,"children":192},"h2",{"id":191},"critical-directives",[193],{"type":45,"value":194},"Critical Directives",{"type":39,"tag":196,"props":197,"children":198},"ul",{},[199,242,295,336,354,372,405,438,498,522,598,611],{"type":39,"tag":200,"props":201,"children":202},"li",{},[203,208,210,216,218,224,226,232,234,240],{"type":39,"tag":54,"props":204,"children":205},{},[206],{"type":45,"value":207},"Pick the right artefact for the user-visible behaviour.",{"type":45,"value":209}," \"Change what ",{"type":39,"tag":62,"props":211,"children":213},{"className":212},[],[214],{"type":45,"value":215},"Delete",{"type":45,"value":217}," does\" → action map. \"Add ",{"type":39,"tag":62,"props":219,"children":221},{"className":220},[],[222],{"type":45,"value":223},"Ctrl+Shift+I",{"type":45,"value":225},"\" → keymap. \"Offer ",{"type":39,"tag":62,"props":227,"children":229},{"className":228},[],[230],{"type":45,"value":231},"+",{"type":45,"value":233}," after a number\" → side transform in a transformation menu. \"Hide \u002F reorder completion\" → substitute menu. \"Wrap pasted node\" → paste wrapper. See ",{"type":39,"tag":62,"props":235,"children":237},{"className":236},[],[238],{"type":45,"value":239},"references\u002Flandscape.md",{"type":45,"value":241}," for the full mapping.",{"type":39,"tag":200,"props":243,"children":244},{},[245,250,252,258,259,265,266,272,273,279,280,286,287,293],{"type":39,"tag":54,"props":246,"children":247},{},[248],{"type":45,"value":249},"Author by convention.",{"type":45,"value":251}," Name roots ",{"type":39,"tag":62,"props":253,"children":255},{"className":254},[],[256],{"type":45,"value":257},"\u003CConcept>_ActionMap",{"type":45,"value":137},{"type":39,"tag":62,"props":260,"children":262},{"className":261},[],[263],{"type":45,"value":264},"\u003CConcept>_KeyMap",{"type":45,"value":137},{"type":39,"tag":62,"props":267,"children":269},{"className":268},[],[270],{"type":45,"value":271},"\u003CConcept>_TransformationMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":274,"children":276},{"className":275},[],[277],{"type":45,"value":278},"\u003CConcept>_\u003CPosition>_SubstituteMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":281,"children":283},{"className":282},[],[284],{"type":45,"value":285},"\u003CConcept>_Factory",{"type":45,"value":137},{"type":39,"tag":62,"props":288,"children":290},{"className":289},[],[291],{"type":45,"value":292},"\u003CConcept>Styling",{"type":45,"value":294}," for automatic discovery. MPS walks the super-concept chain to find them.",{"type":39,"tag":200,"props":296,"children":297},{},[298,303,305,311,312,318,320,326,328,334],{"type":39,"tag":54,"props":299,"children":300},{},[301],{"type":45,"value":302},"Use MPS MCP tools for edits.",{"type":45,"value":304}," ",{"type":39,"tag":62,"props":306,"children":308},{"className":307},[],[309],{"type":45,"value":310},"mps_mcp_insert_root_node_from_json",{"type":45,"value":137},{"type":39,"tag":62,"props":313,"children":315},{"className":314},[],[316],{"type":45,"value":317},"mps_mcp_update_node",{"type":45,"value":319},". Resolve concept names with ",{"type":39,"tag":62,"props":321,"children":323},{"className":322},[],[324],{"type":45,"value":325},"mps_mcp_search_concepts",{"type":45,"value":327}," \u002F ",{"type":39,"tag":62,"props":329,"children":331},{"className":330},[],[332],{"type":45,"value":333},"mps_mcp_get_concept_details",{"type":45,"value":335}," — never guess concept IDs.",{"type":39,"tag":200,"props":337,"children":338},{},[339,344,346,352],{"type":39,"tag":54,"props":340,"children":341},{},[342],{"type":45,"value":343},"Define a substitute menu before a transformation menu.",{"type":45,"value":345}," The default ",{"type":39,"tag":62,"props":347,"children":349},{"className":348},[],[350],{"type":45,"value":351},"BaseConcept_TransformationMenu",{"type":45,"value":353}," already includes the substitute menu; for most \"make my concept completable\" tasks, only a substitute menu is required.",{"type":39,"tag":200,"props":355,"children":356},{},[357,362,364,370],{"type":39,"tag":54,"props":358,"children":359},{},[360],{"type":45,"value":361},"An empty default substitute menu HIDES the concept from completion.",{"type":45,"value":363}," Either remove it or fill it. See ",{"type":39,"tag":62,"props":365,"children":367},{"className":366},[],[368],{"type":45,"value":369},"references\u002Fsubstitute-menus.md",{"type":45,"value":371}," §\"Empty default suppresses\".",{"type":39,"tag":200,"props":373,"children":374},{},[375,387,389,395,397,403],{"type":39,"tag":54,"props":376,"children":377},{},[378,380,386],{"type":45,"value":379},"Side-transform items are NOT automatically in ",{"type":39,"tag":62,"props":381,"children":383},{"className":382},[],[384],{"type":45,"value":385},"Ctrl+Space",{"type":45,"value":93},{"type":45,"value":388}," Either list ",{"type":39,"tag":62,"props":390,"children":392},{"className":391},[],[393],{"type":45,"value":394},"TransformationLocation_Completion",{"type":45,"value":396}," alongside ",{"type":39,"tag":62,"props":398,"children":400},{"className":399},[],[401],{"type":45,"value":402},"TransformationLocation_SideTransform",{"type":45,"value":404},", or add a separate completion section.",{"type":39,"tag":200,"props":406,"children":407},{},[408,436],{"type":39,"tag":54,"props":409,"children":410},{},[411,413,419,421,427,429,435],{"type":45,"value":412},"Use action maps for ",{"type":39,"tag":62,"props":414,"children":416},{"className":415},[],[417],{"type":45,"value":418},"DELETE",{"type":45,"value":420},"\u002F",{"type":39,"tag":62,"props":422,"children":424},{"className":423},[],[425],{"type":45,"value":426},"BACKSPACE",{"type":45,"value":428}," instead of keymaps bound to ",{"type":39,"tag":62,"props":430,"children":432},{"className":431},[],[433],{"type":45,"value":434},"VK_DELETE",{"type":45,"value":93},{"type":45,"value":437}," They integrate with two-step deletion and action inheritance.",{"type":39,"tag":200,"props":439,"children":440},{},[441,467,469,475,476,482,483,489,490,496],{"type":39,"tag":54,"props":442,"children":443},{},[444,450,452,458,460,466],{"type":39,"tag":62,"props":445,"children":447},{"className":446},[],[448],{"type":45,"value":449},"TransformationMenu",{"type":45,"value":451}," field name is ",{"type":39,"tag":62,"props":453,"children":455},{"className":454},[],[456],{"type":45,"value":457},"conceptDeclaration",{"type":45,"value":459},", not ",{"type":39,"tag":62,"props":461,"children":463},{"className":462},[],[464],{"type":45,"value":465},"applicableConcept",{"type":45,"value":93},{"type":45,"value":468}," Real role names: ",{"type":39,"tag":62,"props":470,"children":472},{"className":471},[],[473],{"type":45,"value":474},"sections",{"type":45,"value":137},{"type":39,"tag":62,"props":477,"children":479},{"className":478},[],[480],{"type":45,"value":481},"parts",{"type":45,"value":137},{"type":39,"tag":62,"props":484,"children":486},{"className":485},[],[487],{"type":45,"value":488},"locations",{"type":45,"value":137},{"type":39,"tag":62,"props":491,"children":493},{"className":492},[],[494],{"type":45,"value":495},"textFunction",{"type":45,"value":497},". Older docs lie.",{"type":39,"tag":200,"props":499,"children":500},{},[501,506,507,513,514,520],{"type":39,"tag":54,"props":502,"children":503},{},[504],{"type":45,"value":505},"Contributions must live in a different language from the menu they extend.",{"type":45,"value":304},{"type":39,"tag":62,"props":508,"children":510},{"className":509},[],[511],{"type":45,"value":512},"TransformationMenuContribution",{"type":45,"value":327},{"type":39,"tag":62,"props":515,"children":517},{"className":516},[],[518],{"type":45,"value":519},"SubstituteMenu_Contribution",{"type":45,"value":521}," are cross-language only.",{"type":39,"tag":200,"props":523,"children":524},{},[525,538,539,545,546,552,553,559,561,567,568,574,576,582,583,589,590,596],{"type":39,"tag":54,"props":526,"children":527},{},[528,530,536],{"type":45,"value":529},"Write bodies with ",{"type":39,"tag":62,"props":531,"children":533},{"className":532},[],[534],{"type":45,"value":535},"mps-model-manipulation",{"type":45,"value":537}," idioms.",{"type":45,"value":304},{"type":39,"tag":62,"props":540,"children":542},{"className":541},[],[543],{"type":45,"value":544},"node.replace with(...)",{"type":45,"value":137},{"type":39,"tag":62,"props":547,"children":549},{"className":548},[],[550],{"type":45,"value":551},"node.parent.\u003Crole>.set(...)",{"type":45,"value":137},{"type":39,"tag":62,"props":554,"children":556},{"className":555},[],[557],{"type":45,"value":558},"node.children\u003CX>.add new(...)",{"type":45,"value":560},". Implicit params: ",{"type":39,"tag":62,"props":562,"children":564},{"className":563},[],[565],{"type":45,"value":566},"node",{"type":45,"value":137},{"type":39,"tag":62,"props":569,"children":571},{"className":570},[],[572],{"type":45,"value":573},"editorContext",{"type":45,"value":575}," (+ ",{"type":39,"tag":62,"props":577,"children":579},{"className":578},[],[580],{"type":45,"value":581},"model",{"type":45,"value":137},{"type":39,"tag":62,"props":584,"children":586},{"className":585},[],[587],{"type":45,"value":588},"scope",{"type":45,"value":137},{"type":39,"tag":62,"props":591,"children":593},{"className":592},[],[594],{"type":45,"value":595},"operationContext",{"type":45,"value":597}," depending on function kind).",{"type":39,"tag":200,"props":599,"children":600},{},[601,603,609],{"type":45,"value":602},"After edits run ",{"type":39,"tag":62,"props":604,"children":606},{"className":605},[],[607],{"type":45,"value":608},"mps_mcp_check_root_node_problems",{"type":45,"value":610}," and rebuild the language.",{"type":39,"tag":200,"props":612,"children":613},{},[614,619,621,627],{"type":39,"tag":54,"props":615,"children":616},{},[617],{"type":45,"value":618},"Trace missing completion items",{"type":45,"value":620}," with ",{"type":39,"tag":62,"props":622,"children":624},{"className":623},[],[625],{"type":45,"value":626},"Ctrl+Alt+B",{"type":45,"value":628}," on the offending item — MPS shows the menu → menu-part → action chain.",{"type":39,"tag":189,"props":630,"children":632},{"id":631},"common-path-workflow",[633],{"type":45,"value":634},"Common-Path Workflow",{"type":39,"tag":48,"props":636,"children":637},{},[638],{"type":45,"value":639},"For a typical \"let the user invoke action X when they do Y\" task:",{"type":39,"tag":641,"props":642,"children":643},"ol",{},[644,660,692,739,763,780,798,822,832],{"type":39,"tag":200,"props":645,"children":646},{},[647,652,654,659],{"type":39,"tag":54,"props":648,"children":649},{},[650],{"type":45,"value":651},"Pick the artefact",{"type":45,"value":653}," from the table in ",{"type":39,"tag":62,"props":655,"children":657},{"className":656},[],[658],{"type":45,"value":239},{"type":45,"value":93},{"type":39,"tag":200,"props":661,"children":662},{},[663,668,670,675,677,682,684,690],{"type":39,"tag":54,"props":664,"children":665},{},[666],{"type":45,"value":667},"Pick the attachment concept.",{"type":45,"value":669}," Roles: ",{"type":39,"tag":62,"props":671,"children":673},{"className":672},[],[674],{"type":45,"value":465},{"type":45,"value":676}," (action maps, keymaps, copy\u002Fpaste handlers, paste wrappers source\u002Ftarget); ",{"type":39,"tag":62,"props":678,"children":680},{"className":679},[],[681],{"type":45,"value":457},{"type":45,"value":683}," via ",{"type":39,"tag":62,"props":685,"children":687},{"className":686},[],[688],{"type":45,"value":689},"IMenu_Concept",{"type":45,"value":691}," (transformation and substitute menus).",{"type":39,"tag":200,"props":693,"children":694},{},[695,700,702,708,709,715,716,722,723,729,731,737],{"type":39,"tag":54,"props":696,"children":697},{},[698],{"type":45,"value":699},"Name by convention",{"type":45,"value":701}," so MPS discovers the root automatically. Otherwise wire it explicitly from the cell (",{"type":39,"tag":62,"props":703,"children":705},{"className":704},[],[706],{"type":45,"value":707},"actionMap",{"type":45,"value":137},{"type":39,"tag":62,"props":710,"children":712},{"className":711},[],[713],{"type":45,"value":714},"keyMap",{"type":45,"value":137},{"type":39,"tag":62,"props":717,"children":719},{"className":718},[],[720],{"type":45,"value":721},"transformationMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":724,"children":726},{"className":725},[],[727],{"type":45,"value":728},"substituteMenu",{"type":45,"value":730},", legacy ",{"type":39,"tag":62,"props":732,"children":734},{"className":733},[],[735],{"type":45,"value":736},"menu",{"type":45,"value":738},").",{"type":39,"tag":200,"props":740,"children":741},{},[742,747,749,755,757,762],{"type":39,"tag":54,"props":743,"children":744},{},[745],{"type":45,"value":746},"Draft JSON",{"type":45,"value":748}," using a blueprint from ",{"type":39,"tag":62,"props":750,"children":752},{"className":751},[],[753],{"type":45,"value":754},"references\u002Fjson-blueprints.md",{"type":45,"value":756},". Use ",{"type":39,"tag":62,"props":758,"children":760},{"className":759},[],[761],{"type":45,"value":310},{"type":45,"value":93},{"type":39,"tag":200,"props":764,"children":765},{},[766,771,773,779],{"type":39,"tag":54,"props":767,"children":768},{},[769],{"type":45,"value":770},"Write the function body",{"type":45,"value":772}," with smodel + BaseLanguage. For \"select the new node afterwards\", use the editor selection API (",{"type":39,"tag":62,"props":774,"children":776},{"className":775},[],[777],{"type":45,"value":778},"references\u002Fselection-and-deletion.md",{"type":45,"value":738},{"type":39,"tag":200,"props":781,"children":782},{},[783,788,790,796],{"type":39,"tag":54,"props":784,"children":785},{},[786],{"type":45,"value":787},"Rebuild the language",{"type":45,"value":789}," (",{"type":39,"tag":62,"props":791,"children":793},{"className":792},[],[794],{"type":45,"value":795},"mps_mcp_alter_nodes",{"type":45,"value":797}," MAKE) so the editor sees the new concepts.",{"type":39,"tag":200,"props":799,"children":800},{},[801,806,807,812,814,820],{"type":39,"tag":54,"props":802,"children":803},{},[804],{"type":45,"value":805},"Validate",{"type":45,"value":620},{"type":39,"tag":62,"props":808,"children":810},{"className":809},[],[811],{"type":45,"value":608},{"type":45,"value":813}," on every touched root. Common error: unresolved action IDs (",{"type":39,"tag":62,"props":815,"children":817},{"className":816},[],[818],{"type":45,"value":819},"delete_action_id",{"type":45,"value":821}," etc.) or missing imports for shared-concept parameters.",{"type":39,"tag":200,"props":823,"children":824},{},[825,830],{"type":39,"tag":54,"props":826,"children":827},{},[828],{"type":45,"value":829},"Test interactively",{"type":45,"value":831}," in a sample model. For side transforms, verify the item also appears in completion (if intended).",{"type":39,"tag":200,"props":833,"children":834},{},[835,840,841,846],{"type":39,"tag":54,"props":836,"children":837},{},[838],{"type":45,"value":839},"Diagnose missing items",{"type":45,"value":620},{"type":39,"tag":62,"props":842,"children":844},{"className":843},[],[845],{"type":45,"value":626},{"type":45,"value":847}," on the popup item — that prints the menu chain.",{"type":39,"tag":189,"props":849,"children":851},{"id":850},"which-menu-fires-where-quick-reference",[852],{"type":45,"value":853},"Which Menu Fires Where (Quick Reference)",{"type":39,"tag":855,"props":856,"children":857},"table",{},[858,877],{"type":39,"tag":859,"props":860,"children":861},"thead",{},[862],{"type":39,"tag":863,"props":864,"children":865},"tr",{},[866,872],{"type":39,"tag":867,"props":868,"children":869},"th",{},[870],{"type":45,"value":871},"User action",{"type":39,"tag":867,"props":873,"children":874},{},[875],{"type":45,"value":876},"Menu consulted",{"type":39,"tag":878,"props":879,"children":880},"tbody",{},[881,908,927,945,977,1009,1028,1047],{"type":39,"tag":863,"props":882,"children":883},{},[884,895],{"type":39,"tag":885,"props":886,"children":887},"td",{},[888,893],{"type":39,"tag":62,"props":889,"children":891},{"className":890},[],[892],{"type":45,"value":385},{"type":45,"value":894}," \u002F typing into a concept-completion cell",{"type":39,"tag":885,"props":896,"children":897},{},[898,900,906],{"type":45,"value":899},"Default ",{"type":39,"tag":62,"props":901,"children":903},{"className":902},[],[904],{"type":45,"value":905},"SubstituteMenu",{"type":45,"value":907}," for the link's target concept, walking DOWN sub-concepts",{"type":39,"tag":863,"props":909,"children":910},{},[911,916],{"type":39,"tag":885,"props":912,"children":913},{},[914],{"type":45,"value":915},"Context Assistant pops up",{"type":39,"tag":885,"props":917,"children":918},{},[919,921],{"type":45,"value":920},"Sections with ",{"type":39,"tag":62,"props":922,"children":924},{"className":923},[],[925],{"type":45,"value":926},"TransformationLocation_ContextAssistant",{"type":39,"tag":863,"props":928,"children":929},{},[930,935],{"type":39,"tag":885,"props":931,"children":932},{},[933],{"type":45,"value":934},"Context Actions Tool",{"type":39,"tag":885,"props":936,"children":937},{},[938,939],{"type":45,"value":920},{"type":39,"tag":62,"props":940,"children":942},{"className":941},[],[943],{"type":45,"value":944},"TransformationLocation_ContextActionsTool",{"type":39,"tag":863,"props":946,"children":947},{},[948,960],{"type":39,"tag":885,"props":949,"children":950},{},[951,953,958],{"type":45,"value":952},"Typing ",{"type":39,"tag":62,"props":954,"children":956},{"className":955},[],[957],{"type":45,"value":231},{"type":45,"value":959}," right of a cell",{"type":39,"tag":885,"props":961,"children":962},{},[963,964,969,971],{"type":45,"value":920},{"type":39,"tag":62,"props":965,"children":967},{"className":966},[],[968],{"type":45,"value":402},{"type":45,"value":970}," location, ",{"type":39,"tag":62,"props":972,"children":974},{"className":973},[],[975],{"type":45,"value":976},"place.side = RIGHT",{"type":39,"tag":863,"props":978,"children":979},{},[980,990],{"type":39,"tag":885,"props":981,"children":982},{},[983,985],{"type":45,"value":984},"Pressing ",{"type":39,"tag":62,"props":986,"children":988},{"className":987},[],[989],{"type":45,"value":215},{"type":39,"tag":885,"props":991,"children":992},{},[993,999,1001,1007],{"type":39,"tag":62,"props":994,"children":996},{"className":995},[],[997],{"type":45,"value":998},"CellActionMapDeclaration",{"type":45,"value":1000}," item with ",{"type":39,"tag":62,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":45,"value":1006},"actionId = delete_action_id",{"type":45,"value":1008},", else default",{"type":39,"tag":863,"props":1010,"children":1011},{},[1012,1017],{"type":39,"tag":885,"props":1013,"children":1014},{},[1015],{"type":45,"value":1016},"Arbitrary keystroke",{"type":39,"tag":885,"props":1018,"children":1019},{},[1020,1026],{"type":39,"tag":62,"props":1021,"children":1023},{"className":1022},[],[1024],{"type":45,"value":1025},"CellKeyMapDeclaration",{"type":45,"value":1027}," items matching keystroke + caret policy",{"type":39,"tag":863,"props":1029,"children":1030},{},[1031,1036],{"type":39,"tag":885,"props":1032,"children":1033},{},[1034],{"type":45,"value":1035},"Copy (Ctrl+C)",{"type":39,"tag":885,"props":1037,"children":1038},{},[1039,1045],{"type":39,"tag":62,"props":1040,"children":1042},{"className":1041},[],[1043],{"type":45,"value":1044},"CopyPreProcessor",{"type":45,"value":1046},"s for the concept",{"type":39,"tag":863,"props":1048,"children":1049},{},[1050,1055],{"type":39,"tag":885,"props":1051,"children":1052},{},[1053],{"type":45,"value":1054},"Paste into incompatible slot",{"type":39,"tag":885,"props":1056,"children":1057},{},[1058,1064,1066,1072],{"type":39,"tag":62,"props":1059,"children":1061},{"className":1060},[],[1062],{"type":45,"value":1063},"PasteWrappers",{"type":45,"value":1065},", then ",{"type":39,"tag":62,"props":1067,"children":1069},{"className":1068},[],[1070],{"type":45,"value":1071},"PastePostProcessor",{"type":45,"value":1073},"s",{"type":39,"tag":189,"props":1075,"children":1077},{"id":1076},"related-skills",[1078],{"type":45,"value":1079},"Related Skills",{"type":39,"tag":196,"props":1081,"children":1082},{},[1083,1099,1109,1128,1147,1157,1168],{"type":39,"tag":200,"props":1084,"children":1085},{},[1086,1091,1093,1097],{"type":39,"tag":62,"props":1087,"children":1089},{"className":1088},[],[1090],{"type":45,"value":178},{"type":45,"value":1092}," — \"MPS Concept Editor Workflow\" section: scaffold, componentise, refine. Covers the ",{"type":39,"tag":54,"props":1094,"children":1095},{},[1096],{"type":45,"value":170},{"type":45,"value":1098}," side.",{"type":39,"tag":200,"props":1100,"children":1101},{},[1102,1107],{"type":39,"tag":62,"props":1103,"children":1105},{"className":1104},[],[1106],{"type":45,"value":186},{"type":45,"value":1108}," — overall workflow for creating and changing MPS editor definitions; cell models, layout styles, style inheritance.",{"type":39,"tag":200,"props":1110,"children":1111},{},[1112,1118,1120,1126],{"type":39,"tag":62,"props":1113,"children":1115},{"className":1114},[],[1116],{"type":45,"value":1117},"mps-aspect-actions",{"type":45,"value":1119}," — ",{"type":39,"tag":62,"props":1121,"children":1123},{"className":1122},[],[1124],{"type":45,"value":1125},"NodeFactory",{"type":45,"value":1127}," initialisation of new nodes (in the actions language, often referenced from menus).",{"type":39,"tag":200,"props":1129,"children":1130},{},[1131,1137,1139,1145],{"type":39,"tag":62,"props":1132,"children":1134},{"className":1133},[],[1135],{"type":45,"value":1136},"mps-aspect-intentions",{"type":45,"value":1138}," — Alt+Enter context actions. Intentions can be surfaced inside a transformation menu via the ",{"type":39,"tag":62,"props":1140,"children":1142},{"className":1141},[],[1143],{"type":45,"value":1144},"intention",{"type":45,"value":1146}," adapter.",{"type":39,"tag":200,"props":1148,"children":1149},{},[1150,1155],{"type":39,"tag":62,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":45,"value":535},{"type":45,"value":1156}," — smodel operations used in execute\u002Ftext\u002Fcondition bodies.",{"type":39,"tag":200,"props":1158,"children":1159},{},[1160,1166],{"type":39,"tag":62,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":45,"value":1165},"mps-baselanguage",{"type":45,"value":1167}," — BaseLanguage JSON mechanics.",{"type":39,"tag":200,"props":1169,"children":1170},{},[1171,1177,1178,1183],{"type":39,"tag":62,"props":1172,"children":1174},{"className":1173},[],[1175],{"type":45,"value":1176},"mps-node-editing",{"type":45,"value":137},{"type":39,"tag":62,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":45,"value":178},{"type":45,"value":1184}," — concept identification \u002F blueprint hygiene.",{"type":39,"tag":189,"props":1186,"children":1188},{"id":1187},"reference-index",[1189],{"type":45,"value":1190},"Reference Index",{"type":39,"tag":196,"props":1192,"children":1193},{},[1194,1242,1298,1362,1563,1683,1735,1783,1881,1921,1977,2075,2092,2141,2182],{"type":39,"tag":200,"props":1195,"children":1196},{},[1197,1199,1204,1206,1211,1213,1218,1220,1226,1227,1233,1235,1241],{"type":45,"value":1198},"Open ",{"type":39,"tag":62,"props":1200,"children":1202},{"className":1201},[],[1203],{"type":45,"value":239},{"type":45,"value":1205}," when ",{"type":39,"tag":54,"props":1207,"children":1208},{},[1209],{"type":45,"value":1210},"choosing which artefact to build",{"type":45,"value":1212}," — the master table of root concepts, attachment-point roles, file conventions, naming conventions, and the ",{"type":39,"tag":62,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":45,"value":351},{"type":45,"value":1219}," super-chain rule. Also covers the ",{"type":39,"tag":62,"props":1221,"children":1223},{"className":1222},[],[1224],{"type":45,"value":1225},"TransformationMenu_Default",{"type":45,"value":327},{"type":39,"tag":62,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":45,"value":1232},"_Named",{"type":45,"value":1234}," deprecation note (future merge into ",{"type":39,"tag":62,"props":1236,"children":1238},{"className":1237},[],[1239],{"type":45,"value":1240},"TransformationMenuImpl",{"type":45,"value":738},{"type":39,"tag":200,"props":1243,"children":1244},{},[1245,1246,1252,1253,1258,1260,1265,1267,1273,1275,1280,1282,1288,1290,1296],{"type":45,"value":1198},{"type":39,"tag":62,"props":1247,"children":1249},{"className":1248},[],[1250],{"type":45,"value":1251},"references\u002Faction-maps.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1254,"children":1255},{},[1256],{"type":45,"value":1257},"overriding standard cell actions",{"type":45,"value":1259}," (DELETE, BACKSPACE, SELECT_ALL, LEFT_TRANSFORM, RIGHT_TRANSFORM, …) — ",{"type":39,"tag":62,"props":1261,"children":1263},{"className":1262},[],[1264],{"type":45,"value":998},{"type":45,"value":1266}," fields, item structure, the ",{"type":39,"tag":62,"props":1268,"children":1270},{"className":1269},[],[1271],{"type":45,"value":1272},"Not_ActionMap",{"type":45,"value":1274}," example from Kaja, ",{"type":39,"tag":62,"props":1276,"children":1278},{"className":1277},[],[1279],{"type":45,"value":426},{"type":45,"value":1281}," auto-registration, the keyboard-deletable-annotation pattern (delete a node attribute from its label cell and reselect the host node), importing maps via ",{"type":39,"tag":62,"props":1283,"children":1285},{"className":1284},[],[1286],{"type":45,"value":1287},"CellActionMapImport",{"type":45,"value":1289},"\u002Fwildcard\u002Fby-action-id selectors, import rules (transitive, winner, no cycles, cross-language), ",{"type":39,"tag":62,"props":1291,"children":1293},{"className":1292},[],[1294],{"type":45,"value":1295},"SELECT_ALL",{"type":45,"value":1297}," customisation.",{"type":39,"tag":200,"props":1299,"children":1300},{},[1301,1302,1308,1309,1314,1315,1320,1322,1328,1330,1336,1338,1344,1346,1352,1354,1360],{"type":45,"value":1198},{"type":39,"tag":62,"props":1303,"children":1305},{"className":1304},[],[1306],{"type":45,"value":1307},"references\u002Fkeymaps.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1310,"children":1311},{},[1312],{"type":45,"value":1313},"binding arbitrary keystrokes to a cell",{"type":45,"value":1119},{"type":39,"tag":62,"props":1316,"children":1318},{"className":1317},[],[1319],{"type":45,"value":1025},{"type":45,"value":1321}," fields, ",{"type":39,"tag":62,"props":1323,"children":1325},{"className":1324},[],[1326],{"type":45,"value":1327},"everyModel",{"type":45,"value":1329}," flag, ",{"type":39,"tag":62,"props":1331,"children":1333},{"className":1332},[],[1334],{"type":45,"value":1335},"CellKeyMapItem",{"type":45,"value":1337}," properties (keystroke, executeFunction, isApplicableFunction, description, caretPolicy, showInPopup, menuAlwaysShown), ",{"type":39,"tag":62,"props":1339,"children":1341},{"className":1340},[],[1342],{"type":45,"value":1343},"CastExpression_KeyMap",{"type":45,"value":1345}," template, ",{"type":39,"tag":62,"props":1347,"children":1349},{"className":1348},[],[1350],{"type":45,"value":1351},"modifiers",{"type":45,"value":1353}," string syntax (",{"type":39,"tag":62,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":45,"value":1359},"ctrl alt shift meta",{"type":45,"value":1361},"), caret-policy semantics, when to prefer an action map.",{"type":39,"tag":200,"props":1363,"children":1364},{},[1365,1366,1372,1373,1378,1380,1385,1387,1392,1394,1400,1402,1408,1409,1415,1416,1422,1423,1429,1430,1436,1437,1443,1444,1450,1451,1457,1458,1464,1465,1471,1472,1478,1480,1485,1486,1492,1493,1499,1501,1506,1508,1513,1514,1520,1521,1527,1528,1534,1536,1542,1544,1549,1551,1556,1557,1562],{"type":45,"value":1198},{"type":39,"tag":62,"props":1367,"children":1369},{"className":1368},[],[1370],{"type":45,"value":1371},"references\u002Ftransformation-menus.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1374,"children":1375},{},[1376],{"type":45,"value":1377},"adding items to completion \u002F context assistant \u002F context actions tool \u002F side transforms",{"type":45,"value":1379}," — section structure with ",{"type":39,"tag":62,"props":1381,"children":1383},{"className":1382},[],[1384],{"type":45,"value":488},{"type":45,"value":1386}," + ",{"type":39,"tag":62,"props":1388,"children":1390},{"className":1389},[],[1391],{"type":45,"value":481},{"type":45,"value":1393},", the four ",{"type":39,"tag":62,"props":1395,"children":1397},{"className":1396},[],[1398],{"type":45,"value":1399},"TransformationLocation_*",{"type":45,"value":1401}," types, every menu part concept (",{"type":39,"tag":62,"props":1403,"children":1405},{"className":1404},[],[1406],{"type":45,"value":1407},"Action",{"type":45,"value":137},{"type":39,"tag":62,"props":1410,"children":1412},{"className":1411},[],[1413],{"type":45,"value":1414},"Group",{"type":45,"value":137},{"type":39,"tag":62,"props":1417,"children":1419},{"className":1418},[],[1420],{"type":45,"value":1421},"Super",{"type":45,"value":137},{"type":39,"tag":62,"props":1424,"children":1426},{"className":1425},[],[1427],{"type":45,"value":1428},"IncludeMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1431,"children":1433},{"className":1432},[],[1434],{"type":45,"value":1435},"IncludeSubstituteMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1438,"children":1440},{"className":1439},[],[1441],{"type":45,"value":1442},"SubMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1445,"children":1447},{"className":1446},[],[1448],{"type":45,"value":1449},"Parameterized",{"type":45,"value":137},{"type":39,"tag":62,"props":1452,"children":1454},{"className":1453},[],[1455],{"type":45,"value":1456},"WrapSubstituteMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1459,"children":1461},{"className":1460},[],[1462],{"type":45,"value":1463},"PropertyMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1466,"children":1468},{"className":1467},[],[1469],{"type":45,"value":1470},"ReferenceMenu",{"type":45,"value":137},{"type":39,"tag":62,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":45,"value":1477},"Placeholder",{"type":45,"value":1479},"), adapter parts (",{"type":39,"tag":62,"props":1481,"children":1483},{"className":1482},[],[1484],{"type":45,"value":1144},{"type":45,"value":137},{"type":39,"tag":62,"props":1487,"children":1489},{"className":1488},[],[1490],{"type":45,"value":1491},"refactoring",{"type":45,"value":137},{"type":39,"tag":62,"props":1494,"children":1496},{"className":1495},[],[1497],{"type":45,"value":1498},"plugin Action",{"type":45,"value":1500},"), the ",{"type":39,"tag":62,"props":1502,"children":1504},{"className":1503},[],[1505],{"type":45,"value":1407},{"type":45,"value":1507}," blueprint with ",{"type":39,"tag":62,"props":1509,"children":1511},{"className":1510},[],[1512],{"type":45,"value":495},{"type":45,"value":327},{"type":39,"tag":62,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":45,"value":1519},"executeFunction",{"type":45,"value":327},{"type":39,"tag":62,"props":1522,"children":1524},{"className":1523},[],[1525],{"type":45,"value":1526},"canExecuteFunction",{"type":45,"value":327},{"type":39,"tag":62,"props":1529,"children":1531},{"className":1530},[],[1532],{"type":45,"value":1533},"features",{"type":45,"value":1535}," (description text), parameterised parts with ",{"type":39,"tag":62,"props":1537,"children":1539},{"className":1538},[],[1540],{"type":45,"value":1541},"parameterObject",{"type":45,"value":1543},", groups + variables (with the eager-evaluation gotcha), ",{"type":39,"tag":62,"props":1545,"children":1547},{"className":1546},[],[1548],{"type":45,"value":512},{"type":45,"value":1550}," cross-language extension, cell-level attachment combining legacy ",{"type":39,"tag":62,"props":1552,"children":1554},{"className":1553},[],[1555],{"type":45,"value":736},{"type":45,"value":1386},{"type":39,"tag":62,"props":1558,"children":1560},{"className":1559},[],[1561],{"type":45,"value":721},{"type":45,"value":93},{"type":39,"tag":200,"props":1564,"children":1565},{},[1566,1567,1572,1573,1578,1580,1586,1588,1594,1595,1601,1602,1608,1609,1614,1615,1620,1621,1626,1627,1632,1633,1639,1640,1646,1647,1652,1653,1659,1661,1666,1668,1674,1676,1682],{"type":45,"value":1198},{"type":39,"tag":62,"props":1568,"children":1570},{"className":1569},[],[1571],{"type":45,"value":369},{"type":45,"value":1205},{"type":39,"tag":54,"props":1574,"children":1575},{},[1576],{"type":45,"value":1577},"controlling what nodes are creatable at an AST position",{"type":45,"value":1579}," — default vs named, the five synthesised-default rules (sub-concepts, abstracts filtered, can-be-child, can-be-parent, smart-reference for 1:1), the \"empty default suppresses\" gotcha, all ",{"type":39,"tag":62,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":45,"value":1585},"SubstituteMenuPart_*",{"type":45,"value":1587}," concepts (",{"type":39,"tag":62,"props":1589,"children":1591},{"className":1590},[],[1592],{"type":45,"value":1593},"AddConcept",{"type":45,"value":137},{"type":39,"tag":62,"props":1596,"children":1598},{"className":1597},[],[1599],{"type":45,"value":1600},"Concepts",{"type":45,"value":137},{"type":39,"tag":62,"props":1603,"children":1605},{"className":1604},[],[1606],{"type":45,"value":1607},"Subconcepts",{"type":45,"value":137},{"type":39,"tag":62,"props":1610,"children":1612},{"className":1611},[],[1613],{"type":45,"value":1414},{"type":45,"value":137},{"type":39,"tag":62,"props":1616,"children":1618},{"className":1617},[],[1619],{"type":45,"value":1428},{"type":45,"value":137},{"type":39,"tag":62,"props":1622,"children":1624},{"className":1623},[],[1625],{"type":45,"value":1449},{"type":45,"value":137},{"type":39,"tag":62,"props":1628,"children":1630},{"className":1629},[],[1631],{"type":45,"value":1407},{"type":45,"value":137},{"type":39,"tag":62,"props":1634,"children":1636},{"className":1635},[],[1637],{"type":45,"value":1638},"Wrapper",{"type":45,"value":137},{"type":39,"tag":62,"props":1641,"children":1643},{"className":1642},[],[1644],{"type":45,"value":1645},"ReferenceScope",{"type":45,"value":137},{"type":39,"tag":62,"props":1648,"children":1650},{"className":1649},[],[1651],{"type":45,"value":1477},{"type":45,"value":1500},{"type":39,"tag":62,"props":1654,"children":1656},{"className":1655},[],[1657],{"type":45,"value":1658},"Statement_SubstituteMenu",{"type":45,"value":1660}," JSON template, the ",{"type":39,"tag":62,"props":1662,"children":1664},{"className":1663},[],[1665],{"type":45,"value":1638},{"type":45,"value":1667}," example wrapping ",{"type":39,"tag":62,"props":1669,"children":1671},{"className":1670},[],[1672],{"type":45,"value":1673},"Expression",{"type":45,"value":1675}," into ",{"type":39,"tag":62,"props":1677,"children":1679},{"className":1678},[],[1680],{"type":45,"value":1681},"ExpressionStatement",{"type":45,"value":93},{"type":39,"tag":200,"props":1684,"children":1685},{},[1686,1687,1693,1694,1719,1721,1726,1728,1733],{"type":45,"value":1198},{"type":39,"tag":62,"props":1688,"children":1690},{"className":1689},[],[1691],{"type":45,"value":1692},"references\u002Fside-transforms.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1695,"children":1696},{},[1697,1699,1705,1707,1712,1713],{"type":45,"value":1698},"converting ",{"type":39,"tag":62,"props":1700,"children":1702},{"className":1701},[],[1703],{"type":45,"value":1704},"1",{"type":45,"value":1706}," typed ",{"type":39,"tag":62,"props":1708,"children":1710},{"className":1709},[],[1711],{"type":45,"value":231},{"type":45,"value":1675},{"type":39,"tag":62,"props":1714,"children":1716},{"className":1715},[],[1717],{"type":45,"value":1718},"1 + \u003Chole>",{"type":45,"value":1720}," — the right-transform JSON template on ",{"type":39,"tag":62,"props":1722,"children":1724},{"className":1723},[],[1725],{"type":45,"value":1673},{"type":45,"value":1727},", LEFT vs RIGHT semantics, the trick to also surface items in ",{"type":39,"tag":62,"props":1729,"children":1731},{"className":1730},[],[1732],{"type":45,"value":385},{"type":45,"value":1734}," (either combine locations or include the menu from a completion section).",{"type":39,"tag":200,"props":1736,"children":1737},{},[1738,1739,1745,1746,1765,1767,1773,1775,1781],{"type":45,"value":1198},{"type":39,"tag":62,"props":1740,"children":1742},{"className":1741},[],[1743],{"type":45,"value":1744},"references\u002Flegacy-cell-menus.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1747,"children":1748},{},[1749,1751,1756,1757,1763],{"type":45,"value":1750},"dealing with cells that still have ",{"type":39,"tag":62,"props":1752,"children":1754},{"className":1753},[],[1755],{"type":45,"value":736},{"type":45,"value":327},{"type":39,"tag":62,"props":1758,"children":1760},{"className":1759},[],[1761],{"type":45,"value":1762},"postfixHint",{"type":45,"value":1764}," declarations",{"type":45,"value":1766}," — property values menu, postfix hints (with the verbatim ",{"type":39,"tag":62,"props":1768,"children":1770},{"className":1769},[],[1771],{"type":45,"value":1772},"splitByCamels",{"type":45,"value":1774}," example), primary replace-child \u002F choose-referent, replace-node (custom node concept), generic items, cell menu reference, ref-presentation cell, and the ",{"type":39,"tag":62,"props":1776,"children":1778},{"className":1777},[],[1779],{"type":45,"value":1780},"presentation query in reference constraints",{"type":45,"value":1782}," deprecation warning.",{"type":39,"tag":200,"props":1784,"children":1785},{},[1786,1787,1793,1794,1799,1800,1805,1807,1813,1814,1820,1821,1827,1829,1835,1837,1843,1844,1849,1851,1857,1858,1864,1866,1871,1873,1879],{"type":45,"value":1198},{"type":39,"tag":62,"props":1788,"children":1790},{"className":1789},[],[1791],{"type":45,"value":1792},"references\u002Fpaste-and-copy.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1795,"children":1796},{},[1797],{"type":45,"value":1798},"transforming pasted nodes or pre\u002Fpost-processing copy\u002Fpaste",{"type":45,"value":1119},{"type":39,"tag":62,"props":1801,"children":1803},{"className":1802},[],[1804],{"type":45,"value":1063},{"type":45,"value":1806}," (in actions language) with ",{"type":39,"tag":62,"props":1808,"children":1810},{"className":1809},[],[1811],{"type":45,"value":1812},"sourceConcept",{"type":45,"value":420},{"type":39,"tag":62,"props":1815,"children":1817},{"className":1816},[],[1818],{"type":45,"value":1819},"targetConcept",{"type":45,"value":420},{"type":39,"tag":62,"props":1822,"children":1824},{"className":1823},[],[1825],{"type":45,"value":1826},"wrap",{"type":45,"value":1828}," function and the ",{"type":39,"tag":62,"props":1830,"children":1832},{"className":1831},[],[1833],{"type":45,"value":1834},"Expression → Statement",{"type":45,"value":1836}," example; ",{"type":39,"tag":62,"props":1838,"children":1840},{"className":1839},[],[1841],{"type":45,"value":1842},"CopyPasteHandlers",{"type":45,"value":620},{"type":39,"tag":62,"props":1845,"children":1847},{"className":1846},[],[1848],{"type":45,"value":1044},{"type":45,"value":1850}," (mutates ",{"type":39,"tag":62,"props":1852,"children":1854},{"className":1853},[],[1855],{"type":45,"value":1856},"copy",{"type":45,"value":459},{"type":39,"tag":62,"props":1859,"children":1861},{"className":1860},[],[1862],{"type":45,"value":1863},"original",{"type":45,"value":1865},") and ",{"type":39,"tag":62,"props":1867,"children":1869},{"className":1868},[],[1870],{"type":45,"value":1071},{"type":45,"value":1872}," (re-resolves references with the ",{"type":39,"tag":62,"props":1874,"children":1876},{"className":1875},[],[1877],{"type":45,"value":1878},"LocalVariableReference",{"type":45,"value":1880}," example); triggering order (handlers → wrappers → graft).",{"type":39,"tag":200,"props":1882,"children":1883},{},[1884,1885,1891,1892,1897,1898,1904,1906,1912,1913,1919],{"type":45,"value":1198},{"type":39,"tag":62,"props":1886,"children":1888},{"className":1887},[],[1889],{"type":45,"value":1890},"references\u002Fcompletion-styling.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1893,"children":1894},{},[1895],{"type":45,"value":1896},"customising the look or priority of completion items",{"type":45,"value":1119},{"type":39,"tag":62,"props":1899,"children":1901},{"className":1900},[],[1902],{"type":45,"value":1903},"CompletionStyling",{"type":45,"value":1905}," selectors (items modifying concept instances vs items creating concept instances), styling attributes (bold\u002Fitalic\u002Fstrike\u002Fcolour\u002Fhide\u002Fpriority), sort order, ",{"type":39,"tag":62,"props":1907,"children":1909},{"className":1908},[],[1910],{"type":45,"value":1911},"ReturnStatementStyling",{"type":45,"value":327},{"type":39,"tag":62,"props":1914,"children":1916},{"className":1915},[],[1917],{"type":45,"value":1918},"VariableReferencePriority",{"type":45,"value":1920}," examples, the global \"Use completion styling\" toggle.",{"type":39,"tag":200,"props":1922,"children":1923},{},[1924,1925,1931,1932,1937,1938,1944,1946,1952,1953,1959,1961,1967,1969,1975],{"type":45,"value":1198},{"type":39,"tag":62,"props":1926,"children":1928},{"className":1927},[],[1929],{"type":45,"value":1930},"references\u002Freference-presentation.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":1933,"children":1934},{},[1935],{"type":45,"value":1936},"changing how a reference looks resolved or in completion",{"type":45,"value":1119},{"type":39,"tag":62,"props":1939,"children":1941},{"className":1940},[],[1942],{"type":45,"value":1943},"ref. presentation cell",{"type":45,"value":1945}," on ",{"type":39,"tag":62,"props":1947,"children":1949},{"className":1948},[],[1950],{"type":45,"value":1951},"CellModel_RefCell",{"type":45,"value":137},{"type":39,"tag":62,"props":1954,"children":1956},{"className":1955},[],[1957],{"type":45,"value":1958},"cell menu reference",{"type":45,"value":1960}," items, the recommended modern alternative (override the referenced concept's ",{"type":39,"tag":62,"props":1962,"children":1964},{"className":1963},[],[1965],{"type":45,"value":1966},"InlineEditorComponent",{"type":45,"value":1968}," or expose a ",{"type":39,"tag":62,"props":1970,"children":1972},{"className":1971},[],[1973],{"type":45,"value":1974},"getPresentation()",{"type":45,"value":1976}," behavior method).",{"type":39,"tag":200,"props":1978,"children":1979},{},[1980,1981,1986,1987,1992,1994,2000,2002,2008,2009,2015,2016,2022,2023,2029,2031,2037,2038,2044,2045,2051,2052,2058,2059,2065,2067,2073],{"type":45,"value":1198},{"type":39,"tag":62,"props":1982,"children":1984},{"className":1983},[],[1985],{"type":45,"value":778},{"type":45,"value":1205},{"type":39,"tag":54,"props":1988,"children":1989},{},[1990],{"type":45,"value":1991},"selecting a node after a mutation or implementing two-step deletion",{"type":45,"value":1993}," — the ",{"type":39,"tag":62,"props":1995,"children":1997},{"className":1996},[],[1998],{"type":45,"value":1999},"select",{"type":45,"value":2001}," operation syntax (",{"type":39,"tag":62,"props":2003,"children":2005},{"className":2004},[],[2006],{"type":45,"value":2007},"in:",{"type":45,"value":137},{"type":39,"tag":62,"props":2010,"children":2012},{"className":2011},[],[2013],{"type":45,"value":2014},"cell:",{"type":45,"value":137},{"type":39,"tag":62,"props":2017,"children":2019},{"className":2018},[],[2020],{"type":45,"value":2021},"selectionStart",{"type":45,"value":137},{"type":39,"tag":62,"props":2024,"children":2026},{"className":2025},[],[2027],{"type":45,"value":2028},"selectionEnd",{"type":45,"value":2030},"), predefined cell values (",{"type":39,"tag":62,"props":2032,"children":2034},{"className":2033},[],[2035],{"type":45,"value":2036},"FIRST",{"type":45,"value":137},{"type":39,"tag":62,"props":2039,"children":2041},{"className":2040},[],[2042],{"type":45,"value":2043},"LAST",{"type":45,"value":137},{"type":39,"tag":62,"props":2046,"children":2048},{"className":2047},[],[2049],{"type":45,"value":2050},"LAST_EDITABLE",{"type":45,"value":137},{"type":39,"tag":62,"props":2053,"children":2055},{"className":2054},[],[2056],{"type":45,"value":2057},"MOST_RELEVANT",{"type":45,"value":1500},{"type":39,"tag":62,"props":2060,"children":2062},{"className":2061},[],[2063],{"type":45,"value":2064},"ApproveDelete_Operation",{"type":45,"value":2066}," hook, the \"node not already selected \u002F not already approved\" conditions, and the rule that custom delete actions must call ",{"type":39,"tag":62,"props":2068,"children":2070},{"className":2069},[],[2071],{"type":45,"value":2072},"node.approveDelete(editorContext)",{"type":45,"value":2074}," before mutating.",{"type":39,"tag":200,"props":2076,"children":2077},{},[2078,2079,2084,2085,2090],{"type":45,"value":1198},{"type":39,"tag":62,"props":2080,"children":2082},{"className":2081},[],[2083],{"type":45,"value":754},{"type":45,"value":1205},{"type":39,"tag":54,"props":2086,"children":2087},{},[2088],{"type":45,"value":2089},"inserting any of these roots through MCP",{"type":45,"value":2091}," — copy-and-edit JSON for action map, keymap, transformation menu (default + side-transform), substitute menu (default + wrapper), paste wrapper, copy-paste handlers, completion styling. Each blueprint has a comment indicating where to inject BaseLanguage statement lists.",{"type":39,"tag":200,"props":2093,"children":2094},{},[2095,2096,2102,2103,2108,2110,2115,2116,2121,2122,2127,2128,2133,2134,2139],{"type":45,"value":1198},{"type":39,"tag":62,"props":2097,"children":2099},{"className":2098},[],[2100],{"type":45,"value":2101},"references\u002Fwiring-tables.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":2104,"children":2105},{},[2106],{"type":45,"value":2107},"understanding the cell-to-aspect wiring",{"type":45,"value":2109}," — the cell ",{"type":39,"tag":62,"props":2111,"children":2113},{"className":2112},[],[2114],{"type":45,"value":736},{"type":45,"value":327},{"type":39,"tag":62,"props":2117,"children":2119},{"className":2118},[],[2120],{"type":45,"value":721},{"type":45,"value":327},{"type":39,"tag":62,"props":2123,"children":2125},{"className":2124},[],[2126],{"type":45,"value":728},{"type":45,"value":327},{"type":39,"tag":62,"props":2129,"children":2131},{"className":2130},[],[2132],{"type":45,"value":714},{"type":45,"value":327},{"type":39,"tag":62,"props":2135,"children":2137},{"className":2136},[],[2138],{"type":45,"value":707},{"type":45,"value":2140}," mapping, when both are combined vs replaced, the name-driven discovery convention.",{"type":39,"tag":200,"props":2142,"children":2143},{},[2144,2145,2151,2152,2157,2158,2164,2166,2172,2174,2180],{"type":45,"value":1198},{"type":39,"tag":62,"props":2146,"children":2148},{"className":2147},[],[2149],{"type":45,"value":2150},"references\u002Freal-examples.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":2153,"children":2154},{},[2155],{"type":45,"value":2156},"studying canonical implementations",{"type":45,"value":1119},{"type":39,"tag":62,"props":2159,"children":2161},{"className":2160},[],[2162],{"type":45,"value":2163},"jetbrains.mps.samples.Kaja",{"type":45,"value":2165}," (compact action-map + substitute menu + side-transform + style sheet), ",{"type":39,"tag":62,"props":2167,"children":2169},{"className":2168},[],[2170],{"type":45,"value":2171},"jetbrains.mps.baseLanguage",{"type":45,"value":2173}," (editor.mps ≈4 MB; actions.mps with paste wrappers; intentions.mps), with the ",{"type":39,"tag":62,"props":2175,"children":2177},{"className":2176},[],[2178],{"type":45,"value":2179},"mps_mcp_print_node",{"type":45,"value":2181}," workflow for cross-checking concept and role names.",{"type":39,"tag":200,"props":2183,"children":2184},{},[2185,2186,2192,2193,2198,2200,2205,2207,2213,2214,2220,2221,2227,2228,2234,2235,2240,2242,2248],{"type":45,"value":1198},{"type":39,"tag":62,"props":2187,"children":2189},{"className":2188},[],[2190],{"type":45,"value":2191},"references\u002Fcommon-failures.md",{"type":45,"value":1205},{"type":39,"tag":54,"props":2194,"children":2195},{},[2196],{"type":45,"value":2197},"a feature does not work",{"type":45,"value":2199}," — concept absent from completion (empty default substitute menu); side transform inserts the character; ",{"type":39,"tag":62,"props":2201,"children":2203},{"className":2202},[],[2204],{"type":45,"value":215},{"type":45,"value":2206}," doesn't fire (two-step deletion not approved); keymap item never fires; paste wrapper not triggered; transformation-menu action in completion but not Context Assistant; wrong role name in JSON (",{"type":39,"tag":62,"props":2208,"children":2210},{"className":2209},[],[2211],{"type":45,"value":2212},"section",{"type":45,"value":420},{"type":39,"tag":62,"props":2215,"children":2217},{"className":2216},[],[2218],{"type":45,"value":2219},"part",{"type":45,"value":420},{"type":39,"tag":62,"props":2222,"children":2224},{"className":2223},[],[2225],{"type":45,"value":2226},"location",{"type":45,"value":420},{"type":39,"tag":62,"props":2229,"children":2231},{"className":2230},[],[2232],{"type":45,"value":2233},"matchingTextFunction",{"type":45,"value":420},{"type":39,"tag":62,"props":2236,"children":2238},{"className":2237},[],[2239],{"type":45,"value":465},{"type":45,"value":2241},"); stale references after refactor (use ",{"type":39,"tag":62,"props":2243,"children":2245},{"className":2244},[],[2246],{"type":45,"value":2247},"FIX_REFERENCES",{"type":45,"value":2249},"); contribution defined in same language as the menu.",{"items":2251,"total":2369},[2252,2266,2274,2283,2294,2304,2314,2319,2328,2338,2346,2359],{"slug":2253,"name":2253,"fn":2254,"description":2255,"org":2256,"tags":2257,"stars":19,"repoUrl":20,"updatedAt":2265},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2258,2261,2264],{"name":2259,"slug":2260,"type":15},"Architecture","architecture",{"name":2262,"slug":2263,"type":15},"Configuration","configuration",{"name":13,"slug":14,"type":15},"2026-07-17T06:06:57.311661",{"slug":1117,"name":1117,"fn":2267,"description":2268,"org":2269,"tags":2270,"stars":19,"repoUrl":20,"updatedAt":2273},"define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2271,2272],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:04:48.066901",{"slug":2275,"name":2275,"fn":2276,"description":2277,"org":2278,"tags":2279,"stars":19,"repoUrl":20,"updatedAt":2282},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2280,2281],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:45:21.757084",{"slug":2284,"name":2284,"fn":2285,"description":2286,"org":2287,"tags":2288,"stars":19,"repoUrl":20,"updatedAt":2293},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2289,2290],{"name":2259,"slug":2260,"type":15},{"name":2291,"slug":2292,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":2295,"name":2295,"fn":2296,"description":2297,"org":2298,"tags":2299,"stars":19,"repoUrl":20,"updatedAt":2303},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2300],{"name":2301,"slug":2302,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":186,"name":186,"fn":2305,"description":2306,"org":2307,"tags":2308,"stars":19,"repoUrl":20,"updatedAt":2313},"define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2309,2312],{"name":2310,"slug":2311,"type":15},"Design","design",{"name":17,"slug":18,"type":15},"2026-07-23T05:41:56.638151",{"slug":4,"name":4,"fn":5,"description":6,"org":2315,"tags":2316,"stars":19,"repoUrl":20,"updatedAt":21},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2317,2318],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":2320,"name":2320,"fn":2321,"description":2322,"org":2323,"tags":2324,"stars":19,"repoUrl":20,"updatedAt":2327},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2325,2326],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},"2026-07-13T06:44:59.507855",{"slug":2329,"name":2329,"fn":2330,"description":2331,"org":2332,"tags":2333,"stars":19,"repoUrl":20,"updatedAt":2337},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2334,2335,2336],{"name":2259,"slug":2260,"type":15},{"name":2291,"slug":2292,"type":15},{"name":13,"slug":14,"type":15},"2026-07-17T06:06:58.042999",{"slug":1136,"name":1136,"fn":2339,"description":2340,"org":2341,"tags":2342,"stars":19,"repoUrl":20,"updatedAt":2345},"define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2343,2344],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},"2026-07-23T05:41:48.692899",{"slug":2347,"name":2347,"fn":2348,"description":2349,"org":2350,"tags":2351,"stars":19,"repoUrl":20,"updatedAt":2358},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2352,2355],{"name":2353,"slug":2354,"type":15},"Debugging","debugging",{"name":2356,"slug":2357,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":2360,"name":2360,"fn":2361,"description":2362,"org":2363,"tags":2364,"stars":19,"repoUrl":20,"updatedAt":2368},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2365],{"name":2366,"slug":2367,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":2371,"total":2407},[2372,2378,2383,2388,2393,2397,2402],{"slug":2253,"name":2253,"fn":2254,"description":2255,"org":2373,"tags":2374,"stars":19,"repoUrl":20,"updatedAt":2265},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2375,2376,2377],{"name":2259,"slug":2260,"type":15},{"name":2262,"slug":2263,"type":15},{"name":13,"slug":14,"type":15},{"slug":1117,"name":1117,"fn":2267,"description":2268,"org":2379,"tags":2380,"stars":19,"repoUrl":20,"updatedAt":2273},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2381,2382],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},{"slug":2275,"name":2275,"fn":2276,"description":2277,"org":2384,"tags":2385,"stars":19,"repoUrl":20,"updatedAt":2282},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2386,2387],{"name":2259,"slug":2260,"type":15},{"name":13,"slug":14,"type":15},{"slug":2284,"name":2284,"fn":2285,"description":2286,"org":2389,"tags":2390,"stars":19,"repoUrl":20,"updatedAt":2293},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2391,2392],{"name":2259,"slug":2260,"type":15},{"name":2291,"slug":2292,"type":15},{"slug":2295,"name":2295,"fn":2296,"description":2297,"org":2394,"tags":2395,"stars":19,"repoUrl":20,"updatedAt":2303},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2396],{"name":2301,"slug":2302,"type":15},{"slug":186,"name":186,"fn":2305,"description":2306,"org":2398,"tags":2399,"stars":19,"repoUrl":20,"updatedAt":2313},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2400,2401],{"name":2310,"slug":2311,"type":15},{"name":17,"slug":18,"type":15},{"slug":4,"name":4,"fn":5,"description":6,"org":2403,"tags":2404,"stars":19,"repoUrl":20,"updatedAt":21},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[2405,2406],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},31]