apple / pkl-intellij

JetBrains editor plugins providing Pkl language support
https://pkl-lang.org/intellij/current/index.html
Apache License 2.0
49 stars 10 forks source link

Add support for breadcrumbs #31

Closed bioball closed 3 months ago

bioball commented 3 months ago

This adds basic support for breadcrumbs. This also enables the new sticky lines feature in IJ 2024.1.

This flattens nested if/else expressions, so you don't end up with if > if > if in the breadcrumb, in the case of:

if (foo) 1
else if (bar) 2
else if (baz) 3
else 4
     ^ caret

Some screens:

Screenshot 2024-06-07 at 12 48 05 PM Screenshot 2024-06-07 at 12 49 41 PM