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 - [82cat] SQL keywords should appear in completion at last character of the word
Summary: [82cat] SQL keywords should appear in completion at last character of the word
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 8.2
Hardware: PC Mac OS X
: P4 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-18 13:23 UTC by brettryan
Modified: 2016-07-18 13:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
No suggestion for `where` (31.32 KB, image/png)
2016-07-18 13:25 UTC, brettryan
Details
Suggestion for `wher` (30.59 KB, image/png)
2016-07-18 13:26 UTC, brettryan
Details

Note You need to log in before you can comment on or make changes to this bug.
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`