Open phollox-arch opened 2 years ago
Hi @phollox-arch thank you for the feedback! I think this is due the change to use a more simple editor for the History plugin (so now it only has syntax highlighting). The F9 seems handy but not sure how complex could that be. What do you think @spyder-ide/core-developers ?
F9 is what Octave use. It can be any other key that makes sense for the devs. But I'll be happy with just a right click option into the context menu. Something that eliminates the need to copy, switch tab, paste, and then switch again to history and repeat for another line. That's all
Hi @phollox-arch,
Thanks for opening this issue! We have to double check that there's no other functionality with F9 that we override by doing this. I believe this change shouldn't be that hard to implement, if you have some bandwidth maybe you can give us a hand with this and we can guide you in creating the PR.
To note, the key chosen isn't terribly important, as so long as the shortcut is registered, it can be easily overriden in the keyboard shortcuts editor in Spyder's preferences. The latter also makes it simple to search for any other functionality using F9
; I currently have it mapped to debug but I don't believe that is the default (I'm not sure what is, if anything).
Thanks for the positive feedback about my suggestion.
I'm not a developer. I just use Python as a tool for my work, and I'm migrating my scripts to Python from Matlab/Octave, where this option to interact between the command history and the terminal is already there.
The F9 itself is not important. It can be anything, even just a contextual menu option without shortcut, as long as the option to execute from the Command History exist, avoiding copy and paste.
Thanks again.
On Thu, 4 Nov 2021, 04:54 CAM Gerlach, @.***> wrote:
To note, the key chosen isn't terribly important, as so long as the shortcut is registered, it can be easily overriden in the keyboard shortcuts editor in Spyder's preferences. The latter also makes it simple to search for any other functionality using F9; I currently have it mapped to debug but I don't believe that is the default (I'm not sure what is, if anything).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spyder-ide/spyder/issues/16718#issuecomment-960434661, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOOFZRGWBHKRESCIMXHZ26LUKIG2DANCNFSM5HILZQ5A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
This is not an issue. More like a feature request.
I really miss the ability to select something in the command history, press F9 and it gets executed. Avoids the need to copy and paste.
Sorry if this is not the right place to post this