Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:22 Go to next message
Thomas Petrou is currently offline Thomas PetrouFriend
Messages: 12
Registered: April 2018
Junior Member
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 ""

generate myDsl ""

	'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 )
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".

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!

Re: XBASE content assist inconsistent behavior [message #1786436 is a reply to message #1786425] Thu, 03 May 2018 09:24 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14286
Registered: July 2009
Senior Member

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:Debugging DSL based on Xbase
Next Topic:XBASE content assist inconsistent behavior
Goto Forum:

Current Time: Mon Jul 04 16:47:22 GMT 2022

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

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

Back to the top