codemaid
codemaid copied to clipboard
Add support for new C# 9.0 record keyword
Environment
- Visual Studio version: [example 2015 Community]
- CodeMaid version: [example 10.2]
- Code language: [example C#]
Description
Does not work with C# 9.0 "record"
Steps to recreate
Create "record" e.g. "public record { public string Value { get;init;} public string Name { get; init; } Execute "Reorganize Document", does not modify
Current behavior
I would expect it does not understand the new "record" type
Expected behavior
Organize "record" type according to the same rules as "class"
Thanks for reporting the issue. You are right we do not currently have support for the new record keyword.
It shows that this was removed from the v12.0 milestone. Do you have any idea when this might be added to the roadmap?
Unfortunately, no I do not have an estimate of when it may be picked up. Most new functionality these days is community driven, so it depends on when/if an individual steps up to tackle it.