简体   繁体   中英

HTML Formatting in Visual Studio 2008

Is it possible to turn off all HTML formatting in Visual Studio 2008? It just totally messes everything up. For example, I'll add a grid with columns, styles, etc. with them all indented and on separate lines. I'll switch to design view or split view and all the work I just did is on one line! It is so frustrating.

I've changed some things in the Options menu but is there any way to turn it off completely?

I don't use design view usually. I enter my tags and controls using source view but sometimes I will switch for a second to look at something.

There are some formatting options under Tools-->Options-->Text Editor-->HTML-->Format while there doesn't seem to be an option to turn it off, there may be something there to define how you want it to format.

To reformat the document hit ( CTRL + K , CTRL + D ) or Edit-->Advanced-->Format Document .

Don't use design view. A good asp.net developer doesn't need it. It only brings with it more headaches than benefits.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM