ebresie commented on a change in pull request #2820:
URL: https://github.com/apache/netbeans/pull/2820#discussion_r610665517



##########
File path: 
ide/db.sql.editor/src/org/netbeans/modules/db/sql/analyzer/SQLStatementAnalyzer.java
##########
@@ -239,6 +239,8 @@ protected QualIdent parseIdentifier() {
     }
 
     protected String getUnquotedIdentifier() {
+        if (quoter == null)
+            return "";

Review comment:
       > phpmyadmin is a popular PHP based tool for accessing mysql databases. 
It is often found in hosted setups. In recent version I saw some quick code 
completion, that could not have been grammar based, but might be an alternative.
   
   Little rusty on my php and don't have that setup at the moment to try this 
but from what I can tell there is [SqlAutoCompleteController file used for sql 
autocomplete 
](https://github.com/phpmyadmin/phpmyadmin/blob/master/libraries/classes/Controllers/Database/SqlAutoCompleteController.php)
 which appears to basically creates an array of autocomplete items of db and 
table name related attributes.  I don't see the basic sql side of things which 
may be elsewhere so I will poke around some more.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to