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

Goto Declaration does not work for imported components #19

Open
CSchoel opened this issue Nov 3, 2019 · 0 comments
Open

Goto Declaration does not work for imported components #19

CSchoel opened this issue Nov 3, 2019 · 0 comments

Comments

@CSchoel
Copy link
Member

CSchoel commented Nov 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant