Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Refactoring breaks Scoping
Refactoring breaks Scoping [message #1053210] Fri, 03 May 2013 07:18
Thomas Reisenbichler is currently offline Thomas ReisenbichlerFriend
Messages: 1
Registered: January 2013
Junior Member
Hi,

I am currently upgrading to Xtext 2.4.1 and wan't to activate refactoring during this step. But I have a major problem with refactoring. When I start refactoring and I open the refactoring wizard all works fine and everything can be successfully linked (I put some trace outputs in my scoping and linking implementation). But when I hit finish, I don't get the new resources in my ImportUriGlobalScopeProvider and so the new references can't be resolved because the my ImportUriGlobalScopeProvider delivers "old" ResourceDescriptions.

Do you have an idea, what I can check why my ResourceDescriptions don't get updated? To workaround this behavior I searched for a hook to update the xtext builder state after the refactoring (since I disabled automatic build) but I didn't find a fitting point. Do you have any suggestions where I can hook into to perform actions after refactoring is done?

Any help would be appriciated...
Previous Topic:default value for INT parameter
Next Topic:Programming Language DSL (SAG Natural)
Goto Forum:
  


Current Time: Mon Dec 22 08:02:09 GMT 2014

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

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