]
Snjezana Peco updated ERT-384:
------------------------------
Story Points: 2
[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
}
--------------------------------