Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Refactoring using RTC

How does RTC handle a refactor? For example, if I have a class or variable that is renamed in release 10 and I need to make the change recursively, how can I do that using RTC and the eclipse IDE?

0 votes



2 answers

Permanent link
How does RTC handle a refactor? For example, if I have a class or variable that is renamed in release 10 and I need to make the change recursively, how can I do that using RTC and the eclipse IDE?


Hi

This can be done in Eclipse - and then RTC will record the changes for you. There is a Refactor menu item available in the editors via a right-button, and on the Package Explorer (and probably elsewhere) - and it will hunt through the Eclipse project and make changes to references. You can preview the changes too, just to be sure it is doing the right thing.

I am assuming you want to change all occurrences in that release only.

anthony

0 votes


Permanent link
How does RTC handle a refactor? For example, if I have a class or variable that is renamed in release 10 and I need to make the change recursively, how can I do that using RTC and the eclipse IDE?


Hi

This can be done in Eclipse - and then RTC will record the changes for you. There is a Refactor menu item available in the editors via a right-button, and on the Package Explorer (and probably elsewhere) - and it will hunt through the Eclipse project and make changes to references. You can preview the changes too, just to be sure it is doing the right thing.

I am assuming you want to change all occurrences in that release only.

anthony

Yes, this is what I was looking for. Thanks!

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jun 30 '10, 6:18 p.m.

Question was seen: 6,469 times

Last updated: Jun 30 '10, 6:18 p.m.

Confirmation Cancel Confirm