[jbosstools-issues] [JBoss JIRA] (ERT-387) JSON editor "supports" comments, not supported by JSON [EBZ#499705]

Ilya Buziuk (JIRA) issues at jboss.org
Wed Aug 17 08:40:00 EDT 2016


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

Ilya Buziuk reassigned ERT-387:
-------------------------------

    Assignee: Ilya Buziuk


> JSON editor "supports" comments, not supported by JSON [EBZ#499705]
> -------------------------------------------------------------------
>
>                 Key: ERT-387
>                 URL: https://issues.jboss.org/browse/ERT-387
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: WTP Source Editing
>            Reporter: Friendly Jira Robot
>            Assignee: Ilya Buziuk
>            Priority: Trivial
>              Labels: bzira, wst.json
>
> I tried commenting a line in a JSON file using the common syntax "/* comment */":
> /*"jquery/jquery-min": "1.12",*/
> This caused the line to become blue, so I figured JSON must support comments. But as mentioned in https://en.wikipedia.org/w/index.php?title=JSON&oldid=734431215 this is not the case.
> Ticket #495578 explains that Angelo ZERR decided to support "JSON comments" since .jshintrc (no idea what that is) uses it. In my opinion, this should be disabled by default, but for sure, it should be possible to disable. Currently, all JSON highlights are mandatory (the checkboxes are disabled).



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


More information about the jbosstools-issues mailing list