Code Refactoring Issue Follow
Recently I have been refactoring some code (renaming classes, fields, and methods) and I have a ZKM changelog that was produced with the code. I was wondering if there was a way to simultaneously modify that changelog text file when I refactor something within my project. The changelog will be in the same directory, and so far I have been unable to figure out a way to have the contents renamed inside there (e.g. if I rename anInt111 to width, that should be reflected in my changelog also) as they are renamed inside my project source files.
Thanks for any help you can provide.
Please sign in to leave a comment.
Hello Method,
This can't be done automatically (the rename refactoring can update text
files, but it only finds fully-qualified class names). However, you can write
a plugin that would update the file for you.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks for the reply. I thought I might need to write a plugin to accomplish this, but I'm not really sure where I would begin with it. Could you point me in the right direction, please?