Viewing PyDoc with code completion

人盡茶涼 提交于 2019-12-23 15:24:30

问题


Above is PyCharm and below is Eclipse with PyDev.

How do I show the PyDoc tooltip along with the autocomplete window like in Eclipse+PyDev? I've seen a few screenshots of PyCharm which show exactly this (eg. http://i.imgur.com/wIvAt.png) but I cannot figure out how to make mine work this way. I tried IDE Settings>>Editor>>Code Completion>>Auto popup documentation in ms, set it to 0, but it seems to have no effect, I still have to press Ctrl-Q to view the PyDoc.


回答1:


This feature works only on the explicit code completion (when you press Ctrl+Space to start the completion). It will not appear on automatic code completion. Settings dialog mentions it:



来源:https://stackoverflow.com/questions/14001399/viewing-pydoc-with-code-completion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!