10

Is there a way to integrate standard Python documentation into Eclipse? So it will be possible to press F1 on an API function and get its description in the Help view of Eclipse.

I use PyDev.

Thanks.

Mogsdad
  • 44,709
  • 21
  • 151
  • 275
kishkin
  • 5,152
  • 1
  • 26
  • 40

4 Answers4

8

I've had the same problem, so I kinda made an Eclipse plugin for that purpose.

Or download from Sourceforge

alexeyhaidamaka
  • 168
  • 1
  • 9
5

PyDev, nor Eclipse, does not provide integrated on-line help for the Python documentation. Unlike with Java, Python API source code documenting has several competing documentation standards and implementing support for them would be difficult.

However if the function under the cursor can be resolved its docstring is shown in a pop-up note.

http://www.python.org/dev/peps/pep-0257/

Also because Python is dynamic language, as opposite to static languages like Java, you rarely can resolve functions to their source in code development time.

Using Python console debugger you can use the help() command when the application is being run

  >>> help(obj.myfuction)  
Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
  • Thank you for your answer! I know about help() and pop-up hint on a function and use them all the time. But for examples and more detailed documentation I go [here](http://docs.python.org). It's a pity that those docs could not be integrated (any way it will be relly hard to do) into IDE. – kishkin Jan 10 '12 at 09:07
  • 1
    I personally use duckduckgo.com as my browser search engine. If you type in query !python xxx it will search from Python docs. Also if you type in !pypi xxx it will search from Python package repositories. – Mikko Ohtamaa Jan 10 '12 at 09:32
  • Looked through [http://duckduckgo.com/tech.html](http://duckduckgo.com/tech.html). Many nice "!" things. Thanks! – kishkin Jan 10 '12 at 12:05
1

None that I know of, but that would be very useful in pydev. You should suggest it in the eclipse pydev forum ,or code it yourself! If I was still a CS student I'd help..

WeaselFox
  • 7,220
  • 8
  • 44
  • 75
0

Zeal - https://zealdocs.org/

Although I do not see how to integrate it in Eclipse, it is pretty useful next to it on your desktop. And it is not only Python docs, but may more. A real life saving stuff this Zeal docs!


Just a footnote: I do not use Eclipse that much as I switched to PyCharm and Jupyther.

kishkin
  • 5,152
  • 1
  • 26
  • 40