aptana3支持jquery的方法

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)

3.0.1+

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

3.0.5+

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.

Not currently supported with API Docs

The libraries below may have supported SDOC files in https://github.com/aptana/frameworks/tree/master/plugins/, however, we are in the process of converted them to SDOCML or JSCA formats. If you'd like to assist, please let us know.

posted @   楚广明  阅读(4834)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· [AI/GPT/综述] AI Agent的设计模式综述
历史上的今天:
2007-12-27 我的C#课件,喜欢的可以自由下载了。。有十几个哪,我慢慢更新吧。。。
点击右上角即可分享
微信分享提示