Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext tutorial unexpected result(File is not syntax highlighted)
Xtext tutorial unexpected result [message #1752928] Mon, 30 January 2017 21:17 Go to next message
B McCarthy is currently offline B McCarthyFriend
Messages: 2
Registered: January 2017
Junior Member
index.php/fa/28267/0/Hello,

Just trying out the "15 Minutes tutorial" in Eclipse Neon and after splitting the files as described in "Second Iteration: Adding Packages and Imports" and then running the app, I'm getting the odd behavior where the third file "blogs.dmodel" is not being syntax highlighted -- whereas the other two are properly formatted. Screenshot enclosed. Thanks in advance for any help!



Re: Xtext tutorial unexpected result [message #1752983 is a reply to message #1752928] Tue, 31 January 2017 16:29 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14730
Registered: July 2009
Senior Member
are you sure you open all files in "yourdsl"-Editor? and regenated the grammar after change?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com

[Updated on: Tue, 31 January 2017 16:34]

Report message to a moderator

Re: Xtext tutorial unexpected result [message #1752984 is a reply to message #1752983] Tue, 31 January 2017 17:00 Go to previous message
B McCarthy is currently offline B McCarthyFriend
Messages: 2
Registered: January 2017
Junior Member
Well I just tried again, closing and opening the file. At first it didn't work. Then I right-clicked to see what the default editor was that it was using. Then I double-clicked again and it worked (!).

So I guess I am good for now though I am suspicious it would happen again.

Thanks!

Previous Topic:Parsing *some* comments
Next Topic:Xtext and EMF4CPP
Goto Forum:
  


Current Time: Tue Nov 12 06:13:29 GMT 2024

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

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

Back to the top