question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor: Popup showing function arguments only displayed for 3 seconds

See original GitHub issue

Description

In the editor, when I type the name of a function and a left parenthesis, Spyder displays a helpful popup showing the function’s arguments. Unfortunately, this is only displayed for 3 seconds, and then disappears. It would be helpful if this popup stayed visible for longer, possibly until I type the closing parenthesis or move the text cursor off of the line.

What steps will reproduce the problem?

  1. Type the name of a function, followed by the left parenthesis
  2. The helpful popup appears
  3. Wait 3 seconds
  4. The helpful popup disappears, and I am sad

Version and main components

  • Spyder Version: 3.0.0b1 (happens in 2.3.x as well)
  • Python Version: 2.7.10
  • Qt Versions: 4.8.6, PyQt4 (API v2) 4.10.4 on Windows

Optional dependencies

pyflakes >=0.5.0:  0.9.2 (OK)
pep8 >=0.6      :  1.6.2 (OK)
pygments >=1.6  :  2.0.2 (OK)
IPython >=3.0   :  3.2.0 (OK)
zmq >=13.0.0    :  14.7.0 (OK)
pandas >=0.13.1 :  0.16.2 (OK)
sphinx >=0.6.6  :  1.3.1 (OK)
rope >=0.9.4    :  0.9.4 (OK)
jedi >=0.8.1    :  0.8.1 (OK)
matplotlib >=1.0:  1.4.3 (OK)
sympy >=0.7.3   :  0.7.6 (OK)
pylint >=0.25   :  None (NOK)

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
ccordoba12commented, Dec 20, 2016

So I tried VS Code, which maintains the tooltip open until the user decides to close it (by typing Up or Down arrows), and it works quite nicely!!

So now I fully agree with you guys, and you can expect a PR at the end of this week 😉

1reaction
akhouribhanucommented, Jul 15, 2016

@ccordoba12 : Definitely, there should be an option to customise. As you wrote earlier, as long as you keep your mouse over menu, it will be visible. But, as soon as you start typing code, It will be gone. As you know, there are many parameters/arguments available with a function, and one cannot memorise it all after looking it once. When you are in middle of writing a function, and you are stuck as you forget the parameter/arguments you are suppose to use.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I disable pop-up suggestion for function arguments ...
Go to Tools > Options . · Select Text Editor in the left pane. · Select the language you are using (in your...
Read more >
Notify function in Power Apps
It will dismiss automatically in 10 seconds (default timeout) if the user does not dismiss it or press the button again.
Read more >
Popups and window methods
A popup window is one of the oldest methods to show additional document to user. Basically, you just run: window.open('https:// ...
Read more >
VBScript - Popup Method
The Popup Method displays text in a pop-up message box. It displays a message box regardless of which host executable file is running...
Read more >
Mac Automation Scripting Guide: Displaying Dialogs and ...
For complete information about the display dialog command and its parameters, launch Script Editor, open the Standard Additions scripting ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found