質問

In PyDev, when cursor hovers function name, tooltip with docstring text appears.

Is there way to assign a hotkey on this event, for viewing docstrings using only keyboard?

役に立ちましたか?

解決

As far as I know, there is no direct keyboard shortcut for this when working with PyDev. For JDT, CDT or PDT F2 should work, but it does not in PyDev.

However, as an alternative, you can hit CTRL+SPACE which brings up the content assist, which will show the documentation right next to it.

Btw: the hover tooltip does not show the docstring only, but the whole content of a method.

Here is how the content assist should look like:

enter image description here

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top