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 03:18
Thomas Reisenbichler is currently offline Thomas Reisenbichler
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:annotate a parameter in method
Goto Forum:
  


Current Time: Wed Aug 20 08:46:30 EDT 2014

Powered by FUDForum. Page generated in 0.01949 seconds