November 2, 2012
<br />
<br />
<strong>Location</strong>
<br />
<br />
Please note: The tutorial/Q&A/help
session will be held in room J-103 not 102. That's Wednesday, November 7th, at 6:30 PM, in room J-103. Most of my classes are held in 102 so I didn't want any confusion over the location.
<br />
<br />
October 31, 2012
<br />
<br />
>End of Example<
When selecting the "Format the whole document" icon (Ctrl+K, Ctrl+D) in Visual Studio 2010, the lines would all be moved to the leftmost column, blank lines would be removed, and if a line of text was less than 80 character but continued on the next line
(such as the line in the example that begins with, "Please note") the format would bring the lines together then wrap at 80 characters.
Notice in the example there are blank lines before "November 2, 2012 and October 31, 2012.
Also note that there are four extra spaces at the beginning of three of the lines in the example.
In 2010 those blank lines and extra spaces would be removed.
DavidTaylor
Member
37 Points
26 Posts
Format the whole document is not working in 2012
Oct 25, 2012 09:31 PM|LINK
The "Format the whole document" feature is not working in Visual Studio 2012 Ultimate. Can anyone tell me how to fix that?
Thank you in advance.
David
Ruchira
All-Star
43018 Points
7031 Posts
MVP
Re: Format the whole document is not working in 2012
Oct 26, 2012 07:38 AM|LINK
Hello,
Make sure you don't have any errors in your source code.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.DavidTaylor
Member
37 Points
26 Posts
Re: Format the whole document is not working in 2012
Oct 26, 2012 02:24 PM|LINK
Good suggestion Ruchira and thank you for the quick response. The problem was actually a setting in VS2012.
TOOLS > Options > Text Editor > HTML > Formatting > Text wrapping > Check the box next to Wrap tags when exceeding specific length.
Angie xu - M...
All-Star
18637 Points
1583 Posts
Microsoft
Re: Format the whole document is not working in 2012
Nov 02, 2012 09:25 AM|LINK
It's confused if your source codes is ok, you could give more information about this, or it hardly troubleshot.
Feedback to us
Develop and promote your apps in Windows Store
Angie xu - M...
All-Star
18637 Points
1583 Posts
Microsoft
Re: Format the whole document is not working in 2012
Nov 02, 2012 09:25 AM|LINK
It's confused if your source codes is ok, you could give more information about this, or it hardly troubleshot.
Feedback to us
Develop and promote your apps in Windows Store
DavidTaylor
Member
37 Points
26 Posts
Re: Format the whole document is not working in 2012
Nov 02, 2012 02:48 PM|LINK
Here's an example from Visual Studio 2012:
--%>
November 2, 2012
<br />
<br />
<strong>Location</strong>
<br />
<br />
Please note: The tutorial/Q&A/help
session will be held in room J-103 not 102. That's Wednesday, November 7th, at 6:30 PM, in room J-103. Most of my classes are held in 102 so I didn't want any confusion over the location.
<br />
<br />
October 31, 2012
<br />
<br />
>End of Example<
When selecting the "Format the whole document" icon (Ctrl+K, Ctrl+D) in Visual Studio 2010, the lines would all be moved to the leftmost column, blank lines would be removed, and if a line of text was less than 80 character but continued on the next line (such as the line in the example that begins with, "Please note") the format would bring the lines together then wrap at 80 characters.
Notice in the example there are blank lines before "November 2, 2012 and October 31, 2012.
Also note that there are four extra spaces at the beginning of three of the lines in the example.
In 2010 those blank lines and extra spaces would be removed.
Any ideas?
Thank you for your help.
Angie xu - M...
All-Star
18637 Points
1583 Posts
Microsoft
Re: Format the whole document is not working in 2012
Nov 08, 2012 04:50 AM|LINK
Hi DavidTaylor
I have tested the codes in Visual Studio 2012 Ultimate, it really act as what you said.
You could submit this issue from Connect site ( https://connect.microsoft.com/visualstudio ).
Thanks for your support to ASP.NET Forums.
Best regards
Feedback to us
Develop and promote your apps in Windows Store