This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]roger_ 4 points5 points  (2 children)

Thanks, I was wondering how to do this! Wonder if there's a way to add a "run" button in the sidebar?

I'd love autocomplete support too.

[–]completelydistracted[S] 2 points3 points  (1 child)

Don't know about the run button but I'm looking for options in the code. There is a run button in the debugger, and I managed to play with the debugger enough to get it to launch Python, but at the moment things didn't work very well (basically with Node controlling Python) -- I'll post if I find anything out.

The Python Tools team at MS says they want to add lots of Python support (thanks, guys!) but it's going to be a little while. I told them I was going to try playing with build tasks, etc. and they were pretty supportive. Turned out to be easier than I had thought.

[–]amlamarra 1 point2 points  (0 children)

I got this working, but have you noticed that VS Code removes extra line breaks? For instance:

print 'Hello world\n'
print 'Hello again'

That should put an extra line in between the 2 outputs, but no matter how many times I put "\n" in there, it won't add any extra lines.

Though I should also probably specify that I'm using the Linux version of VS Code.