2

NetBeans 6.5 with Python support provides the docstring documentation for a function/method in a popup when auto-completing, but is there another way to view docstrings?

Perhaps achieved by mousing over a function/method name, or clicking somewhere?

The best I can seem to do is "Go to source" in the right-click menu.

1
  • Hmm... I'd be interested to know how to do the same in PHP. In Netbeans 6.7 Beta, holding Ctrl + hovering does display a popup, but it just gives the type and source file, not the docstring documentation you get from autocompletion. Commented Apr 30, 2009 at 14:05

3 Answers 3

3

I received the following answer from Tor Norbye at Sun:

Hold the ctrl key (or Cmd on Mac) and then hover.

Also, Ctrl-Shift-Space (e.g. code completion + shift) will display -just- the completion doc (which means it doesn't just look at the prefix of the caret, but the whole identifier and left hand side type if it can resolve it, to compute one specific match rather than many).

Sign up to request clarification or add additional context in comments.

Comments

0

You can also use this keyboard shortcut on Mac. Shift + Meta + Backslash

Comments

0

You may be referring to the function Show Documentation Popup in Netbeans

Try

Ctrl+Shift+SPACE or

Ctrl+Shift+BACK_SLASH

related: How to see Javadoc documentation on mouse hover in NetBeans?

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.