开发人员是否实际使用vim在Windows操作系统上编写代码(Java)? [英] Do developers actually use vim to write code (Java) on a Windows OS?

查看:209
本文介绍了开发人员是否实际使用vim在Windows操作系统上编写代码(Java)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果没有,vim会提供哪些功能? IDE如Eclipse不?为什么在Windows工作站上开发时,可以选择在Eclipse(或IntelliJ,Websphere或其他功能丰富的IDE)上使用vim?请注意,我指的是Java开发和某种程度的编译语言,而不是shell脚本或其他形式的脚本。

解决方案

Java是一个可笑的复杂的语言,我不能想到一个人记住了所有的JDK中的内置类的方法参数和返回类型。由于Java是通过JavaDoc注释进行自我记录,并将其转换为手动页面进行分页,当您有一个像Eclipse这样的IDE,可以调用特定方法或类的特定文档时,似乎毫无意义。

$ b $简而言之,当您使用(g)Vim时,除非您使用了大量的扩展功能,否则大多数时间都会失明,并且大部分逻辑都在头脑中。 (或者,您正在使用屏幕(1),并在其他终端上打开手册页)。



我是Vim的大粉丝,但是对于更大的更多的图书馆重型语言(如Java),我不会使用除Eclipse之外的任何东西。我的一个朋友曾经推测,如果没有智能的IDE,Java开发几乎是不可能的,我同意。


...or is vi/vim only used when developing on a non-Windows OS?

If not, what feature(s) does vim provide that modern IDEs such as Eclipse do not? Why would one elect to use vim over Eclipse (or IntelliJ, Websphere, or other feature-rich IDEs) when developing on a Windows workstation? Note that I'm referring to Java development and to some degree compiled languages, not shell scripting or other forms of scripting.

解决方案

Java is a ridiculously complicated language and I can't think of a single person who has memorized all the method parameters and return types of even the builtin classes in the JDK. Being that Java is self-documenting via JavaDoc comments and turning those into manual pages to be paged through seems pointless when you have an IDE like Eclipse that will call up the specific documentation for a particular method or class.

In short, when you're using (g)Vim, unless you're using some heavy extensions, you're flying blind most of the time and have most of the logic figured out in your head (or, you're using screen(1) and have the man page opened on the other terminal).

I'm a big fan of Vim, but for larger, more library-heavy languages like Java, I wouldn't use anything other than Eclipse. A friend of mine once conjectured that Java development was nearly impossible without an intelligent IDE and I agree.

这篇关于开发人员是否实际使用vim在Windows操作系统上编写代码(Java)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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