Skip to content

Mirror the Build view into the file Explorer - #16

Open
ChrisonSimtian wants to merge 1 commit into
feature/build-view-restructurefrom
feature/build-explorer-dock
Open

Mirror the Build view into the file Explorer#16
ChrisonSimtian wants to merge 1 commit into
feature/build-view-restructurefrom
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

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

1 participant