-
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
Run Selection/Line in Python Terminal does not work with empty spaces #1207
Comments
Is it possible, that this function should execute the
} |
Confirm, the same issue here VS Code version: 1.21.1 |
I think what people are after is a feature enhancement to strip blank lines from the code sent to the REPL to prevent the REPL from interpreting the code's newline as the end of a block. |
Actually, when I select some correct code and I press on the "execute selection" button, then I would expect that the selection will be executed. This is not the case. |
@michaelnarodovitch if you want to submit a PR for your proposed change we would happily review it. |
Environment data
Actual behavior
Selecting
and running "Run Selection/Line in Python Terminal" [ / python.execSelectionInTerminal ] produces an error.
Expected behavior
Console should print
Logs
The text was updated successfully, but these errors were encountered: