Python Forum
How can I make a short-key in Spyder (Python IDE)? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: How can I make a short-key in Spyder (Python IDE)? (/thread-30693.html)



How can I make a short-key in Spyder (Python IDE)? - moose - Nov-01-2020

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 !!!


RE: How can I make a short-key in Spyder (Python IDE)? - jefsummers - Nov-01-2020

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.


RE: How can I make a short-key in Spyder (Python IDE)? - moose - Nov-02-2020

(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).


RE: How can I make a short-key in Spyder (Python IDE)? - jefsummers - Nov-02-2020

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/