Extract Interface

I'm using 3.0 with VB.NET. How do I extract an interface from a class? I have tried putting the caret on the class name and ctrl-shift-r...no Extract Interface option. Right-click->Refactor, and "Extract Interface" is disabled. Help?

4 comments
Comment actions Permalink

Hello mike,

Unfortunately, Extract Interface is one of refactorings not available in
VB.NET
See http://www.jetbrains.com/resharper/features/code_refactoring.html

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


mg> I'm using 3.0 with VB.NET. How do I extract an interface from a
mg> class? I have tried putting the caret on the class name and
mg> ctrl-shift-r...no Extract Interface option. Right-click->Refactor,
mg> and "Extract Interface" is disabled. Help?
mg>


0
Comment actions Permalink

Ok, then can I request it to be added for VB.NET? This would be very useful...

0
Comment actions Permalink

Hello mike,

Sooner or later we will implement it for VB.NET, for sure.

Actually, for next version we already have basic (in both meanings - foundation
and Visual Basic) implementation for method to property conversions and the
other way round; also for moving members up and down the hierarchy. I think
we will have full set of refactorings for VB.NET in the next ReSharper release.
They will not be backported to 3.0 branch, though.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


mg> Ok, then can I request it to be added for VB.NET? This would be very
mg> useful...
mg>


0
Comment actions Permalink

I'm using Resharper (C#) 2016.3.2 and I can't find the extract interface either

0

Please sign in to leave a comment.