]
Victor Rubezhny reassigned ERT-418:
-----------------------------------
Assignee: Victor Rubezhny
JSON Editor improvement: enclose text within quotes [EBZ#501312]
----------------------------------------------------------------
Key: ERT-418
URL:
https://issues.jboss.org/browse/ERT-418
Project: Eclipse Release Train
Issue Type: Task
Components: JSDT
Reporter: Friendly Jira Robot
Assignee: Victor Rubezhny
Priority: Trivial
Labels: General, bzira
I propose to improve our JSON editor, with nice feature, that also concurrent editors are
missing.
When you write a sequence of characters without quotes, I'd like to press
<CTRL+SPACE> and have the JSON editor proposing to "wrap previous text within
quotes".
The Wrap within quotes, should propose to wrap the text from the current position, back
to the beginning of the line (or to the first special character), excluding whitespaces
before and after the text sequence, but preserving spaces within the words (case of
multiple words).
Examples:
Case 1:
"my object":{
bla bla bla bla|<CTRL+SPACE> ==> <WRAP>
result:
"my object":{
"bla bla bla bla"|
Case 2 :
"my-list": [
{language|<CTRL+SPACE> ==> <WRAP>
Result:
"my-list": [
{"language"|
Case 3 :
"a value": this is my beautiful text|<CTRL+SPACE> ==> <WRAP>
Result:
"a value": "this is my beautiful text"|