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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM