-
Notifications
You must be signed in to change notification settings - Fork 290
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
Ask user if they want to send shift-enter to Interactive Window #3647
Comments
Hi @IanMatthewHuff , So within an .py file in "Jupyter Style" (#%% Run Cell), I can easily decide, if the code shall run on Jupyter or Terminal. Eric |
@EED85 Hmm, I think that our current implementation does actually hide the send to terminal command when you start sending selection to the interactive windows instead. But I see your point that both command could be useful. I'll look into it. |
thx :-) |
Indeed, would be great to have both; it would be much more flexible than a global setting. Use case: I have a running kernel with tons of loaded stuff; being still able to send things to terminal lets me quickly test out things and scripts without touching the main kernel. |
@aldanor , I believe what you're asking for is already possible within VS Code. If you go to File | Keyboard Shortcuts, you can get to something like this: In that image I double clicked on the second 'Run Selection' command and changed the keyboard shortcut to 'ALT+ENTER'. Now 'SHIFT+ENTER' sends a cell/line to the interactive window and 'ALT+ENTER' sends it to the terminal. |
Hi, |
First time shift enter + Jupyter installed = prompt user to ask for changing the global setting to send shift-enter to ipython window.
The text was updated successfully, but these errors were encountered: