<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 3.1 API Intellisense in VS2010 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-1-api-intellisense-in-vs2010/m-p/440709#M40678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get code assist up and running in an HTML file in Visual Studio 2010 (Professional SP1) by copy/pasting one of our published &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_showloading.html" rel="nofollow noopener noreferrer" target="_blank"&gt;samples&lt;/A&gt;&lt;SPAN&gt; and adding an identical script reference tag to the one you posted above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something I noticed though is that, within the HTML file, the intellisense only appears within script blocks explicitly declared as javascript&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script type="text/javascript"&amp;gt;
//intellisense will appear here, but not outside the block...
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it make any difference if you use a full http path to reference the script instead of a relative path?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:43:44 GMT</pubDate>
    <dc:creator>JohnGravois</dc:creator>
    <dc:date>2021-12-11T19:43:44Z</dc:date>
    <item>
      <title>3.1 API Intellisense in VS2010</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-1-api-intellisense-in-vs2010/m-p/440708#M40677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have updated a JavaScript web application created in Visual Studio 2010 to the new 3.1 API and am using the Intellisense VSDOC file available here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/api_codeassist.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/api_codeassist.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This looks to be very handy for Visual Studio users, but I was not able to get it work within my HTML file.&amp;nbsp;&amp;nbsp; I have my HTML file, scripts, and styles in seperate files so I placed the following in my .html file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;script type="text/javascript" src="Assets/scripts/jsapi_vsdoc_v31.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I run the project,&amp;nbsp;&amp;nbsp; I get an error in IE that says "Expected identifier, string or number" which refers to the above JavaScript file and there is no intellisense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can get intellisense to work in my JavaScript files by using the following reference&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/// &amp;lt;reference path="~/Assets/Scripts/jsapi_vsdoc_v31.js" /&amp;gt;, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the problem is that I have several JavaScript files and I have to add the reference to each JavaScript file.&amp;nbsp;&amp;nbsp;&amp;nbsp; Has anyone been able to get this to work in the HTML file or is there another way to use Intellisens without having to add the 'reference' to each JavaScript file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2012 21:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-1-api-intellisense-in-vs2010/m-p/440708#M40677</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2012-08-06T21:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: 3.1 API Intellisense in VS2010</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-1-api-intellisense-in-vs2010/m-p/440709#M40678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get code assist up and running in an HTML file in Visual Studio 2010 (Professional SP1) by copy/pasting one of our published &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/map_showloading.html" rel="nofollow noopener noreferrer" target="_blank"&gt;samples&lt;/A&gt;&lt;SPAN&gt; and adding an identical script reference tag to the one you posted above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Something I noticed though is that, within the HTML file, the intellisense only appears within script blocks explicitly declared as javascript&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;script type="text/javascript"&amp;gt;
//intellisense will appear here, but not outside the block...
&amp;lt;/script&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does it make any difference if you use a full http path to reference the script instead of a relative path?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:43:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/3-1-api-intellisense-in-vs2010/m-p/440709#M40678</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-11T19:43:44Z</dc:date>
    </item>
  </channel>
</rss>

