Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breadcrumbs in classes should include "methods" namespace #170

Open
dklilley opened this issue Aug 2, 2024 · 0 comments
Open

Breadcrumbs in classes should include "methods" namespace #170

dklilley opened this issue Aug 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dklilley
Copy link
Member

dklilley commented Aug 2, 2024

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.

@dklilley dklilley added the enhancement New feature or request label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant