Closed eclipse-ocl-bot closed 1 month ago
By Ed Willink on May 10, 2011 12:13
The Xtext guys take the view that unprefixed propsals offer too many alterantives so they don't offer anything by default.
It is up to me to get round to providing the appropriate customisation, which will be easier once the scoping is auto-generated.
By Adolfo Sanchez-Barbudo Herrera on May 10, 2011 13:45
Ok.
As extra info:
Regards,\ Adolfo.
By Ed Willink on May 10, 2011 13:59
Interesting. That might be a way to make Xtext do the work anyway.
However when Xtext provides proposals, its looking for names with similar namespace characteristics. I'm not sure that the customized scoping offers all the possibilities. There are lots of thinhgs to choose from, but I doubt that everything is there. It's an area that I've not paid much attention to.
By Ed Willink on Feb 12, 2012 08:30
Many of the proposals are easily fixed by shared code correctly observing the scoping protocols. Pushed to master.
Scoped names such as A::B::C are a problem since they are curerently parsed as a list in a surrounding context. It may be necessary to restructure the grammar to make scoped name references child elements.
By Ed Willink on May 02, 2012 15:29
In M6
By Ed Willink on Apr 09, 2013 15:29
The specific report was finally fixed by Bug 405228; not an Xtext limitation after all.
By Ed Willink on May 27, 2014 09:44
CLOSED after more than a year in RESOLVED state.
By Ed Willink on May 27, 2014 09:52
and CLOSE
| --- | --- | | Bugzilla Link | 345282 | | Status | CLOSED FIXED | | Importance | P3 normal | | Reported | May 10, 2011 11:09 EDT | | Modified | May 27, 2014 09:52 EDT | | Version | 3.1.0 | | Reporter | Adolfo Sanchez-Barbudo Herrera |
Description
Eclipse Modeling M7 + OCL Examples nightly.
In the Xtext Console, after selecting any model object, if I write "self." + ctrl + space no completion proposal appear. Then, if I write any other letter (for instance "self.g") + ctrl + space the completion proposal successfully appear.