<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>JScript Blog : VWD</title><link>http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx</link><description>Tags: VWD</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>JScript errors as warnings in Visual Studio 2008 RTM</title><link>http://blogs.msdn.com/jscript/archive/2007/12/31/jscript-errors-as-warnings-in-visual-studio-2008-rtm.aspx</link><pubDate>Mon, 31 Dec 2007 09:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6913679</guid><dc:creator>rneela</dc:creator><slash:comments>7</slash:comments><comments>http://blogs.msdn.com/jscript/comments/6913679.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=6913679</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=6913679</wfw:comment><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;FONT face=Calibri size=3&gt;Now &lt;/FONT&gt;&lt;A href="http://blogs.msdn.com/somasegar/archive/2007/11/19/visual-studio-2008-and-net-framework-3-5-shipped.aspx" mce_href="http://blogs.msdn.com/somasegar/archive/2007/11/19/visual-studio-2008-and-net-framework-3-5-shipped.aspx"&gt;&lt;FONT face=Calibri color=#800080 size=3&gt;Visual Studio 2008&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt; code named Orcas is out of door with incredible features. T&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;he most highly anticipated feature of this release is JScript Authoring Services which includes &lt;A href="http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx" mce_href="http://weblogs.asp.net/scottgu/archive/2007/06/21/vs-2008-javascript-intellisense.aspx"&gt;&lt;FONT color=#800080&gt;JavaScript Intellisense&lt;/FONT&gt;&lt;/A&gt; and &lt;A href="http://blogs.msdn.com/jscript/archive/2007/08/03/jscript-syntax-check-in-visual-web-developer-2008-beta2.aspx" mce_href="http://blogs.msdn.com/jscript/archive/2007/08/03/jscript-syntax-check-in-visual-web-developer-2008-beta2.aspx"&gt;&lt;FONT color=#800080&gt;JavaScript Syntax Checking&lt;/FONT&gt;&lt;/A&gt;. &lt;/SPAN&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;In the final version of Visual Studio 2008, with default profile settings VS shows all JScript/JavaScript syntax errors as warnings and warnings as messages because of which customer will end up unnoticed JScript Syntax Checking feature.&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;To view JScript Errors as Errors in Error List window enable below option from Options dialog of Visual Studio &lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;
&lt;P class=MsoListParagraphCxSpFirst style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: en; mso-fareast-font-family: arial"&gt;&lt;SPAN style="mso-list: ignore"&gt;&lt;FONT size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT face=Calibri&gt;Launch Options dialog by clicking on Tool &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="FONT-FAMILY: wingdings; mso-ansi-language: en; mso-bidi-font-family: arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: calibri; mso-hansi-font-family: calibri; mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;à&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT face=Calibri&gt; Options menu &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;
&lt;P class=MsoListParagraphCxSpMiddle style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: en; mso-fareast-font-family: arial"&gt;&lt;SPAN style="mso-list: ignore"&gt;&lt;FONT size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;FONT size=3&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT face=Calibri&gt;Expand Text Editor &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="FONT-FAMILY: wingdings; mso-ansi-language: en; mso-bidi-font-family: arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: calibri; mso-hansi-font-family: calibri; mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;à&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT face=Calibri&gt; HTML &lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="FONT-FAMILY: wingdings; mso-ansi-language: en; mso-bidi-font-family: arial; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-ascii-font-family: calibri; mso-hansi-font-family: calibri; mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;&lt;SPAN style="mso-char-type: symbol; mso-symbol-font-family: wingdings"&gt;à&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT face=Calibri&gt; Validation &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;
&lt;P class=MsoListParagraphCxSpLast style="MARGIN: 0in 0in 10pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;&lt;SPAN lang=EN style="FONT-FAMILY: 'Arial','sans-serif'; mso-ansi-language: en; mso-fareast-font-family: arial"&gt;&lt;SPAN style="mso-list: ignore"&gt;&lt;FONT size=3&gt;-&lt;/FONT&gt;&lt;SPAN style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;Clear Show errors “as warnings (JScript)” check box&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 10pt"&gt;&lt;SPAN style="mso-bidi-font-family: arial; mso-no-proof: yes"&gt;&lt;SHAPETYPE id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o:preferrelative="t" o:spt="75" coordsize="21600,21600"&gt;&lt;STROKE joinstyle="miter"&gt;&lt;/STROKE&gt;&lt;FORMULAS&gt;&lt;F eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/F&gt;&lt;F eqn="sum @0 1 0"&gt;&lt;/F&gt;&lt;F eqn="sum 0 0 @1"&gt;&lt;/F&gt;&lt;F eqn="prod @2 1 2"&gt;&lt;/F&gt;&lt;F eqn="prod @3 21600 pixelWidth"&gt;&lt;/F&gt;&lt;F eqn="prod @3 21600 pixelHeight"&gt;&lt;/F&gt;&lt;F eqn="sum @0 0 1"&gt;&lt;/F&gt;&lt;F eqn="prod @6 1 2"&gt;&lt;/F&gt;&lt;F eqn="prod @7 21600 pixelWidth"&gt;&lt;/F&gt;&lt;F eqn="sum @8 21600 0"&gt;&lt;/F&gt;&lt;F eqn="prod @7 21600 pixelHeight"&gt;&lt;/F&gt;&lt;F eqn="sum @10 21600 0"&gt;&lt;/F&gt;&lt;/FORMULAS&gt;&lt;PATH o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"&gt;&lt;/PATH&gt;&lt;LOCK aspectratio="t" v:ext="edit"&gt;&lt;/LOCK&gt;&lt;/SHAPETYPE&gt;&lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;&lt;/SPAN&gt;
&lt;P mce_keep="true"&gt;&lt;FONT face=Calibri size=3&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/Options.png" mce_href="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/Options.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=147 alt=Options src="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/Options_thumb.png" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/Options_thumb.png"&gt;&lt;/A&gt; &lt;/FONT&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN lang=EN style="mso-ansi-language: en; mso-bidi-font-family: arial"&gt;This has been added after VS 2008 Beta2 after considering customer feedback. In &lt;/SPAN&gt;&lt;SPAN lang=EN style="mso-ansi-language: en"&gt;Visual Studio 2005 and Visual Web Developer Express 2005 all markup and CSS validation related issues such as unsupported tags and attributes are shown as errors in Error List. Few like it since validation errors encourage standard compliance while few didn't want validation errors to show up in Error list as these errors are browser errors. The same applies for JScript errors in VS 2008. This has been addressed by adding above option in the final version of Visual Studio 2008. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;SPAN lang=EN style="mso-ansi-language: en"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;A href="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/JScript_errors_As_warning.png" mce_href="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/JScript_errors_As_warning.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=208 alt=JScript_errors_As_warning src="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/JScript_errors_As_warning_thumb.png" width=244 border=0 mce_src="http://blogs.msdn.com/blogfiles/jscript/WindowsLiveWriter/JScripterrorsaswarningsinVisualStudio200_A967/JScript_errors_As_warning_thumb.png"&gt;&lt;/A&gt; &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=6913679" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/JScript+Authoring/default.aspx">JScript Authoring</category><category domain="http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Javascript+Syntax+Checking/default.aspx">Javascript Syntax Checking</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Visual+Studio+2008/default.aspx">Visual Studio 2008</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Orcas/default.aspx">Orcas</category></item><item><title>Writing for JScript Intellisense in VS 2008</title><link>http://blogs.msdn.com/jscript/archive/2007/11/08/javascript-intellisense-explained.aspx</link><pubDate>Thu, 08 Nov 2007 09:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5978649</guid><dc:creator>Sameerch</dc:creator><slash:comments>12</slash:comments><comments>http://blogs.msdn.com/jscript/comments/5978649.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=5978649</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=5978649</wfw:comment><description>&lt;P&gt;&lt;FONT face=Calibri size=3&gt;Since we release JSript intellisense in Visual Studio 2008 Beta 2, there has been some queries on why JScript intellisense behaves in a certain way.&amp;nbsp; I wish to tell you that intellisense in a dynamic language like JScript is based on certain heuristics.&amp;nbsp; We try our best to guess the runtime behavior and provide what we think is the best guess.&amp;nbsp; As such, it is not always what a user might expect.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;To illustrate, consider the following example:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt; 1: Person = function() {
 2:     this.name = “Anonymous”;
 3: }
 4:
 5: Person.prototype = {
 6:     getName : function() {
 7:         return this.name;               // I don’t see “name” on the list
 8:     }
 9: }
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;When we type “this.” In line 7, we don’t see “name” in the intellisense dropdown that pops up.&amp;nbsp; This is contrary to what a user might expect.&amp;nbsp; But consider the following usage:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;10: Person.prototype.getName();
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;In this case, we get an undefined value since “name” is not defined in this context.&amp;nbsp; So, it is not always the case that “name” would be defined.&amp;nbsp; To avoid such ambiguity, the above can be modified so that all variables are defined in the prototype:&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;11: Person = function() { }
12:
13: Person.prototype = {
14:     name : “Anonymous”,
15:     getName : function() {
16:         return this.name;               // I see “name” on the list now
17:     }
18: }
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;Now, you can see “name” in the intellisense drop down.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;&lt;EM&gt;Update 11/12/2007&lt;/EM&gt;: There have been some recent comments on this post which rightly point out that there&amp;nbsp;is a&amp;nbsp;functionality difference between the two.&amp;nbsp; The difference is subtle.&amp;nbsp; And, if you are unsure of the functionality difference , I would suggest that you start by reading &lt;A class="" title="Classes in JScript – Part II: Instance Properties / Methods &amp;amp; Class Properties / Methods" href="http://blogs.msdn.com/jscript/archive/2007/09/30/classes-in-jscript-part-ii-instance-properties-methods-class-properties-methods.aspx" mce_href="http://blogs.msdn.com/jscript/archive/2007/09/30/classes-in-jscript-part-ii-instance-properties-methods-class-properties-methods.aspx"&gt;this post on Classes in Jscript&lt;/A&gt; by Ritesh.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Calibri size=3&gt;Sameer&lt;BR&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5978649" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/JScript+Intellisense/default.aspx">JScript Intellisense</category><category domain="http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx">VWD</category></item><item><title>Javascript Intellisense and Coloring Issues in VS 2008 Beta 2</title><link>http://blogs.msdn.com/jscript/archive/2007/09/24/javascript-intellisense-and-coloring-issues-in-vs-2008-beta-2.aspx</link><pubDate>Mon, 24 Sep 2007 22:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5105399</guid><dc:creator>Sameerch</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jscript/comments/5105399.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=5105399</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=5105399</wfw:comment><description>&lt;P&gt;We have come across a couple of installation issues in VS 2008 Beta 2 which broke the new Javascript functionalities in certain scenarios.&amp;nbsp; While a workaround has already been provided in the &lt;A class="" title="Visual Studio 2008 Express Edition 2 ReadMe" href="http://download.microsoft.com/download/D/D/1/DD18043A-FE86-4F57-AC22-791B30E6F04B/ExpressReadme.htm#Visual%20Web%20Developer%20Express%20Edition" mce_href="http://download.microsoft.com/download/D/D/1/DD18043A-FE86-4F57-AC22-791B30E6F04B/ExpressReadme.htm#Visual%20Web%20Developer%20Express%20Edition"&gt;online refresh of the ReadMe text&lt;/A&gt;, I thought I would also put it down here in case any of you hit the problem.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Issues&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;We faced two installation issues which broke Jscript functionality in VS 2008 Beta 2&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Uninstallation of Silverlight Tools for Visual Studio 2008 Beta 1 removes the Jscript Authoring DLL&lt;/LI&gt;
&lt;LI&gt;Installation&amp;nbsp; of Team Explorer Beta 2 corrupts the registration of Jscript&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In either case, you dont get to see Javascript intellisense, syntax errors, and javascript coloring does not work.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The recommended workaround for both the issues is to Repair the Visual Studio installation by running setup again.&amp;nbsp; The first&amp;nbsp;issue can be avoided by uninstalling SL Tools for VS Beta1 before installing VS 2008 Beta 2.&amp;nbsp; The second issue can also be fixed if you dont mind fiddling with the registry.&amp;nbsp; See the &lt;A class="" href="http://blogs.msdn.com/webdevtools/archive/2007/07/30/workaround-for-beta-2-javascript-intellisense-and-colorization-issue.aspx" mce_href="http://blogs.msdn.com/webdevtools/archive/2007/07/30/workaround-for-beta-2-javascript-intellisense-and-colorization-issue.aspx"&gt;blog post here for details&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Sameer&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5105399" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/JScript+Intellisense/default.aspx">JScript Intellisense</category><category domain="http://blogs.msdn.com/jscript/archive/tags/JScript+Authoring/default.aspx">JScript Authoring</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Javascript/default.aspx">Javascript</category><category domain="http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx">VWD</category></item><item><title>JScript Syntax Check in Visual Web Developer 2008 Beta2</title><link>http://blogs.msdn.com/jscript/archive/2007/08/03/jscript-syntax-check-in-visual-web-developer-2008-beta2.aspx</link><pubDate>Fri, 03 Aug 2007 12:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4205361</guid><dc:creator>don.raman</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/jscript/comments/4205361.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=4205361</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=4205361</wfw:comment><description>&lt;P&gt;&lt;A class="" title="Click here to download" href="http://msdn2.microsoft.com/en-us/express/future/bb421473.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/express/future/bb421473.aspx"&gt;Visual Web Developer 2008 Beta2&lt;/A&gt; got announced some days back. Lots of authoring enhancement has been made to this release so far as JScript is considered. Sameer already blogged about much better intellisense support in this release. I would like to point out that we also had a brand new support for Syntax Checking with this release. Syntax Checking is a very helpful feature and helps a JScript developer to find out the errors/warnings in his code at design time. The goal was to make life of a JScript developer a lot easier. We feel this is going to make a very good impact on the developers.&lt;/P&gt;
&lt;P&gt;Let's say while writing the code I defined a variable twice. Isn't it cool the editor catching up the mistake for me? This is exactly what happens. Look at the snapshot below:&lt;/P&gt;
&lt;P&gt;&lt;IMG style="WIDTH: 268px; HEIGHT: 150px" height=150 src="http://farm2.static.flickr.com/1136/995039181_7aaeb1ea39_o.jpg" width=268 mce_src="http://farm2.static.flickr.com/1136/995039181_7aaeb1ea39_o.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;As one can see the moment the user makes a mistake, squiggles are shown and on taking the mouse over the squiggle the error/warning is displayed. User is saved from all the hassles of actually running the code to find out all the annoying errors/warnings. All the errors/warnings get listed down even in the error window as shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;IMG style="WIDTH: 500px; HEIGHT: 127px" height=127 src="http://farm2.static.flickr.com/1419/995987866_d991071f4f.jpg" width=500 mce_src="http://farm2.static.flickr.com/1419/995987866_d991071f4f.jpg"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;This gives a detailed error/warning message and double clicking actually takes you to the line number.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Some of the other facts I would like to list are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A syntax error or warning does not stop other authoring features like syntax coloring and intellisense to stop working. The parser used is a recovery parser which throws off/ignores bad tokens and continue giving authoring support.&lt;/LI&gt;
&lt;LI&gt;This only catches the error/warning detectable by parser. A runtime error will not be detected by this and you will get the error running the application.&lt;/LI&gt;
&lt;LI&gt;The syntax checking is also available in the stand alone JScript file added to your web project.&lt;/LI&gt;
&lt;LI&gt;This feature is also available in the Express edition of Visual Web Developer 2008.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;So go ahead and start using the new Beta2 available and give your feedback to us.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Don Raman&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Senior Test Lead&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4205361" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/JScript+Authoring/default.aspx">JScript Authoring</category><category domain="http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx">VWD</category></item><item><title>Jscript debugging: Stepwise instructions and video</title><link>http://blogs.msdn.com/jscript/archive/2007/04/24/jscript-debugging-stepwise-instructions-and-video.aspx</link><pubDate>Tue, 24 Apr 2007 09:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2256281</guid><dc:creator>rajesh.bhutani@microsoft.com</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/jscript/comments/2256281.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jscript/commentrss.aspx?PostID=2256281</wfw:commentRss><wfw:comment>http://blogs.msdn.com/jscript/rsscomments.aspx?PostID=2256281</wfw:comment><description>&lt;P&gt;If you are interested in debugging your Jscript code, then you can use Visual Web Developer (VWD) Express edition, a free download from Microsoft website. Exact instruction on how to use VWD for debugging Jscript are listed at the following blog post:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/rajeshbhutani/archive/2007/04/10/debugging-jscript-code-in-ie-using-vwd-express.aspx"&gt;http://blogs.msdn.com/rajeshbhutani/archive/2007/04/10/debugging-jscript-code-in-ie-using-vwd-express.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you want to see these steps in action then you can watch the following screencast:&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://channel9.msdn.com/ShowPost.aspx?PostID=301814" target=_blank mce_href="http://channel9.msdn.com/ShowPost.aspx?PostID=301814"&gt;&lt;IMG src="http://channel9.msdn.com/Photos/301814.jpg" mce_src="http://channel9.msdn.com/Photos/301814.jpg"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A class="" href="http://channel9.msdn.com/ShowPost.aspx?PostID=301814" target=_blank mce_href="http://channel9.msdn.com/ShowPost.aspx?PostID=301814"&gt;http://channel9.msdn.com/ShowPost.aspx?PostID=301814&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2256281" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jscript/archive/tags/Javascript/default.aspx">Javascript</category><category domain="http://blogs.msdn.com/jscript/archive/tags/VWD/default.aspx">VWD</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Debugging/default.aspx">Debugging</category><category domain="http://blogs.msdn.com/jscript/archive/tags/Jscript/default.aspx">Jscript</category></item></channel></rss>