redolent
redolent

Reputation: 4259

Can't disable SQL parenthesis auto-complete in Eclipse

I've been through the preferences in Eclipse, and I can't figure out how to disable code completion for files like .sql

Take this for example:

WHERE
  `key` = ''
  AND key_expires > CURRENT_TIMESTAMP

When I edit the WHERE clause, I get this:

WHERE
  ()`key` = '' OR `key` IS NULL)
  AND key_expires > CURRENT_TIMESTAMP

I've tried turning off every option for parens, but to no avail.

Upvotes: 1

Views: 271

Answers (1)

Bart Crijns
Bart Crijns

Reputation: 46

in the preferences go to Data Management -> SQL Development -> SQL Editor

Click on the 'Typing' tab, Uncheck 'Close parentheses' and click Apply/OK

I hope that works for you, it does for me.

Upvotes: 2

Related Questions