Repository navigation
Add "Show in Schematic" to the design tree instance menu - #32
Merged
Merged
Conversation
Right-clicking an instance row in the tree now offers "Show in Schematic (replace view)": it sends resolve_instance, and the instance_resolved reply draws the instance alone with every pin open, inside the frames of its enclosing modules -- the same view a host focus_instance push gives. Not offered on the top design, which has no box of its own. Part of #31. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #31 (its first option, "Show schematic").
Right-clicking an instance in the Netlist Hierarchy tree now offers Show in Schematic (replace view). It clears the schematic and draws that instance on its own with every pin open (hollow stubs), inside the frames of its enclosing modules (View > Show Hierarchy). Clicking a pin then grows the view from there.
This reuses the existing path a host
focus_instancepush takes (resolve_instance→instance_resolved→EquipotentialView::showInstance()), so there's no protocol change and both backends already answer it. The entry isn't offered on the top design, which has no box of its own.The issue's "Show full schematic" (a module's internals laid out as a sheet, plus breadcrumb navigation) is left for follow-up PRs.
NetlistTree::sendShowInstance()sends the request byid_path+pathNetlistTree.SendShowInstanceRequestsResolveInstance;TreeReveal.ContextMenuClickDoesNotSelectTheRowUnderItnow clicks the new first menu entry (it checked that a menu click doesn't select the row underneath)🤖 Generated with Claude Code