aptana3支持jquery的方法

简介: Chapters Libraries Dojo ( http://dojotoolkit.org) ExtJS/Sencha ( http://extjs.com) Google jQuery ( http://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.

目录
相关文章
|
8月前
|
JavaScript
jQuery编写插件的两种方法
jQuery编写插件的两种方法
57 0
|
JavaScript API 数据安全/隐私保护
jquery提示插件qtip2使用(全面)
jquery提示插件qtip2使用(全面)
135 0
jquery提示插件qtip2使用(全面)
|
JSON JavaScript 数据格式
功能强大的jQuery图片查看器插件
功能强大的 jQuery 图片查看器插件 : viewer image.png image.png $(function () { TaskReport.
979 0
|
JavaScript 前端开发
第81天:jQuery 插件使用方法
在追求页面互动效果的时代,大家都想把页面效果做的美轮美奂,这一切都离不开前端技术脚本Javascript,而最近常被人用到的Javascript库文件则是jQuery。  jQuery的使用具体步骤如下: 一、调用库文件 使用jQuery必须链接jQuery的库文件,无论是压缩版还是正常版,必须至少在网页中链接一个,如: 或者 二、启动Jquery效果 链接好jQuery库文件后,还要在使用jQuery效果的页面中启动效果,如: $(document).ready(function(){ // 书写代码处 }); 在网页中加入以上两处,jQuery效果就能被调用出来了。
1118 0
|
JavaScript 前端开发 数据安全/隐私保护
《扩展 jQuery》——2.2 一个简单的插件
最为常用的一类jQuery插件是集合插件,它被用来为使用选择器或者遍历DOM得到的一组元素添加功能。开发者可以创建一个水印插件作为这种类型的插件的一个简单示例,它在必要时为字段内部提供一个标签。这会让开发者对如何构建一个插件有一定的感知。
1592 0
|
JavaScript 前端开发 开发者
《扩展 jQuery》——第2章 第一个插件2.1 jQuery的架构
jQuery是一个可以使得与网页上元素交互更容易的JavaScript库。它通常被用于通过直接选择或者遍历DOM来查找元素,然后在这些元素上应用一些功能。开发者可以添加或删除这些元素,或者改变它们的属性,还可以为它们添加事件处理器用来响应用户的动作。开发者也可以随着时间推移改变元素的属性来产生动画。
1239 0
|
JavaScript 前端开发 Web App开发
jquery 提示简单效果插件 cluetip
介绍一个不错的jquery插件-cluetip 我们在做web项目的时候,经常会使用到提示效果。html自带的提示效果是label标签的title,但是这个效果过于简单和难看,并且不方便调整样式。 今天我偶然发现个jQuery的插件,可以很方便的做出漂亮的提示效果。
1142 0