[jbosstools-issues] [JBoss JIRA] (ERT-384) [content assist] Generate comma if need when completion is applied [EBZ#499537]

Snjezana Peco (JIRA) issues at jboss.org
Tue Aug 16 17:42:00 EDT 2016


     [ https://issues.jboss.org/browse/ERT-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Snjezana Peco reassigned ERT-384:
---------------------------------

    Assignee: Snjezana Peco


> [content assist] Generate comma if need when completion is applied [EBZ#499537]
> -------------------------------------------------------------------------------
>
>                 Key: ERT-384
>                 URL: https://issues.jboss.org/browse/ERT-384
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: WTP Source Editing
>            Reporter: Friendly Jira Robot
>            Assignee: Snjezana Peco
>              Labels: bzira, wst.json
>
> Take a sample:
> --------------------------------
> {
>   "compiler // Ctrl+Space
> }
> --------------------------------
> The completion apply generates (like today) this content:
> --------------------------------
> {
>   "compilerOptions": {}
> }
> --------------------------------
> But in the case if user triggers the completion before a JSON key
> --------------------------------
> {
>   "compiler // Ctrl+Space
>   "compileOnSave": true
> }
> --------------------------------
> a comma should be generated:
> --------------------------------
> {
>   "compilerOptions": {},
>   "compileOnSave": true
> }
> --------------------------------



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list