You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:
drag and drop or by
using the status bar selector and selecting a new connection.
Regarding supporting associated an editor with multiple connections, I wonder if we could do something like:
Add an action that shows a multi-select for selecting 1-n selections to run the editor against
Have it remember last selection for the editor
Tweak the tree views such that an editor can be associated with multiple connections. You can already add / remove them there. Would just need to have it not assume a drag and drop to another connection means to remove from previous
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.
The text was updated successfully, but these errors were encountered: