[jbosstools-issues] [JBoss JIRA] (ERT-66) Create Identifier Completion Engine
Ian Stewart-Binks (JIRA)
issues at jboss.org
Wed Apr 6 11:14:00 EDT 2016
[ https://issues.jboss.org/browse/ERT-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182179#comment-13182179 ]
Ian Stewart-Binks edited comment on ERT-66 at 4/6/16 11:13 AM:
---------------------------------------------------------------
- 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.
- Note global scope for identifiers without variable declaration keyword (ASTVisitor must now visit all nodes, and only add identifiers in if in current scope)
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.
- Note scope difference for let and var.
> 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)
More information about the jbosstools-issues
mailing list