Auto-completion not working [message #1400499] |
Mon, 14 July 2014 05:40  |
Eclipse User |
|
|
|
After I've specified the grammar using Xtext, I am trying to provide scoping rules. While the validation works in the model (in my example finite state machine, for instance), meaning that when out-of-scope entries are present, the name gets red-underlined; however, my auto-completion does not work. This means that the option ctrl+space seems not to check the code I provide for the specific name. Am I missing some important setting in order to allow for the auto-completion to work? (What is strange is that the validation works).
|
|
|
|
|
|
Re: Auto-completion not working [message #1776609 is a reply to message #1776370] |
Sat, 18 November 2017 07:30  |
Eclipse User |
|
|
|
Hi,
Thanks for your answer !
While implementing a complete example for you, I saw that the completion worked in some cases. Digging further, I saw an InfiniteRecursion exception was thrown while computing possible followElements, and finally convinced myself that I had finally to cope with my old LL-backtracking exceptions I was used to live with ;-)
And it solved my completion problem !
Thanks for Xtext, it is a wonderful tool...
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.04305 seconds