Toggle all code blocks open/closed in Google AI Studio. First click always closes all code blocks.
目前為
Introduces the ability to manage code block visibility in Google AI Studio. Adds a toolbar button to instantly collapse or expand all code snippets for a cleaner workspace.
expand_less/expand_more) to indicate the next action.mat-expansion-panel-header elements inside code blocks and programmatically clicks them if their current state (aria-expanded) differs from the target state.MutationObserver to ensure the button persists across the dynamic single-page application lifecycle.expand_less, expand_more) natively available in the app resources.