Python Forum

Full Version: How can I make a short-key in Spyder (Python IDE)?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can I make a short key, by either creating some keyboard combination or by an actual button click somewhere in the Spyder IDE for making the following actions:

1) clear my console pane
2) clear all variable from Variable Explorer
3) close all open figure

THANKS !!!
CTRL-SHIFT-W closes all plots

The little eraser icon at the top of the variable window clears variables. I don't see a shortcut for that.

Typings cls in the console will clear it. For a shortcut key, use CTRL-L.
(Nov-01-2020, 08:18 PM)jefsummers Wrote: [ -> ]CTRL-SHIFT-W closes all plots

The little eraser icon at the top of the variable window clears variables. I don't see a shortcut for that.

Typings cls in the console will clear it. For a shortcut key, use CTRL-L.

Thank you. I've meant how can this done with a single click? I want to be able clear all the above mentioned THREE domains with a single click of a button on some custom made short-key, or with some custom made keyboard combo...like CTRL+D (just as an example).
It looks like not yet. Spyder 5 is slated for release end of this year. Maybe with that.

Then of course is the debate https://xkcd.com/378/