How can the new option 'Refactor' in the IDE be used?
Most of the time the sub options remain grey.
Thanks,
]an
-
- VIP Member
- Posts: 1466
- Joined: 28 Feb 2000 0:01
Sorry, for taking so long time to respond, I was going to write a little wiki page about it, but one thing took the other and suddenly I had forgot all about it.
In short: most of the actions require that you select a suitable node in the project tree.
I suggest that you play with them to see what they do, however don't do anything without having a backup of your project.
See also Optimal Set of Includes Directives.
In short: most of the actions require that you select a suitable node in the project tree.
I suggest that you play with them to see what they do, however don't do anything without having a backup of your project.
See also Optimal Set of Includes Directives.
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 147
- Joined: 5 Dec 2012 7:29
Refactoring
Am I missing something about the Refactor option on the IDE? It simply renames the .pack file currently being pointed at -- which I find unsatisfactory. The nodes on my IDE tree usually correspond to some class, say xx. I expected that renaming such a node to, say yy, will lead to the following actions that I always have to do manually:-
- 1) Rename the folder from xx to yy
2) Rename the xx.i, xx.cl and xx.pro files in that folder to match yy
3) Update the corresponding names of interface, class and implementation
4) Replace xx with yy wherever it is used to define properties, predicates, etc.
Mutall Data Management Technical Support