Skip to content

feat(commands): refresh Solution Explorer after cleaning bin/obj folders #33

Closed

Description

@CalvinAllen

Problem

After Super Clean deletes bin/obj folders on disk, Solution Explorer continues to display the deleted files until the user unloads/reloads each project. This is especially visible when Show All Files is enabled for a project — bin/obj nodes remain in the tree even though the underlying files are gone.

Visual Studio's Tools › Options › Detect when file is changed outside the environment setting does not catch these deletions reliably for bin/obj folders.

User Report

I noticed that the projects are not refreshing in Solution Explorer -- the bin folder still shows all the files that are actually deleted in the file system. If I unload/reload the project, the files no longer show. The 'Show All Files' must be enabled for each project to see bin/obj folders.

Desired Behavior

After Super Clean finishes deleting bin/obj for a project (or all projects in a solution), the extension should trigger a refresh of the affected node(s) in Solution Explorer so the stale entries disappear without requiring a manual unload/reload.

Notes

  • Solution-level invocation should refresh every cleaned project.
  • Project-level invocation should refresh just that project.
  • Skipped Web Site projects should not be touched.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions