Attribute code formatting problem
I have my configuration set to group attributes into the same combination. When formatting a class the following
[DeploymentItem("MyAssembly.dll")]
public void MyMethodTest()
gets formatted as
[DeploymentItem("MyAssembly.dll"), TestMethod]
public void MyMethodTest()
rather than
[DeploymentItem("MyAssembly.dll"), TestMethod]
public void MyMethodTest()
A second reformat gets rid of the blank line.
It would be nice if there were formatting options to have attributes on their own line and another option for indenting them. I prefer my attributes to be the following:
[
DeploymentItem("MyAssembly.dll"),
TestMethod
]
public void MyMethodTest()
Cheers
Please sign in to leave a comment.