This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create table "-test". 2. Open SQL Editor, type "select -" and press Ctrl+Space. 3. Choose "-test" from the list and press Enter. Result: Statement becomes "select -`-test`". If user want to have string "-`-test`" then "-`-" should be written and then CC is invoked. But if user just write "select -" and then select "-test" from CC, then statement should rather become "select `-test`" since select .
This use case is a bit too convoluted. Moreover, I consider it correct behavior to quote an identifier which needs quoting, such as "-test" in this case. If the user wants select `-test` then the user should invoke the CC after select `-|