Arcgis for Javascript 在VS2012中的智能提示

官方地址:

https://developers.arcgis.com/en/javascript/jsapi/api_codeassist.html

安装步骤

Visual Studio 2010 and 2012 Installation Instructions

To enable the Code Assist Plug-in in Visual Studio, simply follow the steps below:

  1. Download the zipped plug-in document from the Downloads list at the bottom of this page. Find a download link according to the IDE and the JavaScript API version you are using.
  2. Extract the .zip file you downloaded. You will get a jsapi_vsdoc_<version>.js file. This is the code assist document. Place this file in your coding project.
  3. When working in an HTML file, add a <script> tag that references to the code assist document.
          <script type="text/javascript" src="path_to_the_code_assist_document"></script>
       
  4. If working in a JavaScript file, add a reference directive to the code assist document:
          /// <reference path="path_to_the_code_assist_document" />
        
  5. Start type in class names in your IDE. Autocomplete and tooltips will be provided while you are coding.

For more information about JavaScript Intellisense, refer to Microsoft's JavaScript Intellisense MSDN article.

下载地址

Downloads

posted @ 2013-11-19 09:53  吉桂昕  阅读(3003)  评论(0编辑  收藏  举报