Issue
I am using Spyder 4.0.1, and when I code windows with documentation/completions like the one below pop-up constantly. It's very distracting. However they do remain very useful when I need them!
So how can I configure spyder so that they ONLY appear when I press a macro/hotkey combination (instead of popping up unsolicited all the time)?
By the way I deactivated these windows by going to:
- "preferences/completion and linting/completion" and unticking:
- Show completion details
- Show completions on the fly
- "preferences/completion and linting/advanced" and unticking:
- enable Kite
- enable fallback completions
EDIT
As explained by Carlos Cordoba, activating "enable fallback completions" on its own enabled did not bring any pop-up windows unless I pressed Ctrl + Space. Perfect !
However "enable Kite" on its own makes the following windows pop-up as soon as I type a function name:
Maybe I did something bad in my setup?
Solution
(Spyder maintainer here) You don't need to deactive these options:
- Enable Kite
- Enable fallback completions
to get what you want. That's because by deactivating Show completions on the fly
, completions will only be shown when pressing Tab or Ctrl + Space. Note: Several errors with fallback completions, and completions in general, will be fixed in our 4.1.0 version, to be released later in March 2020.
However, you need to deactivate the option called Enable hover hints
(present in Preferences > Completion and linting > Introspection
) to disable the extra information bubbles displayed in your first screenshot above. Unfortunately, there's no shortcut to show them at will because they depend on the mouse position.
Besides, to hide the bubbles shown after typing an open parenthesis (as displayed in your second screenshot), you need to deactivate the option called Show calltips
(also present in Preferences > Completion and linting > Introspection
).
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.