Does recast support custom printers?
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 364
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 3
Description
Is it possible to specify that a different printer (which would conform to the same API and support the same type of AST) should be used when printing code?
As an example, if I had to print code to match the jQuery preferred style, I would need a printer that adds whitespace to the inside of all bracket tokens (among other things).
Contributor guide
No contributing guide indexed for this repository
Research direction
No files, tests, or entry points are named. Start by locating the existing printer API and AST handling, then determine the intended extension boundary; done would require a clear decision and documented behavior for supplying an alternate compatible printer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100