Skip to content

Mirror the Build view into the file Explorer - #16

Merged
ChrisonSimtian merged 1 commit into
developfrom
feature/build-explorer-dock
Aug 16, 2026
Merged

Mirror the Build view into the file Explorer#16
ChrisonSimtian merged 1 commit into
developfrom
feature/build-explorer-dock

Conversation

@ChrisonSimtian

Copy link
Copy Markdown
Contributor

2/6 of the #2 split. Closes #10. Based on #15 — merge that first.

Adds fallout.buildExplorer, a second home for the build targets docked in the Explorer, collapsed by default so it costs nothing until opened.

The part worth reviewing

It registers the same provider instance, not a second one:

vscode.window.registerTreeDataProvider('fallout.build', provider),
vscode.window.registerTreeDataProvider('fallout.buildExplorer', provider),

So the graph is parsed once and a single refresh() updates both views. A second instance would double the file watching and let the two drift out of sync — one showing a stale graph after a rebuild.

The view/title and view/item/context when-clauses now match either view, which is what makes the run and go-to-definition inline actions behave identically in both homes.

🤖 Generated with Claude Code

@ChrisonSimtian
ChrisonSimtian requested a review from a team as a code owner August 14, 2026 23:41
@ChrisonSimtian ChrisonSimtian added the enhancement New feature or request label Aug 14, 2026
@ChrisonSimtian
ChrisonSimtian force-pushed the feature/build-view-restructure branch from 80e407b to b9fc023 Compare August 14, 2026 23:49
@ChrisonSimtian
ChrisonSimtian force-pushed the feature/build-explorer-dock branch from fd68ec2 to 65888af Compare August 14, 2026 23:49
@ChrisonSimtian
ChrisonSimtian deleted the branch develop August 16, 2026 11:57
@ChrisonSimtian
ChrisonSimtian changed the base branch from feature/build-view-restructure to develop August 16, 2026 11:59
Adds `fallout.buildExplorer`, a second home for the build targets docked in
the Explorer, collapsed by default so it costs nothing until opened.

It is the *same* provider instance, not a second one — so the graph is loaded
once and a single refresh() updates both views. Registering a second instance
would double the file watching and let the two drift apart.

The view/title and view/item/context when-clauses now match either view, which
is why the run/go-to inline actions work identically in both.

Closes #10

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ChrisonSimtian
ChrisonSimtian force-pushed the feature/build-explorer-dock branch from 65888af to 793c084 Compare August 16, 2026 12:10
@ChrisonSimtian
ChrisonSimtian merged commit ebb11b0 into develop Aug 16, 2026
1 check passed
@ChrisonSimtian
ChrisonSimtian deleted the feature/build-explorer-dock branch August 16, 2026 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mirror the Build view into the file Explorer

1 participant