473,387 Members | 1,621 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Html auto formating

How can I completely turn off the auto formatting of Html
in Visual Studio 7? I have tried all possible
combinations (at least I think I have) of the Tools /
Options / Text Editor / HTML XML / Formatting. This is a
big annoyance because with a rather large page it can be
very time consuming to reformat by hand, and very time
consuming to search through and work with the mangled
formatting that often happens do switching to the design
view. I do not use the design view to code, I simply use
it to see a quick display of what I have just hand
coded. I work with a team of eight .net developers and
none of them have a solution that works all of the time,
other then coding in Texpad. The only downfall to this,
for me since I don't use design view, is not having
intelli-sense. But as I get to know .net better and
better, having intelli-sense is not as big of a benefit
as auto formatting is an annoyance.
Jul 21 '05 #1
8 1480
Tools....Options...Text Editor...HTML/XML...Format

Uncheck the checkboxes you find there. This does, in fact, turn off the
automatic formatting of HTML. If it is not for you, then you may have a bad
VS .NET installation.
"Seth" <ss*****@hotmail.com> wrote in message
news:f5****************************@phx.gbl...
How can I completely turn off the auto formatting of Html
in Visual Studio 7? I have tried all possible
combinations (at least I think I have) of the Tools /
Options / Text Editor / HTML XML / Formatting. This is a
big annoyance because with a rather large page it can be
very time consuming to reformat by hand, and very time
consuming to search through and work with the mangled
formatting that often happens do switching to the design
view. I do not use the design view to code, I simply use
it to see a quick display of what I have just hand
coded. I work with a team of eight .net developers and
none of them have a solution that works all of the time,
other then coding in Texpad. The only downfall to this,
for me since I don't use design view, is not having
intelli-sense. But as I get to know .net better and
better, having intelli-sense is not as big of a benefit
as auto formatting is an annoyance.

Jul 21 '05 #2
The key words are "all of the time" and switching from
design to html view. We have eight developers each
with .net 1.0 and 1.1 all from different disks, and all
installations do the same thing. Many of the developers
have gotten used to the auto formatted style, and have no
problem with it. It seems to me that in fact the more I
change the formatting the more it is mangled when it
happens. I have disabled all options in the
option ....html/formatting menu and still experience the
effects, just less often.
-----Original Message-----
Tools....Options...Text Editor...HTML/XML...Format

Uncheck the checkboxes you find there. This does, in fact, turn off theautomatic formatting of HTML. If it is not for you, then you may have a badVS .NET installation.
"Seth" <ss*****@hotmail.com> wrote in message
news:f5****************************@phx.gbl...
How can I completely turn off the auto formatting of Html in Visual Studio 7? I have tried all possible
combinations (at least I think I have) of the Tools /
Options / Text Editor / HTML XML / Formatting. This is a big annoyance because with a rather large page it can be
very time consuming to reformat by hand, and very time
consuming to search through and work with the mangled
formatting that often happens do switching to the design
view. I do not use the design view to code, I simply use it to see a quick display of what I have just hand
coded. I work with a team of eight .net developers and
none of them have a solution that works all of the time,
other then coding in Texpad. The only downfall to this,
for me since I don't use design view, is not having
intelli-sense. But as I get to know .net better and
better, having intelli-sense is not as big of a benefit
as auto formatting is an annoyance.

.

Jul 21 '05 #3

"Seth" <ss*****@hotmail.com> wrote in message
news:fc****************************@phx.gbl...
The key words are "all of the time" and switching from
design to html view. We have eight developers each
with .net 1.0 and 1.1 all from different disks, and all
installations do the same thing. Many of the developers
have gotten used to the auto formatted style, and have no
problem with it. It seems to me that in fact the more I
change the formatting the more it is mangled when it
happens. I have disabled all options in the
option ....html/formatting menu and still experience the
effects, just less often.


I'm really not sure what you are trying to say, Seth. As I said in my
message, changing these checkboxes DOES do what the boxes indicate. If it
is not doing that for you, then you may have a bad installation.

-----Original Message-----
Tools....Options...Text Editor...HTML/XML...Format

