You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Editor ships no example documents, though plan Task 6.2 ("Add demo commands and examples") is checked off #377
The box is checked, but the last bullet has no implementation behind it.
What exists today
Coder.Editor/CoderEditorApp.cs has New function / New class (NewDocument), Open, Save, Export, and the live multi-language preview, which covers bullets 1-3.
docs/gallery/*.png has screenshots of the editor.
What's missing
No example AST documents ship with the editor or the repo. Coder.Editor/ contains no example YAML or embedded resources, and nothing in it refers to an example.
No command such as File > Open Example. A new user always starts from an empty function and has to build every node by hand to see what the generators do.
Acceptance criteria
At least one example document (for instance a function with locals, arithmetic and a call, and a class with a property and a method) ships as YAML, either under Coder.Editor/examples/ or embedded.
The examples are reachable from the editor's File menu.
Each example passes AstGraph.Validate with no problems and generates in all seven languages.
A test in Coder.Test loads each example and asserts that it validates and generates.
Dependencies
None blocking. The example ASTs could later be reused by the per-language sample projects in #139 (Task 7.3), but this issue is limited to the editor.
Category: Improvement (plan task checked off without its last bullet)
Priority: Low. It affects onboarding and discoverability only; the editor works. Either ship the examples or uncheck Task 6.2 in docs/implementation-plan.md.
Area:Coder.Editor (File menu, example YAML resources) plus a validation/generation test in Coder.Test.
Activity
matt-edmondson commentedon Oct 30, 2026
Triage
docs/implementation-plan.md.Coder.Editor(File menu, example YAML resources) plus a validation/generation test inCoder.Test.Generated by Claude Code