NHibernate Refactoring Support (HBMs)
I wondered if anyone knew of any available NHibernate plugins that automatically update HBM files whenever you rename elements in your code base. I've done a search and turned up this old forum entry but I don't know if there is any current support:
http://intellij.net/forums/thread.jspa?messageID=5187383
Thanks in advance,
Colin
Please sign in to leave a comment.
Hello Colin,
I don't know about any such plugin. Do you want to develop one? :)
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
CJ> I wondered if anyone knew of any available NHibernate plugins that
CJ> automatically update HBM files whenever you rename elements in your
CJ> code base. I've done a search and turned up this old forum entry but
CJ> I don't know if there is any current support:
CJ>
CJ> http://intellij.net/forums/thread.jspa?messageID=5187383
CJ>
CJ> Thanks in advance,
CJ>
CJ> Colin
CJ>
It does seem like it would be very useful but not having much knowledge of Resharper plugins, and having enough other pet projects that I'm doing, I don't think I could justify writing one :)
Anyway ta for replying.
There was some discussion about this a few months ago, but someone at
JetBrains mentioned the ReSharper 4.0 API was changing and so any such ideas
were put aside until after the ReSharper 4.0 API stabilizes. I don't know
explicitly that anyone actually plans to create such a plug-in, though.
"Colin Jack" <colinjack@hotmail.com> wrote in message
news:21447342.19851206276114394.JavaMail.jive@app4.labs.intellij.net...
>
>
>
Ahh ok thanks. I can imagine the amount of people prepared to write plug-ins will be quite low if the API is constantly changing under peoples feet.
Lothan wrote:
But I know ;)
Yes I will try to do a R#/NHibernate plugin after the R# 4.0 API is
stable. First thing will be rename support for mapped properties.
Regards,
Stefan Lieser
--
http://www.lieser-online.de
I think that alone would be very useful. Out of interest is it the cast that with each version of Resharper are there breaking changes in the API?
Colin Jack wrote:
I tried it with 2.x and 3.x and gave up because of too frequent api
changes and lack of documentation.
Thats a real pity, you would have thought that they would avoid breaking changes and would provide good documentation to encourage people to write plugins.
Hello,
there is Arp Another ReSharper Plugin http://scb.udsu.ru/~achmed/arp/wiki/index.php?title=Home with log4net support (alpha1 version).
I developed intial version of support NHIbenate, now there are features:
- code completion for Types, fields (attributes class@name property@name one-to-many@class ect)
- rename refactoring support for mapped types and members
- types, type members references checks
i need to implement analys features, like check reference to not mapped class, property types, codecompletion for database objects etc
You can try it
How to install
- download files from http://scb.udsu.ru/~achmed/arp/builds/nh_internal_1/
- copy all files *.dll *.pdb to \Bin\Plugins\Arp\ - Enable plugin: ReSharper> Plugins >]]> Arp
Edited by: achmed on Mar 27, 2008 2:24 PM
Arp works with ReSharper 3.1