基于文本(命令行)的Java IDE [英] Text (command line) based Java IDE

查看:151
本文介绍了基于文本(命令行)的Java IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能是问题标题可能对你来说看起来很奇怪,但是我会尝试解释一下。

Probably question title might looks strange for you, but I'll try to explain.

我正在寻找桌面电脑的替代品,理想情况下,我需要的是编辑源码直接在我的linux dev-server上。在dev服务器上我没有任何xwindows只是命令行。所以我想使用Putty,开发,构建,运行,提交更改到源代码管理系统来登录服务器。

I do looking alternative of desktop eclipse, ideally what I need is to edit sources directly on my linux dev-server. On dev server I don't have any xwindows just command line. So I would like to login to server using Putty, develop, build, run, commit changes to source control system.

从文本编辑器我需要:


  • 语法高亮

  • autocomletion(至少基本)

  • 快速导航槽项目文件

  • 基本重构:更改类名称?将类移动到其他
    包,更改方法签名

  • 运行构建而不需要离开编辑器窗口

  • 运行svc / git命令,无需离开编辑器窗口

  • syntax highlight
  • autocomletion (at least basic)
  • quick navigation trough project files
  • basic refactoring: change class name? move class to other package,change method signature
  • run build without need to leave editor window
  • run svc/git commands without need to leave editor window

从第一眼看,emancs似乎是我需要的,但我不确定。

From the first glance emancs seems to be what I need, but I don't sure.

谢谢。

推荐答案

我认为你的做法不好。直接在您的开发服务器上开发不是一个好习惯。但这不是问题...

I think that you approach is not good. Developing directly on your devel server is not a good practice. But it's not the question...

个人而言,我最喜欢的编程文本编辑器是emacs。我也是一个Java开发人员。我正在使用Eclim。根据 Eclim网站

Personally, my favorite text editor for programming is emacs. I'm also a Java developer. I'm using Eclim. According to the Eclim Website :


eclim的主要目标是将Eclipse功能带入Vim编辑器。最初的目标是在vim中提供Eclipse的Java功能,但是已经添加了许多其他语言(c / c ++,php,python,ruby,css,html,xml等)的支持,还有几个计划。 >

The primary goal of eclim is to bring Eclipse functionality to the Vim editor. The initial goal was to provide Eclipse’s java functionality in vim, but support for various other languages (c/c++, php, python, ruby, css, html, xml, etc.) have been added and several more are planned.

正如我所说,我主要使用Emacs。所以,我正在使用 emacs-eclim (Vim插件非常酷和先进):

As I said, I use mainly Emacs. So, I'm using emacs-eclim (the Vim plugin is very cool and advanced) :


Eclim是一个通过服务器界面公开Eclipse功能的Eclipse插件。当启动此服务器时,命令行实用程序eclim可用于向该服务器发出请求。

Eclim is an Eclipse plugin which exposes Eclipse features through a server interface. When this server is started, the command line utility eclim can be used to issue requests to that server.

Emacs-eclim使用eclim服务器将eclipse与emacs集成。该项目希望将eclipse中的一些无价的功能带到emacs。

Emacs-eclim uses the eclim server to integrate eclipse with emacs. This project wants to bring some of the invaluable features from eclipse to emacs.

如果您使用Emacs,还可以使用JDEE模式。就个人而言,我不喜欢这种模式:太复杂,维护不够。

If you use Emacs, you can also use the JDEE mode. Personally, I don't like this mode : too complicated, not enough maintained.

这篇关于基于文本(命令行)的Java IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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