Skip to main content



      Home
Home » Modeling » TMF (Xtext) » XBASE content assist inconsistent behavior(XBASE content assist inconsistent behavior)
XBASE content assist inconsistent behavior [message #1786425] Thu, 03 May 2018 04:22 Go to next message
Eclipse UserFriend
Dear all,

Sorry for bothering you again but i have encountered strange (=newbie) problem that is bothering me for more than a week now.

I have the following simple grammar
grammar org.xtext.example.mydsl.MyDsl with org.eclipse.xtext.xbase.Xbase

import "http://www.eclipse.org/xtext/xbase/Xbase"

generate myDsl "http://www.xtext.org/example/mydsl/MyDsl"

Model:
	greetings+=Greeting*;
	
Greeting:
	'Hello' name=ID '!';



AS you can see it simply the one generated by eclipse but i have replaced the usage of terminals with the usage of XBase.

In the first screenshot (with terminals no Xbase )
index.php/fa/32747/0/
you can clearly see that content assist works after the work hello and suggests the word 'name' as a possible option. Same after the word name it suggests the symbol "!"

After i introduce Xbase content assist stops working for both name and the "1".
index.php/fa/32748/0/
index.php/fa/32749/0/

Console is clean from any errors and i cant find any other errors anywhere.

Any ideas about this specific problem?

Also i assume that there is somekind of way to introduce more detailed logging in order to troubleshoot this type of problems (e.g. force eclipse to stop as soon as it encounters an exception, tracing etc). Can someone give me a direction on an introductory level article about debugging/troubleshooting my dsl?

Thank you again!
Thomas

Re: XBASE content assist inconsistent behavior [message #1786436 is a reply to message #1786425] Thu, 03 May 2018 05:24 Go to previous message
Eclipse UserFriend
dupes https://www.eclipse.org/forums/index.php/t/1093092/
Previous Topic:Debugging DSL based on Xbase
Next Topic:XBASE content assist inconsistent behavior
Goto Forum:
  


Current Time: Wed Jun 18 18:21:24 EDT 2025

Powered by FUDForum. Page generated in 0.20984 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top