Question

I decided to give CodeRush/Refactor a go (after a rial of Resharper) and one problem I have is that CodeRush/Refactor puts a lot of 'artifacts' in my code window.

By 'artifacts', I mean icons/glyphs next to every Method, Property and Field name, green 'return key style' icons next to every property getter and boxes around getter methods.

Is there a way to make this contextual rather than visible all the time - perhaps only appear when I hover over a line?

Is there a clean up/rearrange the usings feature?

Was it helpful?

Solution

Refactor! Pro will optimize your using directives. It can remove the ones you don't need, and sort them, either alphabetically or by length (aesthetically).

Note that if you have a using directive only present because there is a <see cref="XYZ"/> reference to something in that namespace, Refactor! Pro will not realize that part, and remove it if you ask it to optimize the directives.

As for the rest, no, there is apparently no way to make the information you mention only appear on hover.

Here's a tip for Refactor! Pro. Right-click your toolbar and select Customize, then click on the Keyboard button in the lower left of that dialog.

In the next dialog, search for the function CodeRush.Refactor, and bind it to Ctrl+Shift+R, I find this to be very helpful to get quick refactoring functions available. To optimize your using directives afterwards, simply place the cursor inside them and hit Ctrl+Shift+R to get the refactor popup.

OTHER TIPS

Not that I know of. I'd suggest asking on support.devexpress.com. I find them very responsive.

CodeRush has (in version 9.1 and higher) a toolbar (DXCore Visualise) which allows you to toggle various graphical overlays that it provides.

See half way down this blog post for details http://rorybecker.blogspot.com/2009/03/coderush-and-refactor-910-beta.html

Update: Since Joining DevExpress, I have blogged the DXCore Visualize Toolbar in more detail

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top