You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (Jira)" <ji...@apache.org> on 2020/11/27 21:39:00 UTC

[jira] [Commented] (NETBEANS-188) Please add support for code completion while typing

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

Matthias Bläsing commented on NETBEANS-188:
-------------------------------------------

Actually SQL completion it pretty much in line with the java editor. In the java editor you don't getting random completion when you start typing. Only after hitting a "." you get an automatic popup. I can imagine, that a completion like the one in phpmyadmin could be helpful, but it needs better completion first. I have not looked to deep into options, but one question that comes to mind is, do we need context sensitive completion, or could a completion on the SQL keywords work? 

If completion based on SQL grammar is implemented, completion without a connection would make more sense.

When a connection is open, functions and (some) keywords can be queries from the connection properties. These could flow into completion.

> Please add support for code completion while typing
> ---------------------------------------------------
>
>                 Key: NETBEANS-188
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-188
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: db - SQL Editor
>    Affects Versions: Next
>            Reporter: Christian Lenz
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: sqlCodeCompletion.gif
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Afaik, the SQL Editor, is the only one, where you don't have code completion, while typing. It only appears after you hit ctrl + space, which is weird. It should be there per default. If not, there should be an option that code completion should always be possible, in any cases and you can deactivate it, if you don't want it.
> For each keyword, table, view whatever, I have to type a character and hit ctrl + space. It would be very nice to have the same code completion feature as in java or other languages, that the code completion comes up, while typing. For example:
> Type "S" -> code completion should come immediately and should show you the results. Same for everything like tables, views, databases, aliases and columns.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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