[jbosstools-issues] [JBoss JIRA] (ERT-387) JSON editor "supports" comments, not supported by JSON [EBZ#499705]
Friendly Jira Robot (JIRA)
issues at jboss.org
Tue Aug 16 11:26:00 EDT 2016
Friendly Jira Robot created ERT-387:
---------------------------------------
Summary: 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
Priority: Trivial
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