Open chipkent opened 2 months ago
This comes down to how we handle environments... we have the "Run Deephaven File"/"Run Deephaven selected lines" actions, and we don't want to prompt every time you run those if you have multiple environments. Perhaps we have an extra "Run Deephaven ... " action that allows you to select a different server, and the quick actions show the previously used server? @bmingles what do you think? We could also show the currently associated server with the quick actions as well (and/or code lens, along with a "change server" in the code lens).
Just to call out the existing functionality in case it isn't disoverable. Files can be moved to another connection via:
Regarding supporting associated an editor with multiple connections, I wonder if we could do something like:
DH connections are now associated with files. This is odd. What if I want to run a file against two different servers? For example, I could have one script that is always run against two servers, where each server computes half of the universe. Similarly, a script could be run against a production and a backup server.