vscode-sqltools icon indicating copy to clipboard operation
vscode-sqltools copied to clipboard

Run the line with cursor on (accessibility)

Open ullaskunder3 opened this issue 2 years ago • 3 comments

  • currently in the .sql execution file shows only two options Run on active connection and Select block

  • now instead of showing the option in that modal menu show it with the other top hover option Run selected query solution

  • why the execution result message does not show up console Screenshot from 2023-08-02 21-18-33

ullaskunder3 avatar Aug 02 '23 15:08 ullaskunder3

Have you tried changing the sqltools.results.reuseTabs setting?

gjsjohnmurray avatar Aug 02 '23 15:08 gjsjohnmurray

@gjsjohnmurray my bad you are right :) that one solved "sqltools.results.reuseTabs": "connection"

  • Still it would be great the option UI (accessibility) so I dont have to select then go to option modal menu and click on Run Selected Query
  • just like other sql UI client we can have a something like run the line with cursor on

what do you think ?

ullaskunder3 avatar Aug 02 '23 15:08 ullaskunder3

+1 for the part of the request that asks to run the statement on the current line. This involves developing logic that automatically selects all of the statement that the cursor is currently in. It's a bit clumsy to first select the whole block before you can do Ctrl-E Ctrl-E.

tvogel avatar Nov 07 '23 14:11 tvogel