Can i order my class filed by type in resharper during code cleanup?

there 're custom type member layout settings in option window of r#, and i can order fields by name, or by Kind(constant, static ...)
i wonder if i can order fields by their type? this can make code nice looking like this:

class Employee
{
public int AbsenceCount{get;set;}
public int Age{get;set}
public string Department{get;set;}
public string Name{get;set}
}

1 comment
Comment actions Permalink

Hello Kevin,

Ordering by type is not supported yet. You're welcome to put a feature request
through our issue tracker: http://youtrack.jetbrains.net/issues/RSRP. Thank
you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

there 're custom type member layout settings in option window of r#,
and i can order fields by name, or by Kind(constant, static ...)

i wonder if i can order fields by their type? this can make code nice
looking like this:

class Employee
{
public int AbsenceCount{get;set;}
public int Age{get;set}
public string Department{get;set;}
public string Name{get;set}
}
---
Original message URL:
http://devnet.jetbrains.net/message/5272379#5272379



0

Please sign in to leave a comment.