tinkerun / tinkerun-vscode

The missing way of running tinker in Visual Studio Code
https://tinke.run/vscode
MIT License
56 stars 2 forks source link

Reset current connection at runtime #4

Closed eporsche closed 3 years ago

eporsche commented 3 years ago

Great extension - thx! Just one request:

Would it be possible to reset the current connection at runtime?

My use case is to switch the connection for the same query without closing vscode.

I can think of two possible solutions:

  1. A keyboard shortcut which resets the current connection and triggers the "run on" menu
  2. Possibility to assign different .php files with a default connection (could be made confgurable in the tinkerun.json)
eporsche commented 3 years ago

Nevermind - I am just killing the terminal with a shortcut and the connection will be reset.