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