|
|
|
|
|
|
Re: XText -> Help Required [message #1690952 is a reply to message #1690947] |
Wed, 01 April 2015 09:03 |
|
Hi,
to test if the resourceserviceprovider works: put the *.yournotxtextextension file to a model project (that has xtext nature) - e.g. next to the .yourdsl file.
if you have build automatically on and do a clean build on the project the files should be indexed.
you can find that out with the open model element dialog (Cmd + Shift + F3 on Mac)
now the elements should occur in this dialog
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
|
|
|
Re: XText -> Help Required [message #1691317 is a reply to message #1691302] |
Sun, 05 April 2015 17:17 |
|
Hi,
if you had a look at the open model element dialog you would have seen that the indexing works, but the naming is like MyCompany.PersonName and not
PersonName. Since xxx=[YYY] is short for xxx=[YYY|ID] (which means: reference a YYY and parse an ID) and ID prohibits dots (.) you dont get any proposals
=> either adapt the nameprovider of the resourceserviceprovider
or the grammar
Task:
'task' name=ID 'by' supervisor=[org::ServiceSupervisor|FQN];
FQN:
ID ('.' ID)*
;
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
Powered by
FUDForum. Page generated in 0.04767 seconds