【整理】Aptana开发JQUERY笔记
来源:互联网 发布:战舰帝国所有橙船数据 编辑:程序博客网 时间:2024/05/08 10:07
【整理】Aptana开发JQUERY笔记
问题1)Aptana3.0不直接支持JQUERY.
There are no JavaScript Framework Plugins for Aptana Studio 3 at this time. The JS Framework plugins are for Aptana Studio 2 only ! ;)
地址
https://aptanastudio.tenderapp.com/discussions/problems/1852-aptana-3cant-install-jquery-plugin
翻译一下:就是只在Aptana Studio2.0支持。Aptana 3 不能装 2 的 JQ 插件了
要从菜单找开启点:
Commands - Bundle Developments - Install Bundle ,然后选择 JQuery 装上可以装上,结果我出现了。如下
This Terminal Emulator is not functional because no 'bash' shell could be found. Please correct the problem and restart the IDE.
查询它的维基帮助:
https://wiki.appcelerator.org/display/tis/Home
Viewing code assist (using jQuery as an example)
- Add the file from: https://raw.github.com/aptana/javascript-jquery.ruble/master/support/jquery.1.4.2.sdocml. Make sure to save it with the .sdocml extension.
- If you do not have a JavaScript file in your project, create a new one by selecting File menu, select New > File... and typing 'sample.js' or a different name if you prefer. Select Finish.
- In your sample.js file, add the following snippet:
$(document).ready(
function
(){});
- Inside that, add the following line:
$("p")
- While entering that selector you should have seen documentation come up for how to use the
$
function.
- While entering that selector you should have seen documentation come up for how to use the
- Now insert your cursor just after "
$("p")
" and type.ad
and press ctrl+space.
Code Assist displays a list of jQuery functions that begin with the letters "ad" (e.g. add, addClass, etc). Use Code Assist to help you code. - Start coding.
- As you type, notice that Code Assist is now active for the jQuery objects and functions that you use.
- Press ctrl+space at any time to activate Code Assist.
下载一个jquery.1.4.2.sdocml的文件不要修改扩展名啊,直接放到 Apatan Studio的工程目录即可。
总结来说,只需要下载:
https://raw.github.com/aptana/javascript-jquery.ruble/master/support/jquery.1.4.2.sdocml
这个文件,确保是“.sdocml”为后缀,并将之放到你的项目下(任何目录都行)即可。就这么简单。(当然,JQuery的库文件是必须的)
插件的话javascript-jquery.ruble 放到项目根目录就可以了
首 先下载:https://raw.github.com/aptana/javascript-jquery.ruble/master/support /jquery.1.4.2.sdocml 一定 要保证是.sdocml文件不是文本文档,此链接打开后可能是一个文本网页,将网页中的内容复制保存为jquery.1.4.2.sdocml文件。
再下载:http://code.jquery.com/jquery-1.4.1-vsdoc.js
然后把这2个文件放到项目的根目录下(其实任意目录都可以),然后重启aptana就可以了。具体可查看 https://wiki.appcelerator.org/display/tis/Using+JavaScript+Libraries
http://download.aptana.com/tools/studio/plugin/install/studio
http://download.aptana.com/tools/studio/plugin/install/studio
- 【整理】Aptana开发JQUERY笔记
- 分享Aptana开发EXTJS和jQuery的插件
- jQuery开发环境【zend studio 9整合aptana 3】
- jQuery整理笔记九----功能性表格开发
- jQuery整理笔记九----功能性表格开发
- jQuery整理笔记目录
- Jquery学习笔记整理
- jQuery整理笔记二----jQuery选择器整理
- jQuery整理笔记二----jQuery选择器整理
- Aptana 支持jquery
- aptana设置jQuery提示
- Eclipse Aptana Jquery插件
- Aptana JQuery代码提示
- Aptana配置jQuery
- aptana studio 使用技巧整理
- aptana studio 使用技巧整理
- Aptana 使用笔记
- Aptana:JavaScript开发利器
- RMI原理及开发实例
- 网页上点击。直接打开QQ聊天!!!
- 自定义程序实现Android EditText只允许输入指定字符
- TCPDUMP命令详解
- oracle导入与导出
- 【整理】Aptana开发JQUERY笔记
- 理解SQL原理,写出高效的SQL语句
- poj-2533-Longest Ordered Subsequence-最长上升子序列
- 老鸟,也会坠机
- servlet登陆功能实例
- 【算法导论】 堆排序
- Android SDK4.2 (API17) 开发环境的搭建
- linphone-android 编译
- libcurl的简单使用