Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 22nd, 2005, 10:43 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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...
  #2 (permalink)  
Old July 8th, 2005, 12:55 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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...
  #3 (permalink)  
Old July 8th, 2005, 08:40 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
  #4 (permalink)  
Old July 11th, 2005, 11:26 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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...
  #5 (permalink)  
Old July 13th, 2005, 08:18 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
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...
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 4 June 6th, 2004 12:05 AM



All times are GMT -4. The time now is 04:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.