Is there any way to open/update a page in browser in a named tab?
I've added a feature to my plugin that allows users to preview/show content for the plugin's custom markup languages in the browser. I'm currently using BrowserUtil.browse() to do this. The problem is that every time the action is invoked, a new tab is created in the browser (obviously based on how the browser is configured, of course). In a perfect world I'd prefer to have a new tab(/window) opened the first time a given piece of content is sent to the browser, then have that same tab(/window) updated in-place on subsequent actions. Is there any way to do this?
请先登录再写评论。
FYI, I added a webBrowserUrlProvider for these files as well, but it has the same behavior of always using a new tab/window.