Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » When the Xtextmydsl editor plugin is installed(Why i get the question "Do you want to add Xtext nature?")
When the Xtextmydsl editor plugin is installed [message #717848] Mon, 22 August 2011 14:12 Go to next message
Caner Friend
Messages: 98
Registered: July 2011
Member
Hi
After I installed my plug in, while i am creating a something.mydsl file
eclipse asks me "Do you want to add Xtext nature?"
What does it mean? I dont see any changes on the editor feature whether I say yes/no.

/caner
Re: When the Xtextmydsl editor plugin is installed [message #717868 is a reply to message #717848] Mon, 22 August 2011 15:03 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

this enables the Xtext builder and thus nice features like "the index", code gen etc.

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: When the Xtextmydsl editor plugin is installed [message #718042 is a reply to message #717868] Tue, 23 August 2011 06:03 Go to previous messageGo to next message
Caner Friend
Messages: 98
Registered: July 2011
Member
Hi Christian

Can I not avoid it in somwhow?
/caner
Re: When the Xtextmydsl editor plugin is installed [message #718046 is a reply to message #718042] Tue, 23 August 2011 06:13 Go to previous messageGo to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

if you want linking to work, you need the Xtext nature (in 99.999% of the cases), so you basically cannot avoid the Xtext nature. You could make sure that all projects where you place Xtext models do have the Xtext nature. Also, there are a couple of threads in this forum already dealing with that topic.

Alex


Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext@itemis.de
Re: When the Xtextmydsl editor plugin is installed [message #718078 is a reply to message #718042] Tue, 23 August 2011 07:36 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Caner,

you could avoid the dialog and add the nature implicitly.
Therefore you have to provide a customized NatureAddingEditorCallback.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 23.08.11 08:03, Caner wrote:
> Hi Christian
> Can I not avoid it in somwhow?
> /caner
Previous Topic:Generating multiple files with xtend
Next Topic:Xpand/Xtend editor errors
Goto Forum:
  


Current Time: Thu Apr 25 05:17:15 GMT 2024

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

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

Back to the top