vshaxe icon indicating copy to clipboard operation
vshaxe copied to clipboard

Markup literals break breadcrumbs

Open Speedphoenix opened this issue 2 years ago • 1 comments

When editing code that uses markup literals (like domkit on the Heaps game engine), the breadcrumbs are not nested properly.
For example here the caret is not inside classes A or B but they still show up in the breadcrumbs image

For files with a large amount of classes with markup literals, the breadcrumbs become completely unusable, requiring a lot of scrolling to reach the bottom of the nesting

Speedphoenix avatar Aug 16 '22 09:08 Speedphoenix

currently there is no support for XML literals in haxeparser or tokentree libs. and I believe that is where breadcrumb info comes from. it's also the reason why there is no formatting support for files containing such inline markup.

AlexHaxe avatar Aug 16 '22 10:08 AlexHaxe

fixed by faaa3a9bdc1e60a67a98a8a860830d1e63f72092

AlexHaxe avatar Sep 07 '22 14:09 AlexHaxe