Aptana Studio是否有NodeJS插件? [英] Is there a NodeJS plugin for Aptana Studio?

查看:58
本文介绍了Aptana Studio是否有NodeJS插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有适用于Aptana Studio的NodeJS插件?

Is there a NodeJS plugin for Aptana Studio?

  • 至少对于NodeJS代码助手
  • 也许是创建NodeJS项目的一种方式
  • 和本地NodeJS调试

推荐答案

我们目前不支持NodeJS.如果社区对此感兴趣,则提交功能请求并对其进行投票将非常有帮助: http://jira.appcelerator.org/secure/CreateIssue!default.jspa

We have no NodeJS support currently. If this is something the community is interested in, it'd be helpful to file a feature request and vote it up: http://jira.appcelerator.org/secure/CreateIssue!default.jspa

由于我们是基于eclipse构建的,因此您应该能够尝试在Eclipse上进行NodeJS调试的说明,可在以下位置找到:

Since we are built on eclipse, you should be able to try out the instructions for NodeJS debugging on Eclipse, found here: https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger

对于特殊的NodeJs项目,没有任何概念.您可能只创建一个普通的Web项目.我们确实具有可以添加到项目中的库的概念,其中您可以指向NodeJS的js文件/库.我们还有用于描述JS库/API的特殊语法文件,因此可以将其集成到我们的内容帮助中.一个很好的例子可能是我们为jQuery提供的卢布,其中包含两个版本的jQuery API的文件.这是1.6.2版本: https://github.com/aptana/javascript-jquery.ruble/blob/master/support/jquery.1.6.2.sdocml 父目录中的bundle.rb将文件连接到ruble/bundle中.

As for special NodeJs projects, there's no notion of that. You would likely just create a normal Web project. We do have the concept of libraries that you can add to a project, wherein you could point to js files/libs for NodeJS. We also has special syntax files for describing JS libraries/APIs so it can be integrated into our content assist. A good example might be the ruble we have for jQuery which contains that file for two versions of the jQuery API. Here's the 1.6.2 version: https://github.com/aptana/javascript-jquery.ruble/blob/master/support/jquery.1.6.2.sdocml The bundle.rb up in the parent directory hooks up the file in the ruble/bundle.

我的猜测是,创建一个类似NodeJS的卢布并建立一个描述该API的sdocml(xml)文件将是最简单的入门方法.在github上共享并发送给我们,其他人也可以做出贡献.这里有用于创建卢布的文档: http://wiki.appcelerator.org/display/tis/Creating + a + new + Ruble

My guess is that creating an analogous NodeJS ruble and building up an sdocml (xml) file that described the API would be the easiest way to get started. Sharing that on github and sending it to us would allow for others to contribute as well. There are docs for creating rubles here: http://wiki.appcelerator.org/display/tis/Creating+a+new+Ruble

这篇关于Aptana Studio是否有NodeJS插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