consulo-csharp
consulo-csharp copied to clipboard
Missing option for formatting attributes
I could not find an option for formatting attributes and actually would like to ignore the formatting for "next line" for attributes.
This is how I have my attributes
[SerializeField] private string myString;
but formatting will default to
[SerializeField]
private string myString;
but sometimes I would like to have some attributes inline and some next line. For instance a common situation in Unity is something like
[Header("My Header")]
[ToolTip("Some tool tip")]
[SerializeField] private string myString;
So as you can tell, there is no real rules to this. So I think an option to just ignore it all together is probably the best idea.
But not to ignore spaces. So in instances where something isn't formatted properly like
[SerializeField] private string myString;
it will still become
[SerializeField] private string myString;
Sorry if I didn't explain this very well, if you want me to explain further I can.