I'm curious if anyone at JetBrains has considered adding refactoring support for NHibernate mapping files at some point in the future (say in the 3.0 or later release). We've been creating a ton of these mapping files for a legacy database using MyGeneration, but refactoring the mapping files has been somewhat of a challenge. Refactoring the classes has been relatively easy with ReSharper's Rename functionality, but we sometimes forget to rename the property names in the .hbm.xml files. We have a unit test that instantiates the ISessionManager specifically to verify the "correctness" of our mappings to classes, but I suspect it would be less stressful if ReSharper could reach into the .hbm.xml mapping file, find Name="foo", and change it to Name="bar" for us.
I'm just dreaming and wishing... but I also realize there are lot of other ORM tools available that do things differently, so maybe I'm opening a can of worms here.