Closed ghost closed 3 years ago
Hi @ba-tno,
This depends on the information retrieved by the PyLS and sometimes it is filled with information that may help you, while in some cases there's no information to show. I'm going to move this issue to our ux repository so we can discuss what will be the expected behavior for these tooltips.
Thanks for reporting!
@steff456, I think this is really a bug because Spyder shouldn't try to display hovers for strings and comments, which is what's happening right now and basically the problem reported by the user.
@ba-tno, I'm going to close this one in favor of issue https://github.com/spyder-ide/spyder/issues/16079 and fix it in our 5.1.0 version, to be released at the end of the month.
try this Tools > Preferences > Completion and linting > Introspection and deactivate the option called Enable hover hints.
ref: https://stackoverflow.com/questions/59225879/how-to-hide-hover-tooltips-on-spyder-4
@ZaamlamLeung That's not really a solution as that disables all hover hints, not only the empty ones.
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
A useless tooltip appears above the contents of string, list and dictionary variables informing the user that no documentation is available on the contents of the variable.
What steps reproduce the problem?
What is the expected output? What do you see instead?
I expect to see no tooltip, instead a tooltip with the the following text appears:
String
List
Dictionary
Paste Traceback/Error Below (if applicable)
Versions
Dependencies