Lightbulb action to convert an auto property to one that uses field #76899
Labels
Area-IDE
Feature Request
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Summary
Given an auto-property:
I'd like a lightbulb action to convert it to one that uses field:
Background and Motivation
You want to add some custom logic to a property getter or setter, such as to validate state or synthesize the return value.
Today we can use Convert to full property which produces a field on the class:
We can clean that up, but it's extra work. The field and property can be on different pages of the file and require scrolling, which can break context. It'd be nice to have a way to bypass this intermediate step and stay focused.
The text was updated successfully, but these errors were encountered: