In the following Dart code breadcrumbs are shown for each line as comment:
class Test { // file > class Test
void main() { // file > class Test, or file > class Test > main when on "void main() " part
// file > class Test, or file > class Test > test when on "void test() " part
void test() { // file > class Test
// file > class Test
} // file > class Test
// file > class Test
print('hi');
}
}
The expected breadcrumbs would be file > class Test > main > test when the cursor is on void test() { ... }, and similarly file > class Test > main outside of that block but in void main() { ... } and so on.
A similarly structured Rust code shows breadcrumbs as expected.
Originally reported by @osa1 in:
In the following Dart code breadcrumbs are shown for each line as comment:
The expected breadcrumbs would be
file > class Test > main > testwhen the cursor is onvoid test() { ... }, and similarlyfile > class Test > mainoutside of that block but invoid main() { ... }and so on.A similarly structured Rust code shows breadcrumbs as expected.
Originally reported by @osa1 in: