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.

Bug 262852

Summary: [82cat] SQL keywords should appear in completion at last character of the word
Product: db Reporter: brettryan <brettryan>
Component: SQL EditorAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 8.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: No suggestion for `where`
Suggestion for `wher`

Description brettryan 2016-07-18 13:23:57 UTC
Given a SQL statement like `select`, when entered into the editor the user should be able to place the caret at the last character of the word and invoke code-completion for that word which shall by default `complete` the word.


Steps to Reproduce
------------------

1. Open an SQL editor and type "selec" and invoke code completion (Cmd+Space)
2. Clear the editor.
3. Type "select" and invoke code completion (Cmd+Space).


Actual Behaviour
----------------

Editor behaves as it does not know the keyword select.


Expected Behaviour
------------------

At step #1 the code completion should type the word "SELECT" (Upper-Case).
Comment 1 brettryan 2016-07-18 13:25:17 UTC
Created attachment 160425 [details]
No suggestion for `where`
Comment 2 brettryan 2016-07-18 13:26:00 UTC
Created attachment 160426 [details]
Suggestion for `wher`