Skip to content

Goto Declaration does not work for imported components #19

@CSchoel

Description

@CSchoel

MWE:

model MyModel
  import Modelica.Electrical.Analog.Sources.ConstantCurrent;
  ConstantCurrent c(I=5);
end MyModel;

With the cursor on ConstantCurrent the action "Goto Declaration" yields the following warning:

Can't go anywhere ◔_◔ּ

Couldn't go to definition of ConstantCurrent

It will probably not be easy to resolve this issue properly, as the import does not have to be in the same class. It could also be in any enclosing class or package and it could be an unqualified import using wildcards.

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