suggest setting to keep or remove extra using text

May 6, 2010 at 1:28 PM

SharpSort Developers --

I suggest that SharpSort would benefit from having a switch of some kind, to allow the enduser a way to specify whether or not to remove "unused using statements" at the top of a file.

Here is an example that shows why I think such a switch would be a good idea.

For example, I always like to have "using System.Diagnostics;" at the top of every code file.

I may not have written "Debug.WriteLine" in the file yet; but, it is almost certain that I will at some point.

As such, I do not want that using statement to be removed by SharpSort.

(There are other good reasons and examples to allow such new flexibility.)

This is just a suggestion.

HTH.

Thank you.

-- Mark Kamoski

Coordinator
May 26, 2010 at 11:47 AM

You are absolutely right Mark. I didn't thought of that. Well, we could add additional html attribute on layout that would tell if you want to sort using statements. Would you be interested in giving me help with further development, because i'm a little bussy right now. But will make time soon.