Community
Participate
Working Groups
The following snippet in the Scoping section of the Xtext Documentation attempts to iterate visibleContainer.getResourceDescription(). I beleive this should be visibleContainer.getResourceDescriptions(). "s" has been omitted. @Inject IContainer.Manager manager; public void listVisibleResources( Resource myResource, IResourceDescriptions index) { IResourceDescription descr = index.getResourceDescription(myResource.getURI()); for(IContainer visibleContainer: manager.getVisibleContainers(descr, index)) { for(IResourceDescription visibleResourceDesc: visibleContainer.getResourceDescription()) { System.out.println(visibleResourceDesc.getURI()); } } }
Pushed to MASTER. Thanks for reporting.
Closing all bugs that were set to RESOLVED before Neon.0