반응형
Javascript library 추가하기  - APTANA

 

link : https://wiki.appcelerator.org/display/tis/JavaScript+Library+Support

 

JavaScript Library Support

메타 데이터의 끝으로 건너뛰기
메타 데이터의 시작으로 이동
Chapters

Libraries

Studio ships with the ability for users to extend support for JavaScript libraries in content assist. Below is a list of libraries and content assist files we've located that should be compatible with Studio. This is not a complete list, and compatibility is not guaranteed, but if you see something on this list and it doesn't work, please let us know.

Dojo (http://dojotoolkit.org)

The XML files Dojo ships require a little bit of massaging to be readable by the Studio content assist processor.

Drop the SDOCML file anywhere into your Web Project (feel free to put it in a special folder).

Alternately, to update docs to a newer version (should one come out)

ExtJS/Sencha (http://extjs.com)

Drop the SDOCML file anywhere into your Web Project (feel free to put it in a special folder).

Google

Drop the VSDoc files into your Web Project.

jQuery (http://jquery.org)

Install the jQuery ruble and reference it:

  1. Commands > Install Bundle > jQuery
  2. Right click on a project, select Properties > Project Build Path and select the checkbox for jQuery 1.6.2.

If you already have the jQuery bundle:

  1. Choose Commands > Bundle Development > Update User Bundles

or

  1. Find the Aptana Rubles folder on your system
  2. Delete the Ruble
  3. Restart Studio
  4. Install the Ruble again as above

OpenLayers (http://openlayers.org/)

There is a current bug with adding the single http://www.openlayers.org/api/OpenLayers.js file to a project to get content assist. As a workaround:

Note that this technique will not actually show documentation on the classes. For that, we need a SDOCML file which could be created from the source Natural Docs.

YUI (http://developer.yahoo.com/yui/)

Drop the SDOCML file into your Web Project.

반응형

+ Recent posts