suskycode / database-navigator

Automatically exported from code.google.com/p/database-navigator
0 stars 0 forks source link

Editor loses focus on carriage return when executing statements #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type in a query in a SQL file e.g. "select sysdate from dual;"
2. click on the "Execute Statement" green triangle button
3. query result shows in DB execution console and the windows focus changes to 
the result table data. 

What is the expected output? What do you see instead?
I expect the focus remain on the editor window. I assigned a shortcut to 
'Execute statement' action, so I want to be able to change and execute my SQL 
repeatedly without having to use mouse.

What version of the product are you using? On what operating system?
Intellij 12, Windows 7

Please provide any additional information below.
This is a great plugin, and fixing this small issue will make coding efficiency 
increase a lot. I hope this is a fair request. The major SQL IDEs (e.g. Toad, 
SQL Developer) behave the same way that they never lose editor focus. Thanks!

Original issue reported on code.google.com by haopeng....@gmail.com on 12 Jun 2013 at 5:06

GoogleCodeExporter commented 9 years ago
Please note that the bug tracker has moved to youtrack platform.
This issue was copied over to http://dci.myjetbrains.com/youtrack/issue/DBN-79

This is a fair request. Will try to fix it in the upcoming release. 

Original comment by cioca...@googlemail.com on 13 Jun 2013 at 12:41

GoogleCodeExporter commented 9 years ago
Added configuration to decide whether to focus result after statement execution 
(people may still need to start navigating in the result right after execution)

DBN Settings > Execution engine > Statement Execution
default value: false 

Original comment by cioca...@googlemail.com on 22 Jun 2013 at 10:46