Skip to content

Conversation

@helin24
Copy link
Member

@helin24 helin24 commented Aug 29, 2024

Fixes #7617

In my first pass, I'm having trouble finding the right IntelliJ/Java API that would allow us to attach a refresh action to only one tab within a tool window (for example, if there are multiple apps running, there will be an inspector tab for each app). So I'll probably try to land this as refreshing all tabs in a tool window for now.

I also can't find how to add the action to the menu (toolWindow.setAdditionalGearActions seems like the obvious method, but didn't work), so I just made it a separate button. I figure that's more visible anyway:

Screenshot 2024-08-29 at 1 05 24 PM

I'm going to open a separate issue to further discuss multiple app / multiple tab per tool window situations.

@helin24 helin24 requested a review from jwren August 30, 2024 16:04
@helin24 helin24 force-pushed the tool-window-refresh branch from b49643d to 7e66ebc Compare September 3, 2024 17:02
@helin24 helin24 merged commit 6dff1f5 into flutter:master Sep 3, 2024
@helin24 helin24 deleted the tool-window-refresh branch September 3, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to reload a tool window tab

2 participants