How do I enable SQL code completion in netbeans 7.1? I used to be able to do it in 7.0.
Asked
Active
Viewed 1,338 times
-1
-
1Have you set up a database connection? – John Carter Feb 25 '12 at 22:32
-
1BTW, the close vote wasn't me, I think this is on-topic for this site. – John Carter Feb 25 '12 at 23:47
-
1Thanks for responding. Yeah i have a connection setup, but it doesn't offer the code completion pop up when I start typing an SQL command. I'm wondering if they removed SQL support like how they removed python and ruby -.- – UserX Feb 26 '12 at 02:42
1 Answers
2
SQL code completion works fine for me, with a fresh install of Netbeans 7.1 with the PHP plugin on Ubuntu 11.10 against MySql 5.1.
Once I'd set up a connection I was able to use code completion both in .sql files and in variables in PHP code (start a string with "SELECT
and then hit ctrl+space).
I suggest starting Netbeans with a clean userdir to see if this resolves your problem.

John Carter
- 53,924
- 26
- 111
- 144
-
solved it by just reinstalling the whole thing and deleting the user settings. Thanks! – UserX Mar 13 '12 at 08:35