Content assist and STRING objects [message #559068] |
Wed, 15 September 2010 13:54 |
Jerome Messages: 5 Registered: September 2010 |
Junior Member |
|
|
Hello dear Xtext community,
Just a small question about content assist proposal. I try to customize the Ctrl+space proposal when the grammar states something like: myValue=STRING with STRING defined in org.eclipse.xtext.common.Terminals
When I encounter myValue, the content assist will automatically propose "myValue" as a possible (and only one) value. How can I override this behaviour and propose a customized message ? Is that on the documentation ?
Looks like the default ProposalProvider calls a completeRuleCall (...) with a rule named "STRING". But I couldn't find any AbstractRule implementation (never used ?) nor understand what's behind that completeRuleCall method .
Thanks and sorry if that question was already answered, I couldn't find it on the archives.
Jérôme
[Updated on: Wed, 15 September 2010 13:54] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02797 seconds