Uncheck the checkboxes you find there. This does, in

fact, turn off the
automatic formatting of HTML. If it is not for you, then

you may have a bad
VS .NET installation.
"Seth" <ss*****@hotmail.com> wrote in message
news:f5****************************@phx.gbl...
How can I completely turn off the auto formatting of Html in Visual Studio 7? I have tried all possible
combinations (at least I think I have) of the Tools /
Options / Text Editor / HTML XML / Formatting. This is a big annoyance because with a rather large page it can be
very time consuming to reformat by hand, and very time
consuming to search through and work with the mangled
formatting that often happens do switching to the design
view. I do not use the design view to code, I simply use it to see a quick display of what I have just hand
coded. I work with a team of eight .net developers and
none of them have a solution that works all of the time,
other then coding in Texpad. The only downfall to this,
for me since I don't use design view, is not having
intelli-sense. But as I get to know .net better and
better, having intelli-sense is not as big of a benefit
as auto formatting is an annoyance.

.

Jul 21 '05 #4
Hello,

Thanks for your post. As I understand, you turned off all the HTML auto
formatting settings, however, the format of HTML file will also be changed
when switching between Design and HTML view. Please correct me if there is
any misunderstanding. I think more information is needed before moving
forward:

Could you please tell me the detailed sympton of the problem? Is it
possible to post a sample HTML file and the detailed steps to reproduce the
problem?

I look forward to hearing from you.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5
Hello,

I did some more research and found that HTML reformatting is a group of
known bugs. The reformatting occurs when you switch between Designer View
and HTML View of your page.

I'm sorry that these bugs are causing difficulty. I did some investigation
and found that the development team did seriously consider these bugs while
writing Visual Studio .NET 1.1. The first thought was to add an option to
turn off the reformatting feature. Unfortunately, it turned out to be
deeply integrated in the code that makes the editor useful. So, it could
not be turned off. Nor could it easily be fixed. Any changes made to this
area of the code would definitely impact many aspects of the editor.

If they could go back in time and rethink that decision, things might be
otherwise. However, at the time, the development team looked at all the
information they had available and decided that trying to fix this for the
1.1 release would cause more harm than good.

Please try the following partial workarounds. You might find that they
reduce the frequency of these problems.

1) Undo
Each time you return to HTML view, immediately run Undo. The formatting
changes mostly take place when you switch from design view to HTML view and
these changes are mostly in a single undo entry. Calling undo then reverses
many of the changes.

2) Save
Saving the ASPX page just prior to switching to design view reduces the
amount of reformatting the next time you switch back to HTML view.

---
I know this is not a solution, but I hope you find that it helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #6
Hello,

I did some more research and found that HTML reformatting is a group of
known bugs. The reformatting occurs when you switch between Designer View
and HTML View of your page.

I'm sorry that these bugs are causing difficulty. I did some investigation
and found that the development team did seriously consider these bugs while
writing Visual Studio .NET 1.1. The first thought was to add an option to
turn off the reformatting feature. Unfortunately, it turned out to be
deeply integrated in the code that makes the editor useful. So, it could
not be turned off. Nor could it easily be fixed. Any changes made to this
area of the code would definitely impact many aspects of the editor.

If they could go back in time and rethink that decision, things might be
otherwise. However, at the time, the development team looked at all the
information they had available and decided that trying to fix this for the
1.1 release would cause more harm than good.

Please try the following partial workarounds. You might find that they
reduce the frequency of these problems.

1) Undo
Each time you return to HTML view, immediately run Undo. The formatting
changes mostly take place when you switch from design view to HTML view and
these changes are mostly in a single undo entry. Calling undo then reverses
many of the changes.

2) Save
Saving the ASPX page just prior to switching to design view reduces the
amount of reformatting the next time you switch back to HTML view.

---
I know this is not a solution, but I hope you find that it helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #7
Thank you for your reply. These methods do help, but
most of all I am satisfied with the fact that this bug is
known by the Microsoft team.
-----Original Message-----
Hello,

I did some more research and found that HTML reformatting is a group ofknown bugs. The reformatting occurs when you switch between Designer Viewand HTML View of your page.

I'm sorry that these bugs are causing difficulty. I did some investigationand found that the development team did seriously consider these bugs whilewriting Visual Studio .NET 1.1. The first thought was to add an option toturn off the reformatting feature. Unfortunately, it turned out to bedeeply integrated in the code that makes the editor useful. So, it couldnot be turned off. Nor could it easily be fixed. Any changes made to thisarea of the code would definitely impact many aspects of the editor.
If they could go back in time and rethink that decision, things might beotherwise. However, at the time, the development team looked at all theinformation they had available and decided that trying to fix this for the1.1 release would cause more harm than good.

Please try the following partial workarounds. You might find that theyreduce the frequency of these problems.

1) Undo
Each time you return to HTML view, immediately run Undo. The formattingchanges mostly take place when you switch from design view to HTML view andthese changes are mostly in a single undo entry. Calling undo then reversesmany of the changes.

2) Save
Saving the ASPX page just prior to switching to design view reduces theamount of reformatting the next time you switch back to HTML view.
---
I know this is not a solution, but I hope you find that it helps.
Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #8
Thank you for your reply. These methods do help, but
most of all I am satisfied with the fact that this bug is
known by the Microsoft team.
-----Original Message-----
Hello,

I did some more research and found that HTML reformatting is a group ofknown bugs. The reformatting occurs when you switch between Designer Viewand HTML View of your page.

I'm sorry that these bugs are causing difficulty. I did some investigationand found that the development team did seriously consider these bugs whilewriting Visual Studio .NET 1.1. The first thought was to add an option toturn off the reformatting feature. Unfortunately, it turned out to bedeeply integrated in the code that makes the editor useful. So, it couldnot be turned off. Nor could it easily be fixed. Any changes made to thisarea of the code would definitely impact many aspects of the editor.
If they could go back in time and rethink that decision, things might beotherwise. However, at the time, the development team looked at all theinformation they had available and decided that trying to fix this for the1.1 release would cause more harm than good.

Please try the following partial workarounds. You might find that theyreduce the frequency of these problems.

1) Undo
Each time you return to HTML view, immediately run Undo. The formattingchanges mostly take place when you switch from design view to HTML view andthese changes are mostly in a single undo entry. Calling undo then reversesmany of the changes.

2) Save
Saving the ASPX page just prior to switching to design view reduces theamount of reformatting the next time you switch back to HTML view.
---
I know this is not a solution, but I hope you find that it helps.
Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
.

Jul 21 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
2
by: hb | last post by:
Hi, The auto-formatting of HTML code in Visual Studio.Net 2003 is very annoying! I already unchecked the 2 checkboxes in "Apply Automatic Formatting" section located at: Tools-->Options-->Text...
3
by: Anders K. Jacobsen [DK] | last post by:
I simple can't get visual studio 2003 to stop messing with my HTML code. I have unchecked all formating options under Tools / Options / Text editor / HTML/XML / Format I have even tried to...
8
by: Seth | last post by:
How can I completely turn off the auto formatting of Html in Visual Studio 7? I have tried all possible combinations (at least I think I have) of the Tools / Options / Text Editor / HTML XML /...
6
by: Ashok | last post by:
Hi, I am starting a new project to build a software product using APS.NET 2.0. In past I have used "frameset" and "frame" to build pages. My current requirements I have coded using frameset and...
0
by: WebBuilder451 | last post by:
I still get some auto setting of cell widths in tables (and other items) with vs 2005. Is there a setting that needs to be set to turn it off completely? -- thanks (as always) some day i''m...
6
by: McKirahan | last post by:
I an using ASP to read a database table and generate an HTML table which is save via FSO with a file extension of .xls which opens up in MS-Excel. I am inserting several lines of text into a cell...
1
by: since | last post by:
I figured I would post my solution to the following. Resizable column tables. Search and replace values in a table. (IE only) Scrollable tables. Sortable tables. It is based on a lot...
4
by: SirCodesALot | last post by:
hi all, I am trying to copy the contents of a div to the clip board the same way that Microsoft copies it when you select the contents with the mouse and select copy. However, something is not...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.