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

查看:23
本文介绍了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 调试的说明,可在此处找到:https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger

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天全站免登陆