Change signature / adding another generic type parameter?

[5.1]
Is it possible to change a signature for a generic class to add another generic parameter with default value

E.g. having below code:
class Foo<T> { }
class FooDerived : Foo<T>

I want change Foo<T>'s signature and update usages with a default value, e.g. "Add generic type parameter T2 with default value of int":
class Foo<T, T2> {}
class FooDerived : Foo<T, int>

Is this possible today somehow? If not is it possible in RS 6?
Thanks.

2 comments

Hello,

Such refactoring is not available yet and as far as I know it is not planned
for R# 6. You're welcome to file a feature request through http://youtrack.jetbrains.net/issues/RSRP.
Thank you!

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


Is it possible to change a signature for a generic class to add
another generic parameter with default value
E.g. having below code:
class Foo<T> { }
class FooDerived : Foo<T>
I want change Foo<T>'s signature and update usages with a default
value, e.g. "Add generic type parameter T2 with default value of int":

class Foo<T, T2> {}

class FooDerived : Foo<T, int>

Is this possible today somehow? If not is it possible in RS 6? Thanks.

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



0

Please sign in to leave a comment.