Skip to main content



      Home
Home » Modeling » TMF (Xtext) » create a project
icon5.gif  create a project [message #1038991] Thu, 11 April 2013 11:40 Go to next message
Eclipse UserFriend
I have a question about Xtext.
As shown in the 5 minutes tutorial, after getting preliminary support for a new language, the source file is still need to be created by manually add the extension and under project of other types.

Will it be possible to create a new type of project(your own type)? and will it be possible to automatically add file extension when a file is created within such project?

I am not sure about this since I just get to know Xtext and hope the community will help me out.

Thanks
Re: create a project [message #1039106 is a reply to message #1038991] Thu, 11 April 2013 15:25 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

simply uncommenting

fragment = projectWizard.SimpleProjectWizardFragment auto-inject {
    		      generatorProjectName = "${projectName}"
    		 }


in the workflow does the trick.
you may have to merge (copy) plugin.xml_gen to plugin.xml in the ui project.

you can adopt
Re: create a project [message #1039204 is a reply to message #1039106] Thu, 11 April 2013 18:39 Go to previous message
Eclipse UserFriend
Here's a pretty good tutorial on how to create a new project wizard.

You might want to customize the one XText provides or create your own entirely.
Previous Topic:Validation adding to results each time
Next Topic:semantic highlighting stops working after rename-refactor
Goto Forum:
  


Current Time: Thu Jul 17 19:27:52 EDT 2025

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

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

Back to the top