Closed joel23888 closed 6 years ago
Currently it is possible to connect to several processes, to switch between them you need to click the grin name below. I guess it is possible to add a function that can be associated with a hot key to switch between connections. To remember a server for each line seems an overkill.
One use case I have is within one q file I need to run different lines (or blocks) of code on different q processes, some which cannot be connected to each other at the q level (eg development and production environments). I thought it may be useful to allow one line or block of code to point to one q process, and another piece code to point to another q process. For example:
Workflow:
qserver1
)qcode1
) and run it onqserver1
qcode2
), and while the cursor is in the line (or with selected text for a block) open a connection to another q process (qserver2
) and runqcode1
would be associated withqserver1
andqcode2
associated withqserver2
. Further q code would be associated withqserver2
until I make a new connection to another q processqcode1
could be switched to another q process by selecting it (or positioning the cursor in the line) and connecting to another q processqcode1
andqcode2
etc the status bar would update to reflect the active q serverLet me know if above is useful or anything is not clear. Happy to provide more details on the use case.