Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2005, 10:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default IDE Setting

How do I turn off the automatic wrapping of my code in the VB.NET IDE?

Every time I switch from HTML view to Design view and back again the IDE wraps my code and at certain places takes away my blocks (inserts breaks and takes some away) and its really getting on my nerves...

e.g.,
before:[list]
    <li>
        My List
    </li>
</ul>

after:[list]
<li>My List
</li></ul>

???


-------------------------
Beware of programmers with screwdrivers...
__________________
-------------------------
Beware of programmers with screwdrivers...
 
Old July 8th, 2005, 12:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default

Nobody knows eh?

well now I noticed the IDE is also not placing quotes around attributes...

e.g.,
<asp:ListBox id=ListBox1 Width=100 runat="server"></asp:ListBox>




-------------------------
Beware of programmers with screwdrivers...
 
Old July 8th, 2005, 08:40 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can tell the IDE to always put attributes in the markup. There is also a setting for applying line breaks. These are settings under language preferences for HTML/XML:

Tools -> Options -> Text Editor -> HTML/XML -> Format



-Peter
 
Old July 11th, 2005, 11:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default

ty Peter!


-------------------------
Beware of programmers with screwdrivers...
 
Old July 13th, 2005, 08:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 100
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ~Bean~
Default

...I went through all the settings for each category

Tools -> Options -> Text Editor -> HTML/XML -> Format
Tools -> Options -> Text Editor -> All languages
Tools -> Options -> Text Editor -> Basic
Tools -> Options -> Text Editor -> Plain text
etc.
and turned offf "Word wrap" and "Tabs" and line breaks...and turned on attribute quotes...

and I think its has fixed this from happening, but I noticed if the HTML or ASP controls are inside a Panel it still reformats them...



-------------------------
Beware of programmers with screwdrivers...





Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual C++ IDE requiemxx Visual C++ 1 March 29th, 2007 05:12 AM
Java IDE The Beginner Java Basics 3 March 8th, 2007 07:47 PM
Borland c++ IDE The Beginner C++ Programming 7 March 3rd, 2007 06:41 AM
C++ IDE acuratk C++ Programming 3 December 4th, 2004 03:16 AM
best JAVA IDE to use pilmart Java GUI 3 June 6th, 2004 12:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.