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

Feature enhancement: Keyboard shortcut to duplicate a line of code #13893

Closed
seyeeet opened this issue Sep 30, 2020 · 6 comments
Closed

Feature enhancement: Keyboard shortcut to duplicate a line of code #13893

seyeeet opened this issue Sep 30, 2020 · 6 comments

Comments

@seyeeet
Copy link

seyeeet commented Sep 30, 2020

Right now by pressing ctr+D we can delete a line
it would be great to have a Keyboard shortcut to duplicate a line as well.

@jnsebgosselin
Copy link
Member

image

@dalthviz
Copy link
Member

Hi @seyeeet there is currently a way to do that as @jnsebgosselin's screenshot shows. Let us know if that is what you where looking for :)

@seyeeet
Copy link
Author

seyeeet commented Oct 1, 2020

Thank you, that is what I was looking for

@seyeeet seyeeet closed this as completed Oct 1, 2020
@juliepierson
Copy link

Hi all, sorry to reopen this, but with version 6 of Spyder this feature seems to have disappeared ? I can't find any keyboard shortcuts to duplicate lines since I've upgraded Spyder. Thanks !

@ccordoba12
Copy link
Member

@juliepierson, the shortcuts are still working (Alt+Shift+Up/Down) but the problem is that it's not possible to configure them in Preferences in Spyder 6.

That bug was reported before (see issue #22516) and we'll try to fix it in our 6.0.3 version, to be released in a few weeks.

@juliepierson
Copy link

Thanks for your answer, sorry I didn't see the new issue. I'll be waiting for the next release then 😄

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