Context action for chaning type of field

Hi,

it would be great to have a context action to change the type of a field,
including the type of the property if one is defined for the field.

Example:

class A {
private lo|ng color;

public long Color {
get { return color; }
set { color = value; }
}
}

If cursor is on "long" as indicated by the vertical bar, the light bulb
should show "Change type". You enter the new type, and it is also change for
the property "Color".


Sincerely,
Stefan Lieser


1 comment
Comment actions Permalink

GOOD ONE


"Stefan Lieser" <slieser@t-online.de> wrote in message
news:dogdg0$dkk$1@is.intellij.net...

Hi,

>

it would be great to have a context action to change the type of a field,
including the type of the property if one is defined for the field.

>

Example:

>

class A {
private lo|ng color;

>

public long Color {
get { return color; }
set { color = value; }
}
}

>

If cursor is on "long" as indicated by the vertical bar, the light bulb
should show "Change type". You enter the new type, and it is also change
for the property "Color".

>
>

Sincerely,
Stefan Lieser



0

Please sign in to leave a comment.