Spyder: Print all keyboard shortcuts to cheatset

Created on 1 Jul 2016  路  9Comments  路  Source: spyder-ide/spyder

Spyder has may good shortcuts. But they are well hidden in the preferences dialogue

Tools --> Preferences --> Keyboard shortcuts?

Solution:
add a print (to PDF) function to the keyboard settings so that users can have these open on a separate file while learning the programme.

References:
https://code.google.com/archive/p/spyderlib/issues/578
https://github.com/spyder-ide/spyder/issues/578

What is the expected output? What do you see instead?

Please provide any additional information below

Versions and main components

  • Spyder Version: 3.0.dev
  • Python Version: 2.7
  • Operating system: linux, ubuntu mint 17.3

    Dependencies

jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.1 (OK)
nbconvert >=4.0 : 4.0.0 (OK)
numpy >=1.7 : 1.10.4 (OK)
pandas >=0.13.1 : 0.17.1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 3.3.0 (OK)
pyflakes >=0.5.0 : 1.0.0 (OK)
pygments >=2.0 : 2.0.2 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4 (OK)
sphinx >=0.6.6 : 1.3.1 (OK)
sympy >=0.7.3 : 0.7.6.1 (OK)

Easy Help wanted Ux-usability Enhancement

Most helpful comment

I'm working in this issue, this is the current state, any opinions? improvements? Which shortcut will display the dialog?

shortcuts_draft

All 9 comments

Would a shortcut to display a summary of shortcuts help? Like Ubuntu when leaving the "windows" key
pressed.

image

@goanpeca This would be perfect!

I'm working in this issue, this is the current state, any opinions? improvements? Which shortcut will display the dialog?

shortcuts_draft

@rlaverde, this is really nice!

Just a couple of comments:

  1. The Pylint and Profiler sections look too big, but other than that, I like it very much!
  2. Please test this in other platforms to see how it looks.
  3. This list should be printable somehow. I mean, we could add a _Print_ button to the dialog and a printable representation associated with it. @goanpeca, what do you think?

Hi @rlaverde, thanks for working on this :-)

@ccordoba12 on your comments:

  1. Yes, hmmm maybe if the column rows are smaller than the max allowed, we could add a stretch (layout.addStretch), so that they line up and dont waste space
  2. I can see how it looks on windows and OSX as soon as @rlaverde has a PR
  3. That is a great idea :-p, but Probably we would need to reformat the content?, maybe for another PR cause it might need some extra tweaking?

@ccordoba12 as initial requester I would be happy with the quick display. Maybe saving as image file. But well formatted printing is not needed if let's say WIN+F1 brings this panel up very quickly.

What I could use, but don't see in the displayed shortcuts, is Insert Cell Below, which I constantly use to experiment with things, get info, or correct an error in the cell above

Cells are simply created by comments of the form #%%, so I don't think that needs a shortcut.

Was this page helpful?
0 / 5 - 0 ratings