Skip to content

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

Closed

Description

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?

Activity

  1. ghost removed
    triage-neededNeeds assignment to the proper sub-team
    on Aug 12, 2019
  2. brettcannon commented on Aug 12, 2019

    @brettcannon
    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.

  3. joeparis commented on Aug 21, 2019

    @joeparis

    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.

  4. qubitron commented on Aug 22, 2019

    @qubitron

    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
  5. joeparis commented on Aug 30, 2019

    @joeparis

    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

    Dan Taylor (@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.

  6. ThaJay commented on Oct 17, 2019

    @ThaJay

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

  7. luabud commented on Oct 29, 2019

    @luabud
    Member

    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.

  8. jkatofsky commented on Oct 30, 2019

    @jkatofsky
    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!

  9. locked as resolved and limited conversation to collaborators on Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-environmentsFeatures relating to handling interpreter environmentsfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions