468,766 Members | 1,293 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,766 developers. It's quick & easy.

asp / visual studio question

In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.
Oct 28 '06 #1
6 1090
Can you provide us with an example HTML code that Visual Studio formats
weirdly?

Oct 28 '06 #2
Well, I start off with lines like so:
<.....................>
<.....................>
then, after a while, Visual Studio changes my layout
for it to be like so:
<.....................><.....................>
When you are looking for something, that is
a bit difficult, because the layout is one big glorous
mess and things are hard to find.

Adrian.
<di**@illenberger.dewrote in message
news:11**********************@e64g2000cwd.googlegr oups.com...
Can you provide us with an example HTML code that Visual Studio formats
weirdly?

Oct 28 '06 #3
Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.


Oct 29 '06 #4
Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.


Oct 29 '06 #5
In 1.1. it is a known problem with no solution. VS mangles your html when
you switch to the Design View and back. Try to minimize using the Design
View. When you do use it, always switch back to the Html View and press
ctrlZ (Undo) twice. It should restore your formatting.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
>Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali .nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.




Oct 29 '06 #6
Thank you,

Adrian
--
"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:OE****************@TK2MSFTNGP02.phx.gbl...
In 1.1. it is a known problem with no solution. VS mangles your html when
you switch to the Design View and back. Try to minimize using the Design
View. When you do use it, always switch back to the Html View and press
ctrlZ (Undo) twice. It should restore your formatting.

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscali. nl...
>Is that VS2003 dotnet 1.1
Adrian

"Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote in
message news:%2******************@TK2MSFTNGP03.phx.gbl...
>>Is that VS2003 dotnet 1.1 or VS2005 dotnet 2.0?

--
Eliyahu Goldin,
Software Developer & Consultant
Microsoft MVP [ASP.NET]
"Adrian" <no*@all.accessiblewrote in message
news:45********************@dreader2.news.tiscal i.nl...
In visual studio when I lay-out my html code,
Visual studio decides otherwise, and puts all
the lines behind each other. This makes it
difficult to find things you are looking for in
the code. I know I can use <! comment>,
which will bring a line upto the l.h. margin,
but that isn't an option for all the code lines.
Is there a way to do this?

Many thanks,
Adrian.




Oct 31 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Craig Skrabacz | last post: by
65 posts views Thread by xuanbai98 | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.