Intellij IDEA 与 Webstorm 的区别是什么,哪个更好?

Intellij IDEA : java + 前端(html,css,js)

Webstorm : 前端(html,css,js)

phpstorm : php +前端(html,css,js)

intellij是webstorm的超集。webstorm的所有功能intellj都有。

这都是同一家公司的产品,和其他的pycharm,phpstorm等等软件一样,都是Intellij idea的子集。webstrom是写前端最顺手的ide,因为它对web 前端做了优化,自动安装了很多前端插件(可以打开两款软件的插件选项,一目了然),天然支持创建前端的主流框架应用程序,调试也会更方便。

而Intellij idea虽然功能最强,其他软件的功能都可以靠装插件在Intellij idea上实现,但是写前端的页面体验是没有webstrom好的,如果想做到和webstorm类似的手感,需要手动配置很多选项。同样的,pycharm写python代码会更有优势,phpcharm写php代码会更有优势。

所以,写java程序还是用Intellij idea要好些。除非你是混合项目,嫌麻烦不想来回切软件,Intellij idea才需要安装更多的插件,不然把Intellij idea搞一堆插件,实在没啥好处。

Stackoverflow上有人问了同样的问题,JET的开发人员是如下回答的。All of the functionality of our lightweight IDEs can be found within IntelliJ IDEA (you need to install the corresponding plug-ins from the repository).所有轻量的IDEs的功能,都能在IDEA上找到,只需要你下载相应的插件。It includes support for all technologies developed for our more specific products such as Web/PhpStorm, RubyMine and PyCharm.例如:Web/PhpStorm, RubyMine and PyCharm.The specific feature missing from IntelliJ IDEA is simplified project creation ("Open Directory") used in lighter products as it is not applicable to the IDE that support such a wide range of languages and technologies. It also means that you can't create projects directly from the remote hosts in IDEA.IDEA所缺失的功能仅仅是简化项目创建(打开目录)If you are missing any other feature that is available in ligher products, but is not available in IntelliJ IDEA Ultimate, you are welcome to report it and we'll consider adding it.如果你发现什么功能轻量版上有,而IDEA没有,请告诉我们,我们会考虑加上。While PHP, Python and Ruby IDEA plug-ins are built from the same source code as used in PhpStorm, PyCharm and RubyMine, product release cycles are not synchronized. It means that some features may be already available in the lighter products, but not available in IDEA plug-ins at certain periods, they are added with the plug-in and IDEA updates later.由于开发周期不同,可能IDEA的插件更新会晚一些。

我专门做了一个实验对比了WebStorm 和 IDEA的内存消耗。

用四款软件(最新版 2018.08.28)打开同一个项目,五分钟之后的内存情况,如上图。

虽然Intellij IDEA 是 WebStorm的超集,但是很明显,这个超集的内存管理比他的子集更好。

看来,Intellij IDEA 是Jet 公司的拳头产品,所谓lightweight 的IDEs 在 IDEA面前不堪一击。

就在官网Ultimate vs. Community - Compare Editions | IntelliJ IDEA