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

Victor Rubezhny (JIRA) issues at jboss.org
Wed Oct 19 07:50:01 EDT 2016


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

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



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


More information about the jbosstools-issues mailing list