Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XText 2 and refactoring(How flexible will the refactoring support be?)
XText 2 and refactoring [message #644040] Thu, 09 December 2010 08:34
Chris Ainsley is currently offline Chris AinsleyFriend
Messages: 78
Registered: March 2010
Location: UK
Member
I have a entity ID shorthand in one of my DSLs:

Shorthand notation:

a,z {
  b,c {
     1 = snow
     2 = fox
    }
  d,e {
    1 = flying
    2 = monkey
   }
}


Fully exploded ids + values:

ab1=snow
ab2=fox
ac1=snow
ac2=fox
ad1=flying
ad2=monkey
ae1=flying
ae2=monkey
zb1=snow
zb2=fox
zc1=snow
zc2=fox
zd1=flying
zd2=monkey
ze1=flying
ze2=monkey


The shorthand appears at a given place in the DSL but the key names are referred to explicitly with the full name (ae2, ze2, ....).

This shorthand may seem a little odd with abstract names such as these, but in the real models it makes a lot more sense.

So my question is, will I be able to (at M5/M6 time) integrate the refactoring architecture from XText 2 so that I can rename the id of ze2 and it be able to rebuild the shorthand notation (if I create code for rebuilding the shorthand)? If not, what is the intended limit of its functionality?
Previous Topic:Formatting - OneWhitespaceFormatter - How to deactivate?
Next Topic:AbstractXtextTests and EPackage load
Goto Forum:
  


Current Time: Sat Apr 20 03:31:26 GMT 2024

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

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

Back to the top