Show names/ids of matching objects' closing braces in blueprint
What we could do is show the name/id of the matching object next to the closing "}".
I think this could even be implemented in Blueprint language server and benefit all editors.
An other idea would be to show a breadcrumbs of the tree where the cursor is, something like
Window {
Box my_box {
Stack {
Button {
} Window > Box#id > Stack > Button **the breadcrumbs is shown dimmed or something by the editor**
}
}
}
VSCode has this cool "Stick Scroll" experimental feature https://devblogs.microsoft.com/visualstudio/sticky-scroll-now-in-preview/
The VSCode version is too complex but we could also show the breadcrumbs above the text view which is probably even better than showing it where the cursor is.
The breadcrumb would update as you scroll
@halfmexican mentioned that it's hard to see the bold matching bracket.
One idea would be to actually highlight it instead. Let's see if it's possible at all :)
@halfmexican looked into it but we'd have to ship a custom GtkSourceView theme
Not worth it, let's implement a nice solution directly.