| Summary: | [parse] We need a tolerant JSON parser | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P2 | CC: | curtis.windatt.public, kuschel, Olivier_Thomann, snorthov |
| Version: | 11.0 | Keywords: | triaged |
| Target Milestone: | 14.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | 2017-02-24 | ||
|
Description
Michael Rennie
Found one: https://github.com/Microsoft/node-jsonc-parser This is the parser that backs the VS code JSON language service. We could easily make use of this parser to power our tools. Opened the CQ: https://dev.eclipse.org/ipzilla/show_bug.cgi?id=12612 Pushed the new parser in: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=f5ffaf47e9a51ce2ec4613c075547134aec24623 I also provided: 1. the shared AST provider (for other plugins to make use of 2. made the JSON plugin a first-class plugin since it needs access to file client / service registry (which can't happen as part of the languagesPlugin Will wait until the build is complete to makes sure it is building / loading properly. The new plugin is in the latest build and working as expected. I will open separate bugs to provide features built on the parser. |