[
https://issues.apache.org/jira/browse/NETBEANS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16267127#comment-16267127
]
Christian Lenz commented on NETBEANS-189:
-----------------------------------------
So it is not possible, to open a simple SQL file, w/o having a connection and
to have the usage of the code completion. NetBeans should be aware of that,
that the connection shouldn't be required and should only have code completion
for the keywords and should show nothing for table or columns.
> 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
> Attachments: 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
(v6.4.14#64029)