The information should be on the import and a quick fix should allow to add the missing metamodel import.
The quick fix should also be available on an unresolved call if its due to a missing metamodel import.
[comment encoding = UTF-8 /]
[module moduleA('http://www.eclipse.org/acceleo/4.0')/]
[import test::moduleB/]
[template public myTemplate(parameter : acceleo::Expression)]
Some Text: [parameter.eContents().myOtherTemplate()/]
[/template]
[comment encoding = UTF-8 /]
[module moduleB('http://www.eclipse.org/acceleo/query/1.0')/]
[template public myOtherTemplate(parameter : ast::Expression)]
Some Text
[/template]
The quick fix should also be added on error: "EClassifier=Expression is not registered in the current environment"
[comment encoding = UTF-8 /]
[module moduleA('http://www.eclipse.org/acceleo/4.0')/]
[template public myTemplate(parameter : acceleo::Expression)]
Some Text: [parameter.aql/]
[/template]
The information should be on the import and a quick fix should allow to add the missing metamodel import. The quick fix should also be available on an unresolved call if its due to a missing metamodel import.
The quick fix should also be added on error: "EClassifier=Expression is not registered in the current environment"