Wednesday, October 29, 2008
Stop Visual Studio Markup/Code Wrap
Posted by Bryan Rite in Technology, Tutorial
1 Comment
Wow! We’ve recently moved to Visual Studio 2008 at work and I’ve been moving one of our larger products to resource files and multi-language support. In doing so, you have to look at the Design view (or Split View) in the IDE to be able to generate a local resource file.
Every time I go to Design View and generate the file, all my beautifully formatted markup is destroyed by Visual Studio. This has happened ever since I started using Visual Studios and I succumbed to the inevitability of formatting failure…
Until today…
Fed up with the formatting, after fruitless online searching, I found the answer myself very quickly and I’ve been kicking myself since.
- Head to the top menu and select
Tools - Choose
Options - Expand
Text Editor - Expand
HTML - Choose
Format - Uncheck
Wrap tags when exceeding ...
Easy! You might want to stay in that screen and fix any capitalization or auto insert close tag issues you may have.
YEAH!! This was driving me CRAZY! I’d always have to go back and fix everything.
Thanks.