RobustToolbox icon indicating copy to clipboard operation
RobustToolbox copied to clipboard

Add analyzer and fixer for redundant DataField tag arguments

Open Tayrtahn opened this issue 1 year ago • 1 comments

Adds an analyzer to provide an editor hint when a DataField attribute specifies a name that matches what the automatically generated name would be. Also adds a code fixer to automate the removal of these issues.

This is the first time I've messed with code analyzers/fixers, so please do review harshly if I did anything wrong, so I can get better at it.

Screenshot 2024-05-13 at 7 51 27 PM Screenshot 2024-05-13 at 7 51 38 PM Screenshot 2024-05-13 at 7 51 48 PM

That Fix All option looks pretty tempting...

Tayrtahn avatar May 13 '24 23:05 Tayrtahn

zased

mirrorcult avatar May 14 '24 00:05 mirrorcult