Skip to content

Outline / breadcrumb improvements #30

@notpeter

Description

@notpeter

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions