microsoft / microsoft/node-jsonc-parser
Feature request: `modify` and `applyEdits` on parsed AST
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 759
- Forks
- 66
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 7
Description
I'm trying to keep a JSON datastructure in sync with its text representation for a custom VS Code editor.
I was thinking maybe it'd make sense to directly apply edit operations on the parsed tree rather than reparsing JSON every time?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by reviewing the parser's existing AST and edit-operation APIs, then define how parsed-tree changes should stay synchronized with the JSON text; done requires an agreed scope and tests for the proposed modify and applyEdits behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100