Skip to content
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

Add a "play" button to run python file in terminal #5321

Closed
luabud opened this issue Apr 16, 2019 · 22 comments
Closed

Add a "play" button to run python file in terminal #5321

luabud opened this issue Apr 16, 2019 · 22 comments
Labels
area-terminal feature-request Request for new features or functionality

Comments

@luabud
Copy link
Member

luabud commented Apr 16, 2019

It'd be nice to add that at the top right (on the editor groups)
image

@ghost ghost added the triage-needed Needs assignment to the proper sub-team label Apr 16, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Apr 17, 2019
@DonJayamanne
Copy link

We might instead want to contribute to existing extension.

@DonJayamanne DonJayamanne added feature-request Request for new features or functionality feature-* labels Apr 17, 2019
@luabud luabud added area-terminal needs PR needs proposal Need to make some design decisions and removed feature-* labels Jun 4, 2019
@brettcannon
Copy link
Member

Provide a setting to hide the button (on by default).

@brettcannon brettcannon added experimenting Feature is part of an experiment needs PR needs proposal Need to make some design decisions and removed needs proposal Need to make some design decisions needs PR labels Jun 26, 2019
@brettcannon brettcannon added this to the 2019 - June Sprint 13 milestone Jun 26, 2019
@ericsnowcurrently ericsnowcurrently self-assigned this Jul 8, 2019
@ericsnowcurrently
Copy link
Member

@qubitron, it sounds like you want to experiment with different icons. Would you mind noting here what you have in mind?

@karrtikr
Copy link

validated

@ghost ghost removed experimenting Feature is part of an experiment needs proposal Need to make some design decisions labels Jul 30, 2019
@qubitron
Copy link

qubitron commented Aug 5, 2019

/cc @luabud not sure if I would consider this closed until we make this available to 100% of users!

@luabud luabud added the triage-needed Needs assignment to the proper sub-team label Aug 6, 2019
@DonJayamanne DonJayamanne removed the triage-needed Needs assignment to the proper sub-team label Aug 6, 2019
@joeparis
Copy link

Provide a setting to hide the button (on by default).

I would very much like to have the option to hide the provided "Run Python File in Terminal" button. I have the Code Runner extension installed as it provides a similar capability for many languages and I now have two such buttons in the tab group whenever I have a Python file open.

@karrtikr karrtikr removed their assignment Aug 14, 2019
@ericsnowcurrently
Copy link
Member

ericsnowcurrently commented Aug 20, 2019

@joeparis, please create a new issue (enhancement request) for that. I'll create one as soon as I can if you don't beat me to it, but it may be more correct if you do it. :)

@joeparis
Copy link

joeparis commented Aug 20, 2019

@joeparis, please create a new issue (enhancement request) for that. I'll create one as soon as I can if you don't beat me to it, but it may be more correct if you do it. :)

@ericsnowcurrently Done, issue #7034. Thanks!!

And immediately closed as a duplicate of #6921

@yzhang-gh
Copy link

I saw this in the 2019.8.0 (6 August 2019) release notes but didn't see the "play" button. 🤔

(I am using version 2019.8.30787 (13 August 2019))

@ericsnowcurrently
Copy link
Member

@joeparis, yeah, sorry, I didn't notice it was a duplicate.

@brettcannon
Copy link
Member

@yzhang-gh we're A/B testing this feature, so if you didn't fall into the experiment group you won't see the button.

@yzhang-gh
Copy link

@brettcannon Thanks for the clarification. I would suggest making a separate "experimental features" section in the release notes. It is a bit confusing.

image

@luabud
Copy link
Member Author

luabud commented Sep 10, 2019

We still need to add a setting to disable the button

@luabud luabud added needs PR and removed experimenting Feature is part of an experiment labels Sep 10, 2019
@DonJayamanne
Copy link

We still need to add a setting to disable the button

Why?

@karrtikr
Copy link

@DonJayamanne Here #6921

@DonJayamanne
Copy link

What about the comment here #6921 (comment) ?

@luabud @karrtikr /cc
I prefer and have always pushed for the same solution that had been suggested by @qubitron.
Adding a setting seems unnecessary. I.e. if we detect the coderunner extension is installed why can't we just hide the button, less settings, less documentation... Etc..
Raising this as I'm not convinced @quibtron comment has been taken into account.

@karrtikr
Copy link

@DonJayamanne I agree.

@qubitron
Copy link

The feedback from users was to have a setting to hide the play button, so it's clear we don't need to be any fancier than that. Before we hide our button, we first need to contribute to the code runner extension to fix it so that they use the correct python path. Either way some action is needed before we can finish this work in the next sprint.

@DonJayamanne
Copy link

DonJayamanne commented Sep 11, 2019

we first need to contribute to the code runner extension to fix it so that they use the correct python path

This should fix the problem. Along with automatically hiding out button. We just need to decide on an approach.

@ericsnowcurrently ericsnowcurrently removed their assignment Sep 16, 2019
@luabud
Copy link
Member Author

luabud commented Sep 16, 2019

For now I'm proposing that we hide this button if the code runner extension is enabled. Also, we could use these icons:

https://github.com/microsoft/vscode-icons/blob/master/icons/light/play.svg
https://github.com/microsoft/vscode-icons/blob/master/icons/dark/play.svg

@luabud luabud added the experimenting Feature is part of an experiment label Sep 16, 2019
@luabud
Copy link
Member Author

luabud commented Oct 15, 2019

Closing as this has been shipped in version 2019.10.41019.

@luabud luabud closed this as completed Oct 15, 2019
@ghost ghost removed experimenting Feature is part of an experiment needs PR labels Oct 15, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-terminal feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

8 participants