Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print all keyboard shortcuts to cheatset #3275

Closed
timmie opened this issue Jul 1, 2016 · 9 comments
Closed

Print all keyboard shortcuts to cheatset #3275

timmie opened this issue Jul 1, 2016 · 9 comments

Comments

@timmie
Copy link

timmie commented Jul 1, 2016

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
#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)

@goanpeca
Copy link
Member

goanpeca commented Jul 1, 2016

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

image

@timmie
Copy link
Author

timmie commented Jul 2, 2016

@goanpeca This would be perfect!

@goanpeca goanpeca self-assigned this Jul 2, 2016
@ccordoba12 ccordoba12 changed the title feature-request: print all keyboard shortcuts to cheatset Print all keyboard shortcuts to cheatset Jul 2, 2016
@goanpeca goanpeca removed their assignment Jul 27, 2016
@rlaverde
Copy link
Member

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

shortcuts_draft

@ccordoba12
Copy link
Member

ccordoba12 commented Jul 28, 2016

@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?

@goanpeca
Copy link
Member

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?

@timmie
Copy link
Author

timmie commented Jul 28, 2016

@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.

@rlaverde rlaverde self-assigned this Feb 2, 2017
@ccordoba12 ccordoba12 added this to the v3.2 milestone May 10, 2017
@cybervigilante
Copy link

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

@ccordoba12
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants