Listening for renaming/moving of classes Follow
One of the features I would like to add to my in-house
internationalization plugin is the ability to react to the renaming or
moving of a class so that I can move or rename resource bundles. Is
there way to do that in the 4.0 OpenAPI?
Thanks,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Please sign in to leave a comment.
Gordon Tyler wrote:
See com.intellij.refactoring.listeners.*
Friendly,
Dmitry
--
Dmitry Lomov
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"
Dmitry Lomov (JetBrains) wrote:
If a rename or move is undone, the listeners are not notified of the
reversed operation. Is this intentional? Is there a way I can be
notified when a rename or move is undone?
Thanks,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919
Gordon Tyler wrote:
>> See com.intellij.refactoring.listeners.*
Nevermind, it seems that changes to other files made by the listener in
response to the rename notification are undone along with the rename.
Exactly as I wanted 8)
Thanks,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://java.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: 416-643-4846 | Fax: 416-594-1919