-
Notifications
You must be signed in to change notification settings - Fork 302
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
"Live" output #70
Comments
Hi @N2ITN , are you running Python or other languages? I meet with this issue with Python, while JS and other languages is working normally with 'live' output. {
"code-runner.runInTerminal": true
} It will let you run code in built-in terminal with 'live' output. |
Seems like you already try using integrated terminal. 😄 Not sure whether you are running Python or others. |
Yes, you're right about me using Python. However, in some scenarios (ex:
using Keras) the output streams normal, but for others, no text is
displayed until the end (ex: calling a script to convert a folder of
files). Any thoughts on why this happens? Thanks!
…On Thu, Feb 2, 2017 at 8:52 PM, Jun Han ***@***.***> wrote:
Seems like you already try using integrated terminal. 😄 Not sure whether
you are run Python or others.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#70 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALiC01ZvwaGV1iVYR4BSHHbyCSCine00ks5rYrKXgaJpZM4Lx_3M>
.
|
This can be fixed for Python by adding:
to your settings.json file. Other executors might have similar settings. By default I think using "python -u" should probably be the default in vscode-code-runner |
Hi all, I just publish a new release. Now, "python -u" is the default setting. Thank you all! |
I noticed this app only shows the output of code after it's 100% finished running.
When I'm running data / time intensive tasks, it's nice to have a live output as the task computes, similar to a terminal.
Is there a way to enable this currently without using the integrated terminal? If not, it would be an excellent addition.
The text was updated successfully, but these errors were encountered: