how do I move a public variable?

as you can see the move command is grayed out

0
3 comments

Hi, Laurent.
Could you please share a full code construction you want to move?
Also, you can get more information about the “Move” action on https://www.jetbrains.com/help/phpstorm/move-refactorings, https://www.jetbrains.com/help/rider/Refactorings__Move__Type_to_Another_Type.html

 Best regard,
 Maxim Isaev.

0

Hmm, I have this same problem, I'm sure I've done this before. 

I have a public variable - 

[Range(0, 1)] public float upright;

I'd like to refactor that and move upright to another Class. Is there a way to do that, I'm getting the greyed out "Move" option also.

Thanks!

Pete

 

0

Action Move to another type works only for nested types and static members

https://www.jetbrains.com/help/rider/Refactorings__Move__Type_to_Another_Type.html

0

Please sign in to leave a comment.