Skip to content

Add compiler explorer option to hide collapsed stages #1756

@anderseknert

Description

@anderseknert

We often use screenshots from the compiler explorer to demonstrate how something is rewritten by the OPA compiler. This is sometimes made more difficult by the fact the stages of interest won't fit on a single screen when the explorer lists all the stages in between — including those that made no difference for the result. As an example:

package p

allow if not "a" in input.foo.bar

Displays as:

Image

With the relevant output found just further down:

Image

This isn't a huge issue, but I think it would be great if there was a toggle to completely hide all stages without any output, to better visualize the stages where the action is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    language serverIssues related to Regal's language server

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions