R# doesn't suggest method declaration update when method caller has an extra parameter

Using R# 5.1.1. I have a method with no input parameters. In my method caller I add a new parameter to be passed to the method. R# suggests creating a new method stub. I would like R# to be able to modify the existing method and add the parameter for me.Does R# support this?

4 comments
Comment actions Permalink

I noticed this too and would need this function too so +1 =)


0
Comment actions Permalink

What I have noticed so far is that if the method already has parameters, it suggests adding the new one but I don't see this suggestion showing up if the method has no parameters. ??

0
Comment actions Permalink

It seems to be working sometimes. Maybe there are conditions when this doesn't work properly.

0
Comment actions Permalink

Hello abdu,

ReSharper should suggest to create an overload or to add a new parameter
to the method being called. Could you please attach a particular example
(solution) where ReSharper doesn't suggest to add a parameter? Thank you!

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

Using R# 5.1.1. I have a method with no input parameters. In my method
caller I add a new parameter to be passed to the method. R# suggests
creating a new method stub. I would like R# to be able to modify the
existing method and add the parameter for me.Does R# support this?

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



0

Please sign in to leave a comment.