Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Why am I being prompted for the Xtext nature?
Why am I being prompted for the Xtext nature? [message #1253556] Sat, 22 February 2014 11:48 Go to next message
Luís de Sousa is currently offline Luís de SousaFriend
Messages: 214
Registered: July 2009
Senior Member
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 #1253607 is a reply to message #1253556] Sat, 22 February 2014 13:07 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 22/02/2014 12:48, Luís de Sousa wrote:
> 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.

That happens if you create a file in your project that has an editor
that has been built with Xtext; you should answer 'yes' so that you'll
enjoy all the automatic building features of that language...

--
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


Re: Why am I being prompted for the Xtext nature? [message #1256364 is a reply to message #1253607] Tue, 25 February 2014 10:54 Go to previous messageGo to next message
Jose Perea is currently offline Jose PereaFriend
Messages: 1
Registered: February 2014
Junior Member
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.
Re: Why am I being prompted for the Xtext nature? [message #1257219 is a reply to message #1256364] Wed, 26 February 2014 07:20 Go to previous message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
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


Previous Topic:Open URL in Eclipse Internal Browser
Next Topic:Modularize/Contribute to RCP
Goto Forum:
  


Current Time: Fri Apr 19 17:00:14 GMT 2024

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

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

Back to the top