是否有一个项目可以使用 Eclipse 代码库为 Emacs、VIM 和其他编辑器提供高级语言支持?

发布于 2024-12-02 15:03:23 字数 475 浏览 1 评论 0原文

这里有很多关于 IDE 与编辑器以及哪个更适合现代软件开发的问题。在答案中,通常的一点是 Eclipse 有更好的语言支持,例如 Java 以及其他编辑器在这方面落后。

这就带来了一个问题:为什么要追赶呢? Eclipse 总是拥有更多的开发资源,因此简单地使用 Eclipse 的代码会更有意义。它可以与 Eclipse UI 分离,并且可以在单独的进程中运行,Emacs、Vim 和其他编辑器在需要信息、想要执行智能代码完成或进行一些重构时只需与该进程进行对话。

是否有一个现有的项目试图做到这一点?这将是两全其美:人们可以使用自己习惯的编辑器,同时还可以使用 Eclipse 提供的强大语言支持。

There are lots of questions here about IDEs vs. editors and which is better for modern software development. In the answers a usual point is that Eclipse has much better language support e.g. for Java and that other editors lag behind in this respect.

Which brings the qeustion: why play catch up at all? Eclipse will always have more development resources, so it would make more sense to simply use the code Eclipse has. It could be separated from the Eclipse UI and it could be run in a separate process with which Emacs, Vim and other editors simply talk to when they need information, want to perform intelligent code completion or do some refactoring.

Is there an existing project which attempts to do this? It would be the best of the both worlds: one could use the editor to which one's accustomed to and at the same time the powerful language support provided by Eclipse would also be available.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

楠木可依 2024-12-09 15:03:23

作为一个 vim 爱好者,我不能代表 emacs。关于vim,据我所知,唯一一个将eclipse和vim结合在一起的好项目是eclim。但是,考虑到我的背景(我是一名具有长期 Java 经验的 ruby​​ 开发人员),我推荐使用 Vim 进行 Java 开发。 Eclipse 对于 Java 来说非常好,但我不喜欢混合解决方案。真正的重点与团队有关。很难找到可以在工作环境中使用 Vim 的 Java 开发人员。因此,当我必须为项目选择工具时,我选择了 Eclipse for Java。如果您的需求是个人的,也许您可​​以做不同的考虑并选择 eclim。

As a vim lover I can't speak for emacs. Regarding vim, as far as I know, the only good project that combines eclipse and vim is eclim. But, considering my background ( I'm a ruby developer with a long Java experience) I would not recommend Vim for Java development. Eclipse is very good for Java and I don't like hybrid solutions. The real point is related to teams. It's very difficult to find Java developers that can use Vim in a working environment. So, when I had to choose the tools for a project, I chose Eclipse for Java. If your needs are personal maybe you could do different considerations and would go for eclim.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文