Take the code below which I took from my main form. RS3.1 highlights 100's of redundant casts etc which is fine and I've cleaned those up. What I did notice is that RS does not offer a refactor/reformat of the code. The code is actually broken up over three lines.
*REQPPicturePanel.Anchor = ((AnchorStyles.Top | AnchorStyles.Bottom)
That is, it would be nice if I could tell it remove the unecessary brackets which the .Net IDE produced when I changed the control anchor. Further, can you tell RS to join the line breaks to produce this instead?
REQPPicturePanel.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
Admittedly, this is just my personal coding style but I'd like to know if it's possible to do this?
Message was edited by: