|15 min tutorial - falling at first hurdle [message #1832919]
||Tue, 29 September 2020 10:27
| Michael Lewis
Registered: September 2020
I'm attempting to follow the 15 min tutorial for Xtext but the Eclipse IDE integration does not appear to do anything. |
I'm following this tutorial precisely as precisely as I'm able (only deviation noted below).
I create the project, change the xtext grammar as directed, and generate xtext artifacts.
So far all good and the console shows:
0 [main] INFO text.xtext.generator.XtextGenerator - Initializing Xtext generator
4774 [main] INFO text.xtext.generator.XtextGenerator - Generating common infrastructure
4805 [main] INFO .emf.mwe2.runtime.workflow.Workflow - Done.
Then, as directed, from the "package explorer", I "run as"->"Eclipse Application", opening a new Eclipse Window, from which I create a new project (of type "General" rather than Java since I dont see a way to create a Java Project as a tutorial suggests, but the tutorial indicates that any type of project will do) and I create a "test.dmodel" file.
I now start typing content as per the grammar and the tutorial indicates that I should see "code completion, syntax highlighting, syntactic validation" but I see none of that, nor anything to indicate it recognises this file type or the grammar at all. Also, the outline view says that there is "no active editor that provides an outline".
Any idea what I'm doing wrong? Am I mistaken in what to expect?
(I'm using Eclipse Version: 2020-09 (4.17), Build id: I20200902-1800 , on a Mac.)
Many thanks in advance,
Powered by FUDForum
. Page generated in 0.01763 seconds