简体   繁体   English

PyCharm中更好的代码预测

[英]Better code prediction in PyCharm

I'm trying various IDE for development on Python. 我正在尝试使用各种IDE进行Python开发。 Basic requirement better code-prediction and git association. 基本要求更好的代码预测和git关联。 I really liked PyCharm, but code-prediction is somewhat better in PyDev. 我真的很喜欢PyCharm,但是在PyDev中代码预测要好一些。

Here is a comparison of code prediction side-by-side (Left - PyDev, Right - PyCharm) 这是并行进行代码预测的比较(左-PyDev,右-PyCharm)

PyDev的 在此处输入图片说明

Here is What I've tried so far - 这是我到目前为止尝试过的-

1) Restart, Re-install 1)重新启动,重新安装

2) Enabled Collect run-time types information for code insight 2)已启用Collect run-time types information for code insight

(UPDATE) (UPDATE)

Code is being predicted, when I'm using Python Console in PyCharm, but not in editor. 当我在PyCharm中使用Python控制台而不是在编辑器中时,正在预测代码。 PyCharm中的Python控制台

You will be surprised but if you are using windows try VS community edition with Python plugin. 您会感到惊讶,但是如果您使用Windows,请尝试使用带有Python插件的VS社区版。 intellisense just works. 智能才行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM