CK's Tech Blog
It's Microsoft's World, and I'm just living in it

Clean up ugly code

January 2, 2008 16:20 by ckincincy

So here I sit at work fighting with some open source solution we use to track issues.  The only problem??? The code is ugly.

Makes it nearly impossible to read... so I started looking for a code prettier, as I had used one in the past at a previous employer.   But it was for C++ code, not C#.  However couldn't even find that one in my brief search.  However found a neat little trick in Visual Studio 2005.  

Ctrl+X then Ctrl+V

Does most of the work for me on the paste!

So now at least the code is somewhat readable. 


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading