|Re: Why am I being prompted for the Xtext nature? [message #1257219 is a reply to message #1256364]
||Wed, 26 February 2014 07:20
|| Lorenzo Bettini
Registered: July 2009
Location: Firenze, Italy
On 25/02/2014 14:23, Jose Perea wrote:|
> Dear Lorenzo,
> Is there any way to avoid this question when a new file is created? What
> I mean is if we can set that all the new files created in the project
> have the Xtext nature by default. How could I do that?
> Thanks a lot for your support.
It's not the file that will have the Xtext nature, but the project
containing that file. So the question will be asked only when such a
new file is created in a project; if you answer yes, it will not be
asked for new files in that project.
If you create such projects yourself (e.g., with your custom project
wizard) you may want to consider to add the Xtext nature to the created
project programmatically in your wizard.
hope this helps
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
Powered by FUDForum
. Page generated in 0.07170 seconds