Eclipse Che：下一代基于 Web 的 IDE
Eclipse Che IDE
![Eclipse Che简介，下一代基于Web的IDE](/data/attachment/album/201612/06/213951tkrslimrlvkos990.png "Introduction to Eclipse Che, a next-generation, web-based IDE")


即使对于熟练的开发人员，想要去为一个项目贡献代码，正确的安装和配置一个集成开发环境、<ruby> 工作区 <rp>  （ </rp> <rt>  workspace </rt> <rp>  ） </rp></ruby>和构建工具，都是一个十分艰难和浪费时间的任务。[Codenvy](http://codenvy.com/) 的CEO，Tyler Jewell，也面临着这个问题。当他养好了一些小病，又处理了一些管理工作之后，试图建立一个简单的 Java 项目来找回他曾经的编程技能。经过多天的努力，Jewell 的项目依然无法工作，但这就是给予了他灵感。他想做个可以让“任何人，任何时候都可以为安装软件的项目做贡献”的东西。


正是这个想法引发了 [Eclipse Che](http://eclipse.org/che) 的发展。


Eclipse Che 是一个基于 Web 的集成开发环境（IDE）和工作区。Eclipse Che 将工作区与合适的运行时<ruby> 软件环境 <rp>  （ </rp> <rt>  stack </rt> <rp>  ） </rp></ruby>捆绑在一起，全都紧密结合起来。在这些工作空间中的项目具有运行所需的一切工具，开发人员不用做什么事情，只需要创建工作空间时选择正确的软件环境。


Eclipse Che 已经就绪的捆绑软件环境支持绝大多数现代流行语言。现在已经支持 C++、Java、Go、PHP、 Python、 .NET、Node.js、 Ruby on Rails，和 Android 开发等。<ruby> 软件环境库 <rp>  （ </rp> <rt>  Stack Library </rt> <rp>  ） </rp></ruby>提供了多种选择，如果这样还不够，还可以选择创建一个提供自定义的环境的定制软件环境。


Eclipse Che 是一个功能齐全的 IDE，而不是一个基于 Web 的简易文本编辑器。它构建于 Orion 和 JDT 之上。支持<ruby> 智能感知 <rp>  （ </rp> <rt>  Intellisense </rt> <rp>  ） </rp></ruby>和调试，并集成了 Git 和 Subversion 版本控制软件。IDE 甚至可以由多个用户共享，进行结对编程。只需一个 Web 浏览器，开发人员就可以编写和调试他们的代码。但是，如果开发人员更喜欢使用基于桌面的 IDE，也可以使用 SSH 连接到工作空间。


Eclipse Che 底层所采用的主要技术之一是 [Linux 容器](https://opensource.com/resources/what-are-linux-containers) - Docker。工作空间是同样是使用 Docker 构建的，安装 Eclipse Che 的本地副本只需要 Docker 和一个小脚本文件。只需在第一次运行时，第一次运行 `che.sh start` 时，就会下载和运行必需的 Docker 容器。但是，如果你觉得设置 Docker 来安装 Eclipse Che 依然太麻烦，Codenvy 还提供在线托管的方法。甚至，他们为开源项目的每个贡献者都提供了 4GB 的工作区。使用 Codenvy 的托管选项或者其它的在线托管方式，只需要提供一个 URL 给潜在贡献者，就会自动创建一个包含项目代码的工作区，所有这些只需轻轻点击一下。


除了 Codenvy 之外，Eclipse Che 的贡献者还包括微软、红帽、IBM、三星和许多其它的人或组织。很多贡献者正在致力于开发 Eclipse Che 的定制版本以用于其特定用途。例如，三星的 [Artik IDE](http://eclipse.org/che/artik) 项目用于物联网领域。基于 Web 的 IDE 可能会让一些人失业，但 Eclipse Che 提供很多的机会，并且有很多业内的大公司需要，值得一试。




---


via: <https://opensource.com/life/16/11/introduction-eclipse-che>


作者：[Joshua Allen Holm](https://opensource.com/users/holmja) 译者：[Vic020](http://www.vicyu.net/) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Correctly installing and configuring an integrated development environment, workspace, and build tools in order to contribute to a project can be a daunting or time consuming task, even for experienced developers. Tyler Jewell, CEO of [Codenvy](http://codenvy.com), faced this problem when he was attempting to set up a simple Java project when he was working on getting his coding skills back after dealing with some health issues and having spent time in managerial positions. After multiple days of struggling, Jewell could not get the project to work, but inspiration struck him. He wanted to make it so that "anyone, anytime can contribute to a project with installing software."

It is this idea that lead to the development of [Eclipse Che](http://eclipse.org/che).

Eclipse Che is a web-based integrated development environment (IDE) and workspace. Workspaces in Eclipse Che are bundled with an appropriate runtime stack and serve their own IDE, all in one tightly integrated bundle. A project in one of these workspaces has everything it needs to run without the developer having to do anything more than picking the correct stack when creating a workspace.

The ready-to-go bundled stacks included with Eclipse Che cover most of the modern popular languages. There are stacks for C++, Java, Go, PHP, Python, .NET, Node.js, Ruby on Rails, and Android development. A Stack Library provides even more options and if that is not enough, there is the option to create a custom stack that can provide specialized environments.

Eclipse Che is a full-featured IDE, not a simple web-based text editor. It is built on Orion and the JDT. Intellisense and debugging are both supported, and version control with both Git and Subversion is integrated. The IDE can even be shared by multiple users for paired programming. With just a web browser, a developer can write and debug their code. However, if a developer would prefer to use a desktop-based IDE, it is possible to connect to the workspace with a SSH connection.

One of the major technologies underlying Eclipse Che are [Linux containers](https://opensource.com/resources/what-are-linux-containers), using Docker. Workspaces are built using Docker and installing a local copy of Eclipse Che requires nothing but Docker and a small script file. The first time `che.sh start`

is run, the requisite Docker containers are downloaded and run. If setting up Docker to install Eclipse Che is too much work for you, Codenvy does offer online hosting options. They even provide 4GB workspaces for open source projects for any contributor to the project. Using Codenvy's hosting option or another online hosting method, it is possible to provide a url to potential contributors that will automatically create a workspace complete with a project's code, all with one click.

Beyond Codenvy, contributors to Eclipse Che include Microsoft, Red Hat, IBM, Samsung, and many others. Several of the contributors are working on customized versions of Eclipse Che for their own specific purposes. For example, Samsung's [Artik IDE](http://eclipse.org/che/artik) for IoT projects. A web-based IDE might turn some people off, but Eclipse Che has a lot to offer, and with so many big names in the industry involved, it is worth checking out.

If you are interested in learning more about Eclipse Che, [CheConf 2016](https://eclipse.org/che/checonf/) takes place on November 15. CheConf 2016 is an online conference and registration is free. Sessions start at 11:00 am Eastern time (4:00 pm UTC) and end at 5:30 pm Eastern time (10:30 pm UTC).

## Comments are closed.