-1

How do I enable SQL code completion in netbeans 7.1? I used to be able to do it in 7.0.

UserX
  • 1,228
  • 2
  • 15
  • 28
  • 1
    Have you set up a database connection? – John Carter Feb 25 '12 at 22:32
  • 1
    BTW, the close vote wasn't me, I think this is on-topic for this site. – John Carter Feb 25 '12 at 23:47
  • 1
    Thanks 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 Answers1

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