-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
can't send to Native Python REPL with ⇧&⏎ like send to Jupyter #23988
Comments
Hi @geoqiao Thank you for filing this issue. This is bit weird as I see "python.REPL.sendToNativeREPL" in your settings.json Can you head over to the settings UI and see you have checked the setting for send To Native REPL to be true? Check both user and workspace setting and see if toggling both makes a difference. Thanks! |
It does look like workspace setting will effectively overwrite your user setting: https://code.visualstudio.com/docs/getstarted/settings#:~:text=Workspace%20settings%20are%20specific%20to,root%20in%20a%20.vscode%20folder Can you make sure you have the setting checked for workspace and see if that changes anything? |
@geoqiao Thanks for these screenshot. Yes they do look super-fine. That being said, are you able to see start Native REPL command when you launch the command palette? Or do you only see the launch Terminal REPL command |
@anthonykim1 update:today I update vscode to version 1.93.0 and start Native REPL command can be found in the command palette. But I still can't use ⇧ + ⏎ to send code to native python repl. ![]() |
Hi @geoqiao Thanks for the update. Can you try updating the Python extension to the latest version and see if that does anything? |
@geoqiao Thanks for the screenshot. I really can't repro this. |
Thank you for your help, I have now solved the problem: by completely uninstalling VSCode and its configuration files, and reinstalling and setting all settings through the UI interface instead of the settings.json file (by synchronizing the settings.json file, this bug will still be repeated) , so I guess there may be a problem with my settings.json anyway,it's fine now !Thanks again! |
Hey @anthonykim1, this issue might need further attention. @geoqiao, you can help us out by closing this issue if the problem no longer exists, or adding more information. |
I can't send to Native Python REPL with ⇧&⏎ like send to Jupyter
When I select a piece of code and press the shortcut key ⇧ & ⏎, this piece of code is executed in the repl interface of the terminal instead of Native Python REPL.

What I expect is that this code can be executed in Native Python REPL when I press the shortcut key.
Here is my setting.json config, thanks for help me:
The text was updated successfully, but these errors were encountered: