How to stop code cleanup from adding line breaks to the attributes of method parameters?
I have controller methods with parameters that have attributes Like [FromRoute] and [FromQuery].
When I do a code cleanup, these attributes on their own lines. How to stop code cleanup from doing this?
However I still want to have the attributes for class properies on their own lines.
Please sign in to leave a comment.
Thenrich2009, sorry for the long silence. I’m not sure I understood what your code looks like before and after the code cleanup. Please take a look at the options below - they may help you solve the issue.
If the issue is still there, please attach screenshots of the code before and after the cleanup. Thank you!