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 setting to disable icon for "Run Python File In Terminal" #6921

Closed
jkatofsky opened this issue Aug 9, 2019 · 7 comments
Closed

Add setting to disable icon for "Run Python File In Terminal" #6921

jkatofsky opened this issue Aug 9, 2019 · 7 comments
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality

Comments

@jkatofsky
Copy link

jkatofsky commented Aug 9, 2019

This enhancement added an icon to run the "Run Python File In Terminal" command. However, as I already have the Code Runner extension which I use to run code of multiple languages, there are now two code-running icons in the top right of my window:

Screen Shot 2019-08-09 at 2 11 36 PM

Could there be a setting to disable this addition for those who wish to?

@jkatofsky jkatofsky added triage-needed Needs assignment to the proper sub-team feature-request Request for new features or functionality labels Aug 9, 2019
@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Aug 12, 2019
@brettcannon
Copy link
Member

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes your idea gets to help us make our decision.

@joeparis
Copy link

As I pointed out in #7034, the Code Runner extension 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 (see the screenshot below).

Screenshot of the VSCode window with two run code buttons

Please add the option to hide the "Run Python File in Terminal" button provided by the Python extension. Having the Python extension's button shown by default makes perfect sense but I would greatly appreciate a way to disable it.

@qubitron
Copy link

I wanted to add in what we'd discussed previously about how to handle the duplicate code-runner extension button:

  • Fix the code runner extension so that it uses the correct PythonPath
  • Automatically hide the run python file button if the code runner extension is installed

@joeparis
Copy link

I wanted to add in what we'd discussed previously about how to handle the duplicate code-runner extension button:

  • Fix the code runner extension so that it uses the correct PythonPath
  • Automatically hide the run python file button if the code runner extension is installed

@qubitron

Either of these sound good to me. I'm even happy to have the Python file button shown by default with a config option to hide it.

@gramster gramster added area-environments Features relating to handling interpreter environments and removed feature-interpreter labels Oct 10, 2019
@ThaJay
Copy link

ThaJay commented Oct 17, 2019

Has there been a discussion on this?
I don't usually do independent python files and I have personal issues with unused UI elements.

@luabud
Copy link
Member

luabud commented Oct 29, 2019

Now that the extension's button is hidden if the Code Runner extension is enabled, is this still desired by people? I believe the votes for the initial comment were from the time when both buttons were displayed.

@jkatofsky
Copy link
Author

Now that the extension's button is hidden if the Code Runner extension is enabled, is this still desired by people? I believe the votes for the initial comment were from the time when both buttons were displayed.

This addresses the reason for which I opened the issue; however, I can't speak to whether others would like to have a universal option to disable the button.

I'm going to close this issue and leave it up to others in the thread to decide if they want to keep making suggestions for this feature on their own. Thank you!

@ghost ghost removed the needs decision label Oct 30, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Nov 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

7 participants