[ 
https://issues.apache.org/jira/browse/NETBEANS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686489#comment-16686489
 ] 

Christian Lenz commented on NETBEANS-189:
-----------------------------------------

I attached an image, how IntelliJ handles this. So in general you have Code 
completion for normal/advanced keywords in SQL files, w/o the need of a 
connection. But there is a notification which shows you, that you should better 
configure a data source/connection to get advanced code assistance, which is 
quite good. So I can use IntelliJ for SQL files with Code completion and 
writing my SQL w/o using a connection, This is not possible with NetBeans.

> SQL editor, shouldn't ask evertime to set the connection
> --------------------------------------------------------
>
>                 Key: NETBEANS-189
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-189
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: db - SQL Editor
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>         Attachments: SQL Notification.png, required-connection.gif
>
>
> Of course, the SQL editor doesn't make sense, if you don't set a connection 
> to see databases, tables and columns, but sometimes or often, you only want 
> to scratch a SQL query and you want the code completion for the SQL stuff, 
> like the keywords (SELECT, FROM, WHERE) or aggregate functions (COUNT, AVG, 
> etc.) So this is not possible, without setting a connection. But when I don't 
> have a connection, I can't use the code completion, becauses it will ends up 
> in a loop. See my little screen capture for what I mean.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to