blended-modeling / eatxt

Eclipse Public License 2.0
1 stars 1 forks source link

Incomplete namespace (path string) in cross-reference #2

Closed Wilson008 closed 3 years ago

Wilson008 commented 3 years ago

We have two approaches for cross-referencing type and prototype:

We should unify these approaches, that is,

  1. select the most promising one
  2. fix the corresponding issues
  3. transfer the usages of the other approach to the fixed one
joerg-holtmann commented 3 years ago

We use approach number one, where we adapt the scope provider to compute the fully qualified name of the particular elements to be cross-referenced. The default scope provider has an issue with our language for computing the two topmost hierarchy levels.

See also https://www.eclipse.org/forums/index.php/t/1074040/ for injecting an instance of our adapted EastAdlQualifiedShortnameProvider to call the non-static function getFullyQualifiedName(EObject) of its super class.