Current filter:
                                You should refresh the page.
                                  • Hi,

                                    If you have several blank lines in your code (see below example) to remove the blank links I have to push the "Coderush Cleanup" button several times - I have the option "Remove Existing Line Breaks" turned ON in the organize members section. Which removes ONE line from each bit on each press of the button, so to remove the blank lines in the below example - I have to push the button 3 times. This is even the case when they are several blank lines between methods etc.

                                    public bool isFaceUp = false;
                                    public bool isSnapAnimating = false;

                                    public Rank rank;
                                    public bool snap = true;

                                    public float snapSpeed = 25f;


                                    Another problem is the blank lines within the below Method -  these are NOT removed and stay as they are. :(

                                    The remove line breaks only seems to work BETWEEN methods etc, but not within - again multiple clicks to remove several blank lines between methods. I think it would be good the blanks after/before the { }  were removed and multiple blanks in the code are removed (all optional of course)

                                    public Card(Rank rank, Suit suit, Texture2D cardBack, SpriteBatch spriteBatch)

                                    this.spriteBatch = spriteBatch;
                                    this.rank = rank;

                                    this.suit = suit;
                                    this.cardBack = cardBack;


                                • Alex B.G. (DevExpress) 07.05.2016

                                  Hi Alan,

                                  I have reproduced this issue. We will do our best to fix it as soon as possible. Once we find an appropriate solution, we will update this thread. Please watch for our updates.

                                • Alex B.G. (DevExpress) 07.05.2016


                                  We have analyzed the second part of the issue with unnecessary line breaks in the method body and concluded that the solution requires custom formatting. At the moment, CodeRush for Roslyn doesn't provide such a functionality. I have created a separate ticket on your behalf to process your request in the most efficient way:
                                  Code Cleanup can't clean unnecessary line breaks in the method body

                                  We have added this task in our backlog, but I can't tell you the exact time when it will be implemented.

                                • Alan Middleton999 07.05.2016

                                  Hi Alex,

                                  Many thanks - I know it' all still WIP, but not sure if it's something not yet implements or a bug, hopefully the first issue will be sorted and the "custom formatting" will be added at a later date.

                                • Alex B.G. (DevExpress) 07.05.2016

                                  You are welcome, Alan. We are working on the first issue and will fix it as soon as possible. But, the second issue is more complex, and we need to perform additional research to address it.

                                1 Solution

                                Creation Date Importance Sort by


                                • Alan Middleton999 07.13.2016

                                  Excellent news - glad it's been fixed. Great work! No need for hot fix - as it's a "preview" I'm happy to wait until next update.

                                • Alex B.G. (DevExpress) 07.13.2016

                                  Thank you, Alan!