Nova.workspaces array

For extensions I’m working on, it would be nice if there were a nova.workspaces array that listed all open workspaces. I would like to do nova-wide operations based on what files are open, not just run commands in the current workspace, but I don’t seem to have any way to do that, currently.

Unfortunately, this would likely not be a simple addition.

Each workspace runs extensions in their own, sandboxed JavaScript virtual machine, and there is no communication between them (each is constrainted to its own thread / event queue, similar to individual tabs in a web browser).

It’s possible we could consider some communication method between them (simple message passing), but it’s not likely that we would add support for full control of other workspaces from a single one.