View Pydev code?

I am trying to use pydev to execute some python (can't say I have good times so far). I finally got code completion for the libraries I'm using, but I'm still curious about a few things ...

So, the library I'm using is called orange. Let's say I call the orange.MakeRandomIndices2 function, but I'm not sure how it works ... I want to see the source code for this function, or at least some useful information about this usage. Is there a way to do this from my ideal?

Also, while debugging I could do the same ... step into this function and debug it internally ... I can't do this and I just don't understand WHY seeing that I have a source of code on my hard disk.

Thank. JC

+2


source to share


1 answer


When you hover over a function or class, Pydev should show you a docstring. Click on a function / class and then press F3 and you will be taken to the definition of that function / class. If it doesn't, you probably haven't configured Pydev correctly. Review the documentation again, making sure you have followed all the steps. If that still doesn't work, the Pydev author is very active and helpful on pydev mailing lists.



When you debug your code, F5 goes into a function. F6 will step over.

+2


source







All Articles