简体   繁体   English

Aptana和JavaScript / jQuery IDE

[英]Aptana and JavaScript/jQuery IDE

I'm using Aptana for JavaScript and jQuery. 我正在将Aptana用于JavaScript和jQuery。

My script files are not being outlined, but I understand that this is a known issue. 我的脚本文件没有概述,但是我知道这是一个已知问题。

When editing JavaScript, is there a way to add simple editing short cuts like: 编辑JavaScript时,有一种方法可以添加简单的编辑快捷方式,例如:

  1. High light a block and comment /or uncomment block. 高亮显示一个块并注释/或取消注释块。
  2. Getting intellisense to recognize Jquery-UI and other libraries? 获取智能识别Jquery-UI和其他库?
  3. And while I'm here and asking what about the outliner and created code? 当我在这里,问问大纲和创建的代码如何?
    a. 一种。 What allows JQuery to be recognized and my scripts to not be recognized? 是什么让JQuery被识别而我的脚本不被识别?

Answers to 2. and a. 答案2.和a。

Aptana cheats. Aptana作弊。 It knows jQuery and uses some local heuristics to guess when something is a jQuery collection, but it does not do data-flow analysis on the javascript to determine the type. 它了解jQuery,并使用一些本地启发式方法来猜测某物何时为jQuery集合,但它不会对javascript进行数据流分析来确定类型。 That's why jQuery shows up, but jQueryUI and your code don't. 这就是为什么jQuery出现但jQueryUI和您的代码却没有的原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM