Skip to content

Allow collapsing definitions #245

@eira-fransham

Description

@eira-fransham

Probably this would just be something like turning the line object into a

enum SourceElement {
    Line { .. },
    Scope {
        /// The text shown when this scope is collapsed
        /// For this enum, it would be `enum SourceElement`
        summary: String,
        elements: Vec<SourceElement>,
    }
}

and handling this in the JS. I don't know how we'd actually generate that though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions