为 scala 开发一个 IDE 是个好主意吗?

发布于 2024-10-09 15:23:18 字数 233 浏览 3 评论 0 原文

我必须为我的下一个项目选择一个相当大(但不是太大!)的项目。大学最后一个学期。我想也许世界现在需要一个不错的 scala IDE :)。

您想看看专门为 scala 制作的 IDE 吗?或者您是否更习惯使用流行(主要是 java)IDE 和应用程序的(已经可用的)插件?编辑?

您对整个想法有何看法?

PS我会把它开源&会一一添加功能,所以如果不是一学期就结束的话,从大学的角度来看也不是问题。

I have to choose a sizable (but not too sizable!) project for my next & last term in university. I thought maybe a nice IDE for scala is what the world might need right now :).

Would you like to see an IDE specifically made for scala? Or are you more comfortable using (the already available) plugins for popular (mainly java) IDEs & editors?

What do you think about the whole idea?

P.s. I'd make it open source & would add features one by one, so if it doesn't end in one semester, it won't be a problem from the university perspective.

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

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

发布评论

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

评论(6

星星的轨迹 2024-10-16 15:23:18

事实上,不再是了。 IntelliJNetbeansEclipse 都有专门针对 Scala 的努力,比你上学期开始投入的工时还要多。有两项非常有趣的工作是此类项目的成果,这两项工作都是为了为任何 IDE 工作做出贡献:ENSIMEScala 重构

而且,除了这些努力之外,大多数编程编辑器(例如 jEdit 或 TextMate)也都具有一定程度的 Scala 支持。

因此,实际上,为其中一个项目做出贡献可能是个好主意,但制作 Scala IDE 则不然。

Actually, not anymore. IntelliJ, Netbeans and Eclipse all have Scala-specific efforts that have more man-hours in it than you could possible start to begin putting in at a last term. And there's two very interesting efforts that were results of projects like that, both of which were made to contribute to any IDE effort: ENSIME and Scala Refactoring.

And, beyond these efforts, most programming editors, such as jEdit or TextMate, also have some Scala support to one degree or another.

So, really, contributing to one of these projects might be a good idea, but making a Scala IDE is not.

第几種人 2024-10-16 15:23:18

在他的硕士论文中,Mirko Stocker 为 Eclipse Scala 插件贡献了重构功能,请参阅:

http://misto.ch/scala-refactoring-talk-at-scala-days-2010/

与其从头开始创建 IDE,为什么不为 Eclipse 插件提供主要功能,欢迎所有贡献。有关想法,请参阅门票

For his Masters thesis, Mirko Stocker contributed the refactoring functionality to the Eclipse Scala plugin, see:

http://misto.ch/scala-refactoring-talk-at-scala-days-2010/

Instead of creating an IDE from scratch, why not contribute a major piece of functionality to the Eclipse plugin, all contributions are welcome. For ideas, see tickets.

半山落雨半山空 2024-10-16 15:23:18

或者,您可以做出贡献,而不是重新发明轮子。
http://wiki.netbeans.org/Scala

但我不确定它是否足以满足你的大学工作。同时,如您所见,这些插件仍然需要大量工作。

在编写自己的 IDE 时,您将只是尝试解决已经解决和测试过的问题。此外,即使 - 那是什么样的IDE,它可以让你做
仅 Scala(即使它很棒)。因此,对于 ant 文件或任何其他文件的简单 xml 编辑,您将需要另一个工具。

我认为布莱恩·克拉珀(Brian Clapper)已经很好地总结了这一点。

Or instead of reinventing the wheel.. you can contribute..
http://wiki.netbeans.org/Scala

But I am not sure if it will be somehow enough for your university work. At the same time, as you see, those plug-ins still require a lot of work.

While writing your own IDE you will just trying to solve problems that were already solved and tested. Besides, even if - what kind of IDE is that, which allows you to do
Scala (even if its great) only. So just for simple xml edit of ant file or whatever you will need another tool.

I think Brian Clapper already summed it up nicely.

ㄖ落Θ余辉 2024-10-16 15:23:18

我建议像 CheckStyle 这样的东西,但对于 Scala 来说可能会很好并且可以合理地作为一个项目来解决。

I'd suggest something like CheckStyle but for Scala might go down well and be reasonable to tackle as a project.

慕巷 2024-10-16 15:23:18

不是 Scala 开发人员,而是 Eclipse 插件可能是一个有价值的高级项目。

Not a Scala developer but an Eclipse plug-in would probably be a worthy senior project.

音栖息无 2024-10-16 15:23:18

同意。操作系统、文本编辑器和 IDE……世界真的需要更多它们吗?不,但每个人都想写一个。

如果您想做一些有用的事情,而不仅仅是学术性的事情,请为现有 IDE 开发扩展。 Eclipse、NetBeans、Komodo 等都可以通过插件很好地扩展。

Concur. Operating systems, text editors, and IDEs...does the world really need more of them? No. But everyone wants to write one.

If you want to do something useful, as opposed to simply academic, develop an extension for an existing IDE. Eclipse, NetBeans, Komodo, etc. are all nicely extensible through plugins.

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