[jbosstools-issues] [JBoss JIRA] (ERT-418) JSON Editor improvement: enclose text within quotes [EBZ#501312]

Friendly Jira Robot (JIRA) issues at jboss.org
Tue Sep 13 13:26:00 EDT 2016


Friendly Jira Robot created ERT-418:
---------------------------------------

             Summary: 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
            Priority: Trivial


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"|



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


More information about the jbosstools-issues mailing list