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

Gorkem Ercan (JIRA) issues at jboss.org
Wed Nov 9 08:17:00 EST 2016


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

Gorkem Ercan updated ERT-418:
-----------------------------
    Sprint: devex #123 November 2016  (was: devex #122 October 2016)


> 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
(v7.2.3#72005)


More information about the jbosstools-issues mailing list