Community
Participate
Working Groups
To reproduce the problem, type the following: ---------- var aa=""; aa./* activate completion */ ---------- The code complition list would lack all the String-specific operations, such as toLower(), indexOf() etc. The problem is reproducible for other types as well (Integer, Real).
Since the variable is untyped, how should the code completion obtain any type-specific operations? The fact that there is a String bound to the variable is runtime information, thus not available when code completion is triggered. Why not just specifying a type here?
Sorry, I was unaware of the fact the it is possible to derive the type from the initializer in OCL/QVTo. Consequently, your request is of course valid.
It's definitely an omission in completion engine. Should be fixed.