MATLAB-extension-for-vscode icon indicating copy to clipboard operation
MATLAB-extension-for-vscode copied to clipboard

Go to definition fails to navigate to base class implementation

Open dklilley opened this issue 1 year ago • 0 comments

Create two classes -

Base.m:

classdef Base
    methods
        function methodName(~)
        end
    end
end

Derived.m:

classdef Derived < Base
    methods
        function methodName(obj)
            methodName@Base(obj);
        end
    end
end

Select to go to the definition of methodName@Base. If the action is triggered on methodName, then you are navigated to the definition of methodName within Derived. If the action is triggered on Base, then you are navigated to the classdef for Base.

dklilley avatar Jun 27 '23 14:06 dklilley