Issue
In MATLAB, there I can place the cursor on a function name and press Ctrl+D, the file containing the function will automatically open. Is there any way I can do something similar with Python, within the Spyder IDE?
Solution
In Spyder you can jump to the definition of a function (or class) by holding CTRL and clicking on the function (or class) name/reference. If that definition is in an other file, that file will be opened.
Ctrl + Leftclick
EDIT as commented by @pwagner
Rightclick -> Goto Definition
and
Ctrl + G
also work
Answered By - PeterE
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.