]
Gorkem Ercan reassigned ERT-65:
-------------------------------
Assignee: Ian Stewart-Binks (was: Gorkem Ercan)
Create Keyword Completion Engine
--------------------------------
Key: ERT-65
URL:
https://issues.jboss.org/browse/ERT-65
Project: Eclipse Release Train
Issue Type: Sub-task
Components: JSDT
Reporter: Ian Stewart-Binks
Assignee: Ian Stewart-Binks
When a user invokes code completion, a list of contextually practical keywords should be
suggested.
* After a user has typed a few characters and invoked code completion, keywords prefixed
by those few characters should be suggested. For instance, if the user has just typed
'del', 'delete' should be suggested. Similarly, if the user has just typed
'd', all of the keywords that start with the letter 'd' should be
suggested.
* Keywords based on relevance should also be suggested. For instance, consider the case
when a user has begun a *do while* block. If the user writes the *do* and the *block* and
invokes code completion, *while(<CR>);* should be one of the suggestions. A similar
functionality for an *if else* should be implemented, as well.
Questions:
* Should keywords that match templates be suggested even though their template
counterpart is in the list of suggestions?
* Should keywords be suggested within JSDocs?