473,407 Members | 2,629 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,407 software developers and data experts.

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 1188
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at...
1
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will...
1
by: Craig Skrabacz | last post by:
I originally had VB.Net standard installed on my computer. I have subsequently installed Visual Studio .Net 2002 on my computer. I have not uninstalled VB.Net. When I look in my Add/Remove...
5
by: gj | last post by:
I'm working on a build environment for .NET application where the developers are using visual studio and VSS. In order to pull only the changed modules (and any required dependencies) I want to...
1
by: xman | last post by:
very hard is fix exactly group for this question.. but I am sure that some of people here have some experience with these compilers: Visual Studio NET Enterprise Architect 2002 and Visual Studio...
17
by: Andi Plotsky | last post by:
I am not a .NET developer. I want the Developer's Edition of Visual Studio for use with my Access2000 databases. Does anyone have a clue as to where to find it - my office manager says only .NET...
65
by: xuanbai98 | last post by:
I want to know the current support status of c99 on Microsoft Visual Studio. Anyone know whether Microsoft has any plan to support c99 on Visual Studio? Thanks, Xuan
4
by: Andy | last post by:
In visual studio, I have an asp.net project. When I debug, I have to manually attach to aspnet_wp.exe. My project used to automatically attach to this process. How do I get it to automatically...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
1
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in...
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.