I follow the Getting Started part of the Xtext tutorial. I wrote a grammar of my DSL, and choosed Run As -> Generate Xtext Artifacts, then I selected Run As -> Eclipse Application in order to give my DSL editor a try. However, in the Eclipse Application, after I New a project and a file with the proper suffix, no Pop-up is shown to ask whether want to add the Xtext nature. What's more wierd is that when I type the keyword of my DSL in the editor, the keyword is not colored purple. What can I do to fix this problem
I'm a rookie. your answer would be a big help for me
Karsten Thoms Messages: 351 Registered: July 2009 Location: Dortmund
Seems that your plugins are not deployed properly. First you could check Help/About Eclipse/Configuration Details/Plugins and look if it is there. Next, look in the console output of your development workbench if there are any notes on missing requirements. Any other hints maybe in the error log?
Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @kthoms
Blog : www.karsten-thoms.de
And I find the project of my editor was not stored under the install path of Xtext. After changing the project's location into <install path of Xtext>\runtime-EclipseApplication, the problem has been solved.