DBeaver: Remove unecessary press of ENTER in Bind Parameter(s) dialog
See original GitHub issueDBeaver - Version 5.3.2 Beta CE DBeaver driver: MS SQL Server / Microsoft Driver Operating System: Windows 7 / Windows 8.1 / Windows 10 Database Server: Microsoft SQL Express 2014, 2016, 2017
If I run a SQL command in DBeaver that contain a “colon parameter”, when I have enetered the value for all the values in the Bind parameter(s) dialog I need to press the Enter key twice to press the OK button.
DBeaver ought to use a press to the Enter key as both close input for the current value plus press the OK button.
o Start DBeaver and connect to a database.
o Open a SQL Editor and enter the SQL command below:
SELECT * FROM sys.messages
WHERE message_id < :MessageId;
o Execute the SQL command.
o DBeaver pops up the Bind parameter(s) dialog.
o Enter the value 1000 for the parameter :MessageId.
o Press the Enter key once to close the input value.
o Press the Enter key again to have the default OK button pressed.
Ought to suffice to have to press to the Enter key once above.
PS. Another way might be to bind the Execute SQL statement key binding (Ctrl+Enter) to do a close of the input value plus a click to the OK button.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Applying parameters by a single Enter doesn’t sound like a good idea (in case of multiple parameters is may cause problems).
But CTRL+Enter sounds good and convenient.
Nope… I was just thinking more generic. It is totally your call.