codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Add support for new C# 9.0 record keyword

Open khooversoft opened this issue 4 years ago • 1 comments

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"

khooversoft avatar Jan 01 '21 06:01 khooversoft

Thanks for reporting the issue. You are right we do not currently have support for the new record keyword.

codecadwallader avatar Jan 06 '21 14:01 codecadwallader

It shows that this was removed from the v12.0 milestone. Do you have any idea when this might be added to the roadmap?

JourdanClark avatar Oct 30 '22 08:10 JourdanClark

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.

codecadwallader avatar Nov 10 '22 13:11 codecadwallader