Why am I being prompted for the Xtext nature? [message #1253556] |
Sat, 22 February 2014 06:48  |
Eclipse User |
|
|
|
Hello everyone, since a few days Eclipse has been prompting me randomly with this question:
Quote:
Do you want to add the Xtext nature to the project 'Styling'?
I have no idea what the Xtext nature is, nor is there a pattern for when this question shows up. Lately I have been mostly working with Papyrus projects.
Is there a way to answer once and for all that I am not interested in this project nature?
I use Eclipse 4.3.1. Thank you.
|
|
|
|
|
Re: Why am I being prompted for the Xtext nature? [message #1257219 is a reply to message #1256364] |
Wed, 26 February 2014 02:20  |
Eclipse User |
|
|
|
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
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
|
|
|
Powered by
FUDForum. Page generated in 0.11946 seconds