Can I access the Resharper Object Model via MEF?

Hi,

I was wondering if Resharper makes any interfaces available to Visual Studio extensions via MEF. I want to write a VS extension that will access additional information from the Resharper Model if it is available but function perfectly well without having Resharper installed.

One simple example of this would be an text adornment extension that rendered .net code comments inline with the code. If Resharper is installed and active, the extension would be able to provide different (more intelligent) behaviours when clicking on or hovering over items (e.g. clicking on a class could invoke R# Navigate To menu)

1 comment
Comment actions Permalink

Hello Chris,

ReSharper doesn't provide any interfaces via MEF at the moment. You can write
a plug-in for ReSharper that would provide necessary information to your
extension via some interface. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi,

I was wondering if Resharper makes any interfaces available to Visual
Studio extensions via MEF. I want to write a VS extension that will
access additional information from the Resharper Model if it is
available but function perfectly well without having Resharper
installed.

One simple example of this would be an text adornment extension that
rendered .net code comments inline with the code. If Resharper is
installed and active, the extension would be able to provide different
(more intelligent) behaviours when clicking on or hovering over items
(e.g. clicking on a class could invoke R# Navigate To menu)

---
Original message URL:
http://devnet.jetbrains.net/message/5275790#5275790



0

Please sign in to leave a comment.