Viewing PyDoc with code completion

2019-06-25 10:42发布

问题:

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: