IntelliJ Python 插件或 PyCharm 的比较

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3339399/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-18 10:31:49  来源:igfitidea点击:

Comparison of IntelliJ Python plugin or PyCharm

pythonideintellij-ideapycharm

提问by Mike

So I have IntelliJ and love it, and have been using the Python plugin for a while. But I noticed that they have PyCharm coming out in beta now. I haven't been using PyCharm since I just use IntelliJ for everything, but is there a compelling reason to buy PyCharm?

所以我有 IntelliJ 并且喜欢它,并且已经使用 Python 插件一段时间了。但我注意到他们现在推出了测试版的 PyCharm。我一直没有使用 PyCharm,因为我只是将 IntelliJ 用于所有事情,但是否有令人信服的理由购买 PyCharm?

采纳答案by yole

Right now PyCharm is quite a bit farther ahead in terms of functionality compared to the Python plugin for IntelliJ IDEA 9. Once we start the EAP for IntelliJ IDEA 10, we'll also release a new version of the Python plugin containing all the latest features of PyCharm, but we don't currently plan to backport the new features to the IDEA 9 version of the plugin. So, if you're OK with using EAP builds of IntelliJ IDEA, you shouldn't need to buy a separate license for PyCharm.

现在,与 IntelliJ IDEA 9 的 Python 插件相比,PyCharm 在功能方面遥遥领先。一旦我们启动了 IntelliJ IDEA 10 的 EAP,我们还将发布包含所有最新功能的新版 Python 插件PyCharm,但我们目前不打算将新功能向后移植到插件的 IDEA 9 版本。因此,如果您可以使用 IntelliJ IDEA 的 EAP 版本,则不需要为 PyCharm 购买单独的许可证。

回答by Joshua Partogi

PyCharm supports django and Google App Engine. The django support is really nice if you use django.

PyCharm 支持 django 和 Google App Engine。如果你使用 django,django 支持真的很好。

回答by Brad Miller

Right now Pycharm does a much better job of detecting and automatically configuring itself to run existing Google App Engine apps. Using IntelliJ and the plugin requires quite a few steps to get an existing project to run.

目前,Pycharm 在检测和自动配置自身以运行现有 Google App Engine 应用程序方面做得更好。使用 IntelliJ 和插件需要很多步骤才能运行现有项目。

In PyCharm all you really have to do is configure a run configuration Script: /path/to/dev_appserver.py Script Parameters: /path/to/your/app

在 PyCharm 中,您真正需要做的就是配置运行配置脚本:/path/to/dev_appserver.py 脚本参数:/path/to/your/app

Make sure you configure Python 2.5.x as your interpreter.

确保将 Python 2.5.x 配置为解释器。

For comparison: In IntelliJ you need to first add a Python module to your project, then add Google App Engine to that perspective. None of that is at all obvious as you are trying to do it as IntelliJ will want to create new module directories rather than use your existing code.

为了进行比较:在 IntelliJ 中,您需要先将 Python 模块添加到您的项目中,然后将 Google App Engine 添加到该透视图。这些都不是很明显,因为您正在尝试这样做,因为 IntelliJ 将想要创建新的模块目录而不是使用您现有的代码。

回答by Jesse Webb

Since this question (and its accepted answer) are older and new versions of both IDEA and PyCharm are available, I figured it would be appropriate to add a new answer without modifying the existing "correct" one...

由于这个问题(及其被接受的答案)是旧的,并且有新版本的 IDEA 和 PyCharm 可用,我认为在不修改现有“正确”答案的情况下添加新答案是合适的……

My company has licenses for both PyCharm 1.5 and IntelliJ IDEA 10.5 and I have used both for regular Python development and Django web app development. From my experience, I have not found any features of PyCharm which were not available to me using the Python plugin for IntelliJ.

我的公司拥有 PyCharm 1.5 和 IntelliJ IDEA 10.5 的许可证,我已经将它们用于常规 Python 开发和 Django Web 应用程序开发。根据我的经验,我没有发现使用 IntelliJ 的 Python 插件无法使用 PyCharm 的任何功能。

This makes sense if you consider the fact thet the Python IntelliJ plugin is actually maintained by the PyCharm developers at JetBrains. The only catch to this is that there could be brand new features released to a new version of PyCharm which would not be immediatelyavailable to the plugin users but it probably wouldn't take them long to port them over.

如果您考虑到 Python IntelliJ 插件实际上是由 JetBrains 的 PyCharm 开发人员维护的事实,这是有道理的。唯一的问题是,新版本的 PyCharm 可能会发布全新的功能,这些功能不会立即提供给插件用户,但他们可能不会花很长时间来移植它们。

If you are considering buying a license for IntelliJ, I would recommend to notalso buy a PyCharm license as it seems like a waste of money. However, if you only do Python related development, I would recommend to only buy the PyCharm IDE instead because its licenses are cheaper than IDEA's.

如果您正在考虑为 IntelliJ 购买许可证,我建议您不要同时购买 PyCharm 许可证,因为这似乎是浪费金钱。但是,如果你只做 Python 相关的开发,我建议你只购买 PyCharm IDE,因为它的许可证比 IDEA 的便宜。

UPDATE (2013-01-23)
I have been recently using IntelliJ IDEA v12 with the latest (2.10.0) python plugin instead of PyCharm. As an experienced IDEA user, this is my preferred situation. For someone with no (or less) IDEA experience, JetBrains actually recommends starting with PyCharm because it's UI is simpler and more focused on productivity within Python projects.

更新 (2013-01-23)
我最近一直在使用 IntelliJ IDEA v12 和最新的 (2.10.0) python 插件而不是 PyCharm。作为有经验的 IDEA 用户,这是我的首选情况。对于没有(或更少)IDEA 经验的人,JetBrains 实际上建议从 PyCharm 开始,因为它的 UI 更简单,并且更专注于 Python 项目中的生产力。

As for feature difference, JetBrains claims that the Python plugin is built from exactly the same source as PyCharm so the features should be identical. The only differences should be with the user experience, where IDEA's plugin is slightly harder to use because that IDE isn't aimed at Python development in the first place.

至于功能差异,JetBrains 声称 Python 插件的构建源与 PyCharm 完全相同,因此功能应该是相同的。唯一的区别应该是用户体验,IDEA 的插件稍微难以使用,因为该 IDE 最初并不是针对 Python 开发的。

JetBrains has a FAQthat has more info about differences between the IDEA plugin and PyCharm.

JetBrains 有一个常见问题解答,其中包含有关 IDEA 插件和 PyCharm 之间差异的更多信息。

回答by philipp

IntelliJ's comarison of IntelliJ IDEA and PyCharm. http://confluence.jetbrains.net/display/PYH/PyCharm+vs.+IntelliJ+IDEA+Python+plugin+FAQ

IntelliJ 对 IntelliJ IDEA 和 PyCharm 的对比。 http://confluence.jetbrains.net/display/PYH/PyCharm+vs.+IntelliJ+IDEA+Python+plugin+FAQ

From their blog:

从他们的博客:

Nov., 22nd 2012- Just a quick heads up: we've just released a version of the Python plugin for the latest Early Access Preview build of IntelliJ IDEA 12 (build 123.4). The plugin includes the entire functionality of the current PyCharm 2.7 EAP, including several features which were previously only available in PyCharm (creating virtualenvs, using remote interpreters, creating UML diagrams for Python code etc.).

201211 月,22 日- 快速提醒:我们刚刚发布了一个 Python 插件版本,用于 IntelliJ IDEA 12 的最新早期访问预览版本(版本 123.4)。该插件包括当前 PyCharm 2.7 EAP 的全部功能,包括以前仅在 PyCharm 中可用的几个功能(创建 virtualenvs、使用远程解释器、为 Python 代码创建 UML 图等)。

Source: http://blog.jetbrains.com/pycharm/2012/11/python-plugin-for-intellij-idea-12-is-now-available/

来源:http: //blog.jetbrains.com/pycharm/2012/11/python-plugin-for-intellij-idea-12-is-now-available/