Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext runtime questions(Xtext editor not behaving as expected.)
Xtext runtime questions [message #1740555] Mon, 15 August 2016 16:28 Go to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
All,

Is this supposed to work?

I am just getting into Xtext. I tried the example project that is a part of eclipse.


    I ran the workflow,
    Ran as an eclipse application,
    I created a java project in the new instance,
    I created a file with the dmodel extension,
    I opened the file with the DomainModel editor, and
    None of the features shown in the documentation are working.


Thanks
Re: Xtext runtime questions [message #1740557 is a reply to message #1740555] Mon, 15 August 2016 16:46 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
yes this is supposed to work.

make sure

- if the editor asks to add xtext nature answer with yes
- the file extension is case sensitive
- make sure you have build automatically on
- make sure you dont have any warnings in build.properties files

if that does not help please zip your plugins and share them with us.


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740558 is a reply to message #1740557] Mon, 15 August 2016 16:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
p.s.: what do do to verify "none of the features is working"

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740563 is a reply to message #1740558] Mon, 15 August 2016 17:52 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
another investigation option

(1) in the runtime eclipse open console view
(2) open host osgi console using the button on the top of the view
(3) type ss domainmodel. what does that give


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740571 is a reply to message #1740558] Mon, 15 August 2016 18:28 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
xtext nature: on
file extension case: lower
build automatically: on
no warnings

I am getting syntax highlighting, but none of the code assist I see in the documentation
Re: Xtext runtime questions [message #1740572 is a reply to message #1740571] Mon, 15 August 2016 18:33 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
which point of the documentation do you refer to?
with cursor behind friends in the op i get basically what is in the screenshot of the tutorial


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Mon, 15 August 2016 18:37]

Report message to a moderator

Re: Xtext runtime questions [message #1740573 is a reply to message #1740572] Mon, 15 August 2016 18:59 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
I am getting something less. One thing I am not getting is the list of operators.
Re: Xtext runtime questions [message #1740574 is a reply to message #1740573] Mon, 15 August 2016 19:01 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
Does you project have base lib on the classpath?
Right click . Properties. Java build path
Add library . Xtext libary


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740575 is a reply to message #1740574] Mon, 15 August 2016 19:03 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
I'm not showing xtext library. I do see xtend library.
Re: Xtext runtime questions [message #1740576 is a reply to message #1740575] Mon, 15 August 2016 19:06 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
Sry typo. Mean xtend libary

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740577 is a reply to message #1740576] Mon, 15 August 2016 19:08 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
Got the xtend library.
Re: Xtext runtime questions [message #1740578 is a reply to message #1740577] Mon, 15 August 2016 19:10 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
Does it help?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740581 is a reply to message #1740578] Mon, 15 August 2016 21:04 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
No effect.
Re: Xtext runtime questions [message #1740582 is a reply to message #1740581] Mon, 15 August 2016 21:05 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
I am using the latest eclipse--neon--would that matter?
Re: Xtext runtime questions [message #1740590 is a reply to message #1740582] Tue, 16 August 2016 03:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
No. Please share your project containing the dmodel file

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740625 is a reply to message #1740590] Tue, 16 August 2016 12:46 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
Christian

I pushed everything to one of my github accounts. Please take a look and advise. I am having other issues, but let's start here.

git@github.com:threadedblue/org.eclipse.xtext.example.domainmodel.git
git@github.com:threadedblue/org.eclipse.xtext.example.domainmodel.tests.git
git@github.com:threadedblue/org.eclipse.xtext.example.domainmodel.ui.git
Re: Xtext runtime questions [message #1740630 is a reply to message #1740625] Tue, 16 August 2016 13:02 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
no i mean the project containing the dmodel file

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740631 is a reply to message #1740630] Tue, 16 August 2016 13:25 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
Christian,

Sorry about that. Try this.

https://github.com/gcr-nist/runtime-Xtext.git
Re: Xtext runtime questions [message #1740633 is a reply to message #1740631] Tue, 16 August 2016 13:29 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
works fine



Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext runtime questions [message #1740639 is a reply to message #1740633] Tue, 16 August 2016 14:50 Go to previous messageGo to next message
Geoffry Roberts is currently offline Geoffry RobertsFriend
Messages: 52
Registered: July 2016
Member
You're kidding!

I do not get that. Is there a special key stroke or something? I've tried enter, space, dot, and tab.
Re: Xtext runtime questions [message #1740640 is a reply to message #1740639] Tue, 16 August 2016 14:54 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13879
Registered: July 2009
Senior Member
just crtl + space at curson position | (inside the op)

friends|



Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Tue, 16 August 2016 14:54]

Report message to a moderator

Previous Topic:JAR entry DomainmodelParser.class not found in domainmodel.ide-1.0.0-SNAPSHOT.jar
Next Topic:[SOLVED] @SuppressWarning in my DSL
Goto Forum:
  


Current Time: Sun Apr 11 20:15:07 GMT 2021

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

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

Back to the top