Skip to content

Expanding Pipenv should refresh the children #782

Description

@TylerLeonhardt

Testing #776

  • pipenv install pytest
  • Open Environment Managers
  • Expand Pipenv
  • 🐛 my newly made environment is not there

If I manually refresh the view, then it shows up. We should refresh on expansion.

Activity

  1. eleanorjboyd commented on Sep 3, 2025

    @eleanorjboyd
    Member

    great idea!

  2. TylerLeonhardt commented on Sep 3, 2025

    @TylerLeonhardt
    MemberAuthor

    This should probably apply to most if not all of these different tree items. Not just pipenv

  3. added a commit that references this issue on Sep 8, 2025
    5b29669
  4. eleanorjboyd commented on Sep 8, 2025

    @eleanorjboyd
    Member

    ok so this requires adding a file watching to the path where pipenv create venvs (which is not in the project). Going to leave this as a feature request and I can implement it if enough people have interest in the pipenv refresh action.

  5. github-actions commented on Sep 8, 2025

    @github-actions

    Thanks for the feature request! We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  6. karthiknadig commented on Sep 8, 2025

    @karthiknadig
    Member

    For this one, we should detect FS events from pipenv locations to auto-refresh. This is something we already do for conda.

  7. TylerLeonhardt commented on Sep 8, 2025

    @TylerLeonhardt
    MemberAuthor

    why not listen to:

    https://github.com/microsoft/vscode/blob/3892c2f4a91fb19b413e346f36e032730277f72c/src/vscode-dts/vscode.d.ts#L12080

    and then refresh? This would work for all the items in the tree

  8. karthiknadig commented on Sep 8, 2025

    @karthiknadig
    Member

    That is a good one to try. But, then users have to collapse and expand to get refresh. But we could support that.

  9. eleanorjboyd commented on Sep 12, 2025

    @eleanorjboyd
    Member

    Also given the way we have it setup right now, it gets stuck in an endless loop if I attempt to trigger a refresh on expand. Refresh cause a re-load of the view so it just keeps calling itself. Would have to make some design changes to stop this from occurring

  10. added a commit that references this issue on Oct 23, 2025
    574801a
  11. locked as resolved and limited conversation to collaborators on Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-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