Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342167

Summary: [Common Types] Participate in JDT's rename refactoring
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Jan Koehnlein <jan>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: jan, tmf.xtext-inbox
Version: 2.0.0Flags: sven.efftinge: indigo+
Target Milestone: RC2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-04-07 10:19:36 EDT
Languages using cross references to JvmTypes should participate in JDT's rename refactoring.
Comment 1 Sebastian Zarnekow CLA 2011-05-04 06:11:39 EDT
Preliminary scheduled for 2.0RC1
Comment 2 Jan Koehnlein CLA 2011-05-19 03:00:50 EDT
Pushed to master. 

Languages with inferred JVM model can now add useJdtRefactoring=true in the RefactorElementNameFragment. This will always trigger the JDT refactoring of the inferred JVM element. The DSL declarations/references are updated by means of a RenameParticipant. 

Integrated into Xtend2 and the dmodel example.

Note: As we react on *every* JDT rename refactoring and the decision whether we actually participate could be expensive, I added a property to disable Xtend refactoring. 

Minor issues remain and will be covered in separate tickets.
Comment 3 Karsten Thoms CLA 2017-09-19 18:05:59 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 4 Karsten Thoms CLA 2017-09-19 18:15:49 EDT
Closing all bugs that were set to RESOLVED before Neon.0