Skip to main content



      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 10:12 Go to next message
Eclipse UserFriend
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 11:03 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

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

~Christian
Re: When the Xtextmydsl editor plugin is installed [message #718042 is a reply to message #717868] Tue, 23 August 2011 02:03 Go to previous messageGo to next message
Eclipse UserFriend
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 02:13 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: When the Xtextmydsl editor plugin is installed [message #718078 is a reply to message #718042] Tue, 23 August 2011 03:36 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 09:42:08 EDT 2025

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

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

Back to the top