Rename namespace
Hi,
the NHibernate plugin has support for rename class by using
'XmlReferenceWithTokenBase'. If I rename a class everything works fine.
But if I rename a namespace (which implicitly changes the type name)
this change is not reflected in the reference to the type that is
contained in the mapping file. What do I have to do to support 'rename
namespace'?
Regards,
Stefan Lieser
--
http://nhplugin.lieser-online.de
Please sign in to leave a comment.
Stefan,
You have to implement IRenameNamespace and mark the implementation with a
LanguageSpecificAttribute like the following
[LanguageSpecificImplementation(XamlLanguageService.XAML_LANGUAGEID,
typeof(IRenameNamespace))]
internal class XamlRenameNamespace : IRenameNamespace {}
--
Sergey V. Coox
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"