Is there a NodeJS plugin for Aptana Studio?

你。 提交于 2019-12-20 10:21:25

问题


Is there a NodeJS plugin for Aptana Studio?

  • At least for NodeJS code-assist
  • And perhaps a way to create NodeJS project
  • And local NodeJS debugging

回答1:


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

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

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.

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




回答2:


There is Nodeclipse.org effort. Current version is 0.11 see http://www.nodeclipse.org/history .

Recommended installation for Aptana users through Enide - Eclipse Node.js IDE

Features

  • Creating default structure for New Node Project and New Node Source File
  • JavaScript Syntax highlighting
  • Content Assistant
  • NPM support
  • Debugging - Breakpoint, Trace, etc... via modified Eclipse debugger plugin for V8
  • CoffeeScript support

Installing

Update Site : http://www.nodeclipse.org/updates/

Read also Hints (section Aptana Studio)


(source: nodeclipse.org)

Read http://www.nodeclipse.org/ for more & latest information.




回答3:


I highly recommend using Sublime Text 2.

There are a few nodejs plugins as well as v8 javascript [Sublime v8] and standard ECMA-262.




回答4:


This is not a direct answer to your question, but if you're looking for a good IDE for node.js, you should definitely try Microsoft WebMatrix 2. It basically does what you requested to do.




回答5:


I was fed up of fighting with Aptana Studio and plugins and all this stuff... until I found out Sublime Text. Simple and wonderful.



来源:https://stackoverflow.com/questions/8025825/is-there-a-nodejs-plugin-for-aptana-studio

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!