Monday, 25 April 2011

Visual Studio and SA1027 - getting rid of tab characters

Some 20 years ago when disk space was say� �1 per mega-byte, there some virtue in using tab characters in your code, but now with current prices the cost saving of using tab characters is even more insignificant than it was.

So how do we get rid of tab characters.

First turn off tab characters in your options and use spaces instead.

A quick way to get rid of tab characters is select all of the text, do a control-X and a control-V.

Another way in Visual Studio� is to select the affect text and then Edit-->Advanced-->Untabify Selected lines

Either way no more SA1027!

Source: http://feedproxy.google.com/%7Er/geekswithblogs/%7E3/zC4HrhmmDMM/visual-studio-and--sa1027---getting-rid-of-tab.aspx

nerf news kanye west news slashdot science current events

No comments:

Post a Comment