Describe the bug
With two queries separated by at least one blank line, ALT + F5 should run the query that the cursor is on. I don't remember when this last worked, but I believe it did before the fix to #9570 . (That one wouldn't run highlighted queries.)
I ran into this with 9.15 and 9.16 (just installed)
To Reproduce
Have two queries in a query window, such as below:
F5 would run both queries, and break because there are no semicolons. In the past, ALT + F5 would run the query the cursor was on or next to, so if you had the cursor on select 2, then 2 would return without error. ALT + F5 currently does nothing on 9.16.
Steps to reproduce the behavior:
- Open query tool
- type in some queries with line breaks between them.
- highlight one query
- try pressing ALT + F5
Expected behavior
selected (but not highlighted) query under the cursor will execute
Error message
No error message, the key combo does nothing.
Screenshots
Expected setting for that key combo, under Query Tool -> Keyboard shortcuts
Desktop (please complete the following information):
- OS: Windows 11
- pgAdmin version: 9.15, 9.16
- Mode: Desktop
- Package type: None
Additional context
Please don't regress #9570 when addressing this issue!
Describe the bug
With two queries separated by at least one blank line, ALT + F5 should run the query that the cursor is on. I don't remember when this last worked, but I believe it did before the fix to #9570 . (That one wouldn't run highlighted queries.)
I ran into this with 9.15 and 9.16 (just installed)
To Reproduce
Have two queries in a query window, such as below:
F5would run both queries, and break because there are no semicolons. In the past,ALT+F5would run the query the cursor was on or next to, so if you had the cursor onselect 2, then 2 would return without error.ALT+F5currently does nothing on 9.16.Steps to reproduce the behavior:
Expected behavior
selected (but not highlighted) query under the cursor will execute
Error message
No error message, the key combo does nothing.
Screenshots
Expected setting for that key combo, under Query Tool -> Keyboard shortcuts
Desktop (please complete the following information):
Additional context
Please don't regress #9570 when addressing this issue!