eclipse IntelliJ 与 STS(SpringSource 工具套件),我使用其中一个或另一个缺少什么,我可以使它们具有等效的比较功能吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7395815/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
IntelliJ vs STS (SpringSource Tool Suite), what am I missing by using one or the other and can I make them feature equivalent for comparsion?
提问by
I've been using STS (just started to use and learn it slowly) but some users here where I work use IntelliJ. I was wondering what exactly STS comes with that can make it better/easier to use vs. IntelliJ and vice versa. Also I was wondering if there are any plugins or ways to make IntelliJ feature equivalent to whatever could be possibly missing vs STS and vice versa so I can do an equal and fair comparison.
我一直在使用 STS(刚开始使用并慢慢学习),但我工作的一些用户使用 IntelliJ。我想知道 STS 到底带有什么可以使它与 IntelliJ 相比更好/更容易使用,反之亦然。此外,我想知道是否有任何插件或方法可以使 IntelliJ 功能与 STS 可能缺少的任何功能等效,反之亦然,以便我可以进行平等和公平的比较。
Thanks!
谢谢!
Edit,
编辑,
I will say that STS takes AGES to load vs IntelliJ for some reason so if someone knows how to tweak STS to open faster I'd love to know. Even on this new MBP 15" with i7 and 4GB of ram it feels way too slow opening up and is excruciatingly frustrating when it hangs.
我会说由于某种原因,STS 需要 AGES 来加载与 IntelliJ 相比,所以如果有人知道如何调整 STS 以更快地打开,我很想知道。即使在这款配备 i7 和 4GB 内存的新 MBP 15" 上,打开时也感觉太慢,并且在挂起时令人极度沮丧。
回答by IcedDante
It's 2016 and STS has come a long way. I favor it over IntelliJ for many reasons. Some are Eclipse specific and others are pre-packaged with STS (but can be installed into an Eclipse distro).
现在是 2016 年,STS 已经走过了漫长的道路。出于多种原因,我更喜欢它而不是 IntelliJ。有些是特定于 Eclipse 的,而另一些是使用 STS 预先打包的(但可以安装到 Eclipse 发行版中)。
The most valuable is the Quick Text Search.STS will index all the text in all files in your project. Ctrl+Shift+L opens the dialog and you can type any text in the bar. All occurences of the string instantly appear across all files.
最有价值的是快速文本搜索。STS 将索引项目中所有文件中的所有文本。Ctrl+Shift+L 打开对话框,您可以在栏中键入任何文本。字符串的所有出现都会立即出现在所有文件中。
I like the ability to organize imports in over IntelliJ and greatly favor the look and feel of the IDE. I've used Eclipse/STS for much longer than I have IntelliJ so I am a bit biased here.
我喜欢在 IntelliJ 上组织导入的能力,并且非常喜欢 IDE 的外观和感觉。我使用 Eclipse/STS 的时间比使用 IntelliJ 的时间长得多,所以我在这里有点偏见。
The ability to natively handle different file types and frameworks is IntelliJ's greatest strength. I work on Grails projects from time to time and support for the latest and greatest with Grails is non-existent anymore within the Eclipse/STS family, whereas IntelliJ provides good support.
原生处理不同文件类型和框架的能力是 IntelliJ 最大的优势。我不时参与 Grails 项目,Eclipse/STS 系列中不再支持 Grails 的最新和最伟大的项目,而 IntelliJ 提供了很好的支持。
BTW: STS is free(!) whereas you can't even buy IntelliJ anymore. You merely lease the software for a year under their new subscription model.
顺便说一句:STS 是免费的(!),而您甚至不能再购买 IntelliJ。您只需在他们的新订阅模式下租用软件一年。
回答by Basanth Roy
Go to Window->Preferences->Validation
转到窗口->首选项->验证
Uncheck what you don't need. That will speed up the loading a bit.
取消选中您不需要的内容。这会稍微加快加载速度。
Modify eclipse.ini to set the Xmn(new generation size), Xms and Xmx, enable parallel GC
修改eclipse.ini设置Xmn(new generation size)、Xms和Xmx,开启并行GC
-Xmn128m
-Xms1024m
-Xmx1024m
-Xss2m
-XX:PermSize=128m
-XX:MaxPermSize=128m
-XX:+UseParallelGC
回答by Amit Patil
I used STS for around 2 years, and recently tried Intelij [Community] for spring web development. I found IntelliJ much better in
我使用 STS 大约 2 年,最近尝试使用 Intelij [Community] 进行春季 Web 开发。我发现 IntelliJ 在
- performance
- usability
- features
- Keyboard shortcuts save a lot of time (No need to use a mouse at all)
- File formats supported
- Debugging window
- 表现
- 可用性
- 特征
- 键盘快捷键可以节省大量时间(根本不需要使用鼠标)
- 支持的文件格式
- 调试窗口
But web development and spring development is not supported in community version of Intelij, so you need enterprise version, which costs a lot [At least for Indian customers]
但是Intelij的社区版不支持web开发和spring开发,所以需要企业版,成本很高【至少对印度客户而言】
So, for spring development I always prefer STS and for other development (I work on Vertx as well) I prefer Intelij
所以,对于 spring 开发,我总是喜欢 STS 和其他开发(我也在 Vertx 上工作)我更喜欢 Intelij