Is there an API way to get a list of all open windows/workspaces? #1815
-
For my extension, Workspace Sidebar, I would like to be able to mark open workspaces visually so someone can see which ones are open in other windows. I couldn't see any way in the API to get access to this kind of information. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @sketchbuch , AFAIK, there is no API available. I had a similar idea for my Project Manager extension, and back then I thought about controlling it myself inside the extension, using a shared memento in the global storage. In the end, the idea lost priority and I didn’t code anything. Hope this helps |
Beta Was this translation helpful? Give feedback.
-
I was just looking, but will give up on this idea. I can tell when a workspace opens but there is no way to know if a workspace closes or if a window closes. I found some requests for listening for window close but or for listen to a command (which might also work) but both were rejected. |
Beta Was this translation helpful? Give feedback.
Hi @sketchbuch ,
AFAIK, there is no API available.
I had a similar idea for my Project Manager extension, and back then I thought about controlling it myself inside the extension, using a shared memento in the global storage. In the end, the idea lost priority and I didn’t code anything.
Hope this helps