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.