]
Ilya Buziuk reassigned ERT-387:
-------------------------------
Assignee: Snjezana Peco (was: 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: Snjezana Peco
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).