Every time I’m working on ASP.NET WebForms and open .ASPX file I found an ugly Horizontal scroll bar, and the worst case when you’re searching for attribute for big control like GridView and you want to change it, it’s like a hell, I hate doing this and sadly as developer I’m doing it frequently.
After investigations and googling, I found the solution is to have all the text in front of me and let Visual Studio to wrap it for me. You can do this In Visual Studio 2012 go to Tools –> Options –> Text Editor –> All Languages –> Check Word wrap.
After choosing this option Visual Studio 2012 will word warp the lines according to your screen but (yes but) Microsoft missing a feature which is respect the line Indentation. If you choose this option line after wrap will start from the left.
To solve this there is a small extension you can us called WordWrapIndentation download it and it’ll be activated once you activate Word wrap option.
That’s all folks.