Eclipse 中的 node.js - 大多数人使用哪些插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7038961/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-02 14:27:52  来源:igfitidea点击:

node.js in Eclipse - which plugin(s) are most people using?

eclipsenode.jseclipse-pluginv8

提问by danja

I'm mostly interested in server-side web development, though being able to redeploy some bits in Chrome would be nice.

我最感兴趣的是服务器端 Web 开发,尽管能够在 Chrome 中重新部署一些位会很好。

I am currently running Eclipse Indigoon Ubuntu for developing mostly Java/Scala programs and to use git.

我目前Eclipse Indigo在 Ubuntu 上运行,主要用于开发 Java/Scala 程序并使用 git。

So far I've come across http://code.google.com/p/chromedevtools/and https://www.ebayopensource.org/index.php/VJET/HomePage, but not sure which is preferable.

到目前为止,我遇到过http://code.google.com/p/chromedevtools/https://www.ebayopensource.org/index.php/VJET/HomePage,但不确定哪个更可取。

回答by Paul Verest

There is Nodeclipse.org effort. Current version is 0.16 update site is
http://www.nodeclipse.org/updates/

Nodeclipse.org 的努力。当前版本是 0.16 更新站点是
http://www.nodeclipse.org/updates/

When you want to help in any way, start by raising issue

当您想以任何方式提供帮助时,请从提出问题开始

Features

  • Creating default structure for New Node Project and New Node Source File
  • Generating Express project with Wizard
  • JavaScript Syntax highlighting
  • Bracket matching and marking selection occurences with background color
  • Content Assistant within one file
  • Go to definition with Ctrl+click when JSDoc is used
  • Refactoring within one file (Alt+Shift+R)
  • JSON files highlight and validation
  • NPM support
  • Debugging - Breakpoint, Trace, Variables, Expressions, etc... via Eclipse debugger plugin for V8
  • Setting project properties for JSHint-Eclipse automatically; JSHintsettings template
  • Passing arguments to Node application and Node.js, specifying environment variables values to use
  • Running CoffeeScript *.coffee files
  • Running *.js files with PhantomJS, MongoDB Shell or Java 8 Nashorn jjs util
  • Bundled together with Markdown Editor, GitHub Flavored Markdown, StartExplorer (for system explorer and shell), RegEx, Icon Editor, MongoDB, RestClient Tool and other plugins (20+ in total, check update site and Nodeclispe Plugin List)
  • Support for Eclipse Juno, Kepler, Luna M3

特征

  • 为新节点项目和新节点源文件创建默认结构
  • 使用向导生成 Express 项目
  • JavaScript 语法高亮
  • 括号匹配和标记选择出现与背景颜色
  • 一个文件内的内容助手
  • 使用 JSDocCtrl时通过+click转到定义
  • 在一个文件中重构 ( Alt+Shift+R)
  • JSON 文件突出显示和验证
  • NPM 支持
  • 调试 - 断点、跟踪、变量、表达式等...通过适用于 V8 的 Eclipse 调试器插件
  • 自动为 JSHint-Eclipse 设置项目属性; JSHint设置模板
  • 将参数传递给 Node 应用程序和 Node.js,指定要使用的环境变量值
  • 运行 CoffeeScript *.coffee 文件
  • 使用 PhantomJS、MongoDB Shell 或 Java 8 Nashorn jjs util 运行 *.js 文件
  • 捆绑了 Markdown Editor、GitHub Flavored Markdown、StartExplorer(用于系统浏览器和 shell)、RegEx、Icon Editor、MongoDB、RestClient Tool 等插件(共 20+,查看更新站点和 Nodeclispe 插件列表)
  • 支持 Eclipse Juno、Kepler、Luna M3


(source: nodeclipse.org)


(来源:nodeclipse.org

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

阅读http://www.nodeclipse.org/了解更多和最新信息。

回答by magnetik

What I have tried

我试过的

  • VJET contains lot a bugs (in coloration, auto-competition ...). Could be better after a few updates. Node.js support is quite not up to date.
  • Eclipse Web Tools does no support node functions
  • NodeClipse http://www.nodeclipse.org/
  • Netbeans have a NodeJS plugin. Looks quite complete.
  • VJET 包含很多错误(在着色、自动竞争......)。几次更新后可能会更好。Node.js 支持不是最新的。
  • Eclipse Web Tools 不支持节点功能
  • NodeClipse http://www.nodeclipse.org/
  • Netbeans 有一个NodeJS 插件。看起来相当完整。

The chrome dev tools is just a debugger (and some chrome related utilities), not a fully usable IDE.

chrome 开发工具只是一个调试器(以及一些与 chrome 相关的实用程序),而不是一个完全可用的 IDE。

So far I would strongly not to use Eclipse for node.js project.

到目前为止,我强烈不会将 Eclipse 用于 node.js 项目。

I'm using Sublime Text 2for a while, and I'm very happy with it (And it has a node.js plugin).

我使用Sublime Text 2有一段时间了,我对它很满意(而且它有一个 node.js 插件)。

回答by tehsis

I would recommend Aptana Studio (www.aptana.com/).

我会推荐 Aptana Studio (www.aptana.com/)。

It's quite complete for javascript development besides it doesn't have node.js "direct support

除了没有node.js“直接支持外,它对于javascript开发来说非常完整

It can be installed both as a standalone application or an Eclipse Plugin.

它可以作为独立应用程序或 Eclipse 插件安装。

I've been using it for server and client development and works great for both.

我一直将它用于服务器和客户端开发,并且对两者都很好。

回答by Ram

Try Microsoft WebMatrix 2

试用Microsoft WebMatrix 2

It is free and has intellisense.

它是免费的并且具有智能感知。

回答by java-addict301

As of Eclipse Neon (May 2016), Supports for Node.js comes as part of the JSDT.

从 Eclipse Neon(2016 年 5 月)开始,对 Node.js 的支持是 JSDT 的一部分

The only prereqs are the installation of Node.js and npm.

唯一的先决条件是安装 Node.js 和 npm。