Describe the bug
When you try to go to the declaration of a variable in the gama ide, it seems that the feature leads to the first declaration of an object with the same name, which is not always the good one.
For example in this model:
model declaration
global {
init {
int a <- 3;
}
}
species b {
int a;
action test {
a <- 4;
}
}
If you try to go to the declaration of a, in the test action, the editor will bring you to the declaration of a in the global species, which does not exist in this scope.
Describe the bug When you try to go to the declaration of a variable in the gama ide, it seems that the feature leads to the first declaration of an object with the same name, which is not always the good one. For example in this model:
If you try to go to the declaration of
a
, in thetest
action, the editor will bring you to the declaration ofa
in the global species, which does not exist in this scope.