Community
Participate
Working Groups
Build Identifier: Eclipse 3.6.2 For Xpand/Xtend/Check editor, user must firstly provide import statements. Our program have a long list of import statements such as: import X::Y; import X::Y::Z; import X::Y::Z::T; import X::Y::Z::T::K; ... Is it possible to provide better way below? import X::Y::*; Reproducible: Always
This won't be possible, sorry. Import statements are internally just handled like prefixes. If Xpand accesses some definition and could not resolve it from the local namespace, it tries to prefix all import statements until it can resolve it. There is no way to know about sub-namespaces.
Bug resolved before Xpand 1.2 release date => Closing