'How to display function arguments in Spyder?
I'm using Spyder 2.2.5 with Python 2.7 and I want the editor to display the arguments of the function I'm calling after I type the first parenthesis. I know it's possible, because I can see it in the video-tutorials I'm using. I've tried (at least I think so..) all menu-items. Getting crazy here, please help!
Solution 1:[1]
You can activate the object inspector to display the documention of the function itself by enabling automatic connections for your editor or console. It will then show you the function parameters as you press the left parenthesis.
To enable it go to Tools > Preferences > Object Inspector . Under Help-> Automatic connections check your desired programming environment and enable plug-in.
Solution 2:[2]
I have a similar problem. The arguments pop-up shows up only until I start typing, so I have a problem if I forget what the latter arguments are. A workaround is to move the cursor on the function and press Ctrl
+ i
. It shows the function documentation in help window, including its definition.
Solution 3:[3]
For Spyder 3:
Tools > Preferences > Help > Automatic Connections and then tick all the workspaces you want it to show functions' arguments.
Solution 4:[4]
Go to View > Window layouts > Spyder Default Layout. This resets the Spyder IDE to the defaults, and the object inspector will function again (worked for me).
Solution 5:[5]
Tools > Reset Spyder to factory defaults
it fixed my problem
Solution 6:[6]
often would need to restart Spyder to have the inline help
Solution 7:[7]
Install kite from tools menu, which will resolve your issue
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Shiny |
Solution 2 | Andrzej Gis |
Solution 3 | teoman |
Solution 4 | Carlo Carandang |
Solution 5 | General Grievance |
Solution 6 | Rohit Sharma |
Solution 7 | Antro Francis |