change function visibility on virtual methods and their implementations

Change signature or yellow light bulb.

I really like how you can click on a yellow light bulb next to a method and
change it from public to internal/private/protected. However, if this is a
virtual method on a base class it does not walk through its derivations
making the same changes. I also notice the change function singnature
doesn't allow changing the visibility. Does this tool support this scenario,
if so how?

Best Regards!


3 comments
Comment actions Permalink

jw,

I am afraid there is no easy way in ReSharper for that yet.
I have created a feature request for this: http://www.jetbrains.net/jira/browse/RSRP-37364

Friendly,
Dmitry

Change signature or yellow light bulb.

I really like how you can click on a yellow light bulb next to a
method and change it from public to internal/private/protected.
However, if this is a virtual method on a base class it does not walk
through its derivations making the same changes. I also notice the
change function singnature doesn't allow changing the visibility. Does
this tool support this scenario, if so how?

Best Regards!

--
Dmitry Lomov
Technical Lead/Software Architect
JetBrains, Inc.
"Develop With Pleasure!"


0
Comment actions Permalink

Has already been requested long ago: RSRP-29228, RSRP-29149.


Dmitry Lomov (JetBrains) schreef:

jw,

I am afraid there is no easy way in ReSharper for that yet.
I have created a feature request for this:
http://www.jetbrains.net/jira/browse/RSRP-37364

Friendly,
Dmitry

>> Change signature or yellow light bulb.
>>
>> I really like how you can click on a yellow light bulb next to a
>> method and change it from public to internal/private/protected.
>> However, if this is a virtual method on a base class it does not walk
>> through its derivations making the same changes. I also notice the
>> change function singnature doesn't allow changing the visibility. Does
>> this tool support this scenario, if so how?
>>
>> Best Regards!
>>

--
Dmitry Lomov
Technical Lead/Software Architect
JetBrains, Inc.
"Develop With Pleasure!"

0
Comment actions Permalink

I am afraid there is no easy way in ReSharper for that yet. I have
created a feature request for this:
http://www.jetbrains.net/jira/browse/RSRP-37364


That would be a really good feature.... +1 :)


0

Please sign in to leave a comment.