]
Ilya Buziuk updated ERT-384:
----------------------------
Sprint: devex #118 July 2016, devex #119 August 2016 (was: devex #118 July 2016)
[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
}
--------------------------------