Code action: switch to record syntax #4391
Labels
component: hls-explicit-record-fields-plugin
Issues related to the hls-explicit-record-fields-plugin
type: enhancement
New feature or request
Is your enhancement request related to a problem? Please describe.
My codebase is full of pieces of record that are constructed using "function" syntax. Something such as:
Describe the solution you'd like
I would like a code action available on
Foo
inboz
which expand the syntax to record field syntax. Said otherwise, after usage, I would like:to become:
Describe alternatives you've considered
Additional context
This can also be extended to other cases where record are used in "function" form, example for pattern matching:
Could be turned to:
If you are interested and if the initial design is ok, I can give a try to the implementation.
The text was updated successfully, but these errors were encountered: