vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Add breadcrumbs for all scopes

Open jebamania opened this issue 7 months ago • 1 comments

When I look at the breadcrumb, I'm usually trying to determine my current scope location. Essentially any implicit or explicit use of curly brackets {} define my current scope.

I'd like to be able to toggle on a feature that adds every scope to the breadcrumb trail.

This would add loops (for/while), conditionals (If/elseif), and getter/setter scopes to the breadcrumb trail. And maybe others I'm not thinking of now.

Example

public Class testClass{
    public void testMethod(){
        for(int i = 0; i<=1000; i++;){
            // Breadcrumb in here should be: testClass{ > testMethod(){ > for(int i...){
        }
    }
}

jebamania avatar May 13 '25 18:05 jebamania