Skip to content

Breadcrumbs in classes should include "methods" namespace #170

Open
@dklilley

Description

@dklilley

Consider the following classdef:

classdef foo
    methods
        function obj = foo2()
            % lorem ipsum
            % lorem ipsum
            % lorem ipsum
            % lorem ipsum
            % lorem ipsum
            % lorem ipsum
            % lorem ipsum
        end
    end
end

When I scroll the top of the VS Code editor to be in the lorem ipsum chunk, I would expect the breadcrumbs to read

classdef foo
    methods
        function obj = foo2()

Instead, it reads

classdef foo
        function obj = foo2()

The extra indentation looks funny, but you also lose knowing about whether you are in a static block, or protected, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions