[
https://issues.jboss.org/browse/ERT-66?page=com.atlassian.jira.plugin.sys...
]
Ian Stewart-Binks edited comment on ERT-66 at 3/31/16 4:20 PM:
---------------------------------------------------------------
- Identifiers completion should also support CamelCase, i.e. if the identifier CamelCase
exists and the user types in CC, CamelCase should be proposed.
- Identifiers that begin with an underscore should have a lower relevance than those that
do not.
- Function completion should check if `(` already exists. If it does, do not insert `(`,
if it does not, insert it.
- Note scope difference for let and var.
was (Author: istewart):
- Identifiers completion should also support CamelCase, i.e. if the identifier CamelCase
exists and the user types in CC, CamelCase should be proposed.
- Identifiers that begin with an underscore should have a lower relevance than those that
do not.
- Function completion should check if `(` already exists. If it does, do not insert `(`,
if it does not, insert it.
Create Identifier Completion Engine
-----------------------------------
Key: ERT-66
URL:
https://issues.jboss.org/browse/ERT-66
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 set of useful identifier should be suggested to
them. These identifiers should only be identifiers that are visible within the current
scope from the current file. This should first support identifiers using ES5 keywords, and
be extensible enough for ES6 keywords to fit in later on. Function identifiers from the
current file and scope should be included as well.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)