vshaxe icon indicating copy to clipboard operation
vshaxe copied to clipboard

Code action to convert local vars to class fields

Open T1mL3arn opened this issue 2 years ago • 2 comments

Now there is only "add type hint".

image

T1mL3arn avatar Dec 23 '23 07:12 T1mL3arn

Currently you can remove var, save, and there will be add missing field action.

RblSb avatar Dec 23 '23 12:12 RblSb

Currently you can remove var, save, and there will be add missing field action.

This doesn't work with this case though

foobar:FlxPoint = new FlxPoint();

T1mL3arn avatar Dec 23 '23 14:12 T1mL3arn