Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top