Shortcut key to execute current line only without selection
Completed
Currently, pressing F6 or Ctrl + Enter will execute the selected line(s), or the whole scripts if no selection, but no shortcut key can execute current line only without selection.
The requirement is based on that, we usually want to execute current line immediately after finished typing the statement, without select the whole line first as this is unnecessary and waste time.
Similar feature has provided by Oracle SQL Developer.
Hi Leo,
This feature will be included in next release.
Hi Leo,
This feature will be included in next release.
This is implemented in 3.1.1
This is implemented in 3.1.1
Hi, what's the shortcut of it? I can't find the tool tips about this in the version 3.1.1.
Hi, what's the shortcut of it? I can't find the tool tips about this in the version 3.1.1.
The shortcut is F4, you could find it in the command palette(Cmd(Ctrl)+Shift+P).
The shortcut is F4, you could find it in the command palette(Cmd(Ctrl)+Shift+P).
Hi, thanks for implementing my requirement! If you allowed, I would advise further enhancement as below (it is just the same feature provided by Oracle SQL Developer and I think it is very help to improve efficiency):
Currently, the "Run/Execute Current Line" command really only execute current line statement, this is only work for script as below:
But not useful for:
For above second code snippet, according to SQL Developer, no matter the cursor located at line 1, line 2 or line 3, the execute current line command can correctly execute the whole statement. This feature just requires developer put the ";" at the end of every SQL, so that the command knows where is the beginning and where is end.
Hi, thanks for implementing my requirement! If you allowed, I would advise further enhancement as below (it is just the same feature provided by Oracle SQL Developer and I think it is very help to improve efficiency):
Currently, the "Run/Execute Current Line" command really only execute current line statement, this is only work for script as below:
But not useful for:
For above second code snippet, according to SQL Developer, no matter the cursor located at line 1, line 2 or line 3, the execute current line command can correctly execute the whole statement. This feature just requires developer put the ";" at the end of every SQL, so that the command knows where is the beginning and where is end.
We're looking for a solution.
We're looking for a solution.
it's done in version 3.1.2
it's done in version 3.1.2
Good job!
Just one minor bug and please see if can be enhanced.
Take below code for example, if the cursor at line #2 or line #6, the F4 (execute current line) function doesn't run as expected and just return "use strict".
Good job!
Just one minor bug and please see if can be enhanced.
Take below code for example, if the cursor at line #2 or line #6, the F4 (execute current line) function doesn't run as expected and just return "use strict".
It's done in version 3.1.3
It's done in version 3.1.3
Great and thanks!
Great and thanks!
Is it possible to change the 'Run' short-cut to F5?
Is it possible to change the 'Run' short-cut to F5?
You can not configure shortcut keys in the current version.
You can not configure shortcut keys in the current version.
In the release 3.1.5.
Changed: Bind shortcut F5 to “Run/Execute Current Statement”, replacing F4.
New: CTRL+F5 to execute the current statement into a new tab sheet.
New: CTRL+F6 to execute the entire/selected script into a new tab sheet.
In the release 3.1.5.
Changed: Bind shortcut F5 to “Run/Execute Current Statement”, replacing F4.
New: CTRL+F5 to execute the current statement into a new tab sheet.
New: CTRL+F6 to execute the entire/selected script into a new tab sheet.
Thanks!
Is it able to also change the Ctrl+Enter to execute current statement?
Thanks!
Is it able to also change the Ctrl+Enter to execute current statement?
We do not intend to change CTRL+ENTER.
We do not intend to change CTRL+ENTER.
Replies have been locked on this page!