Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: improve indentation rendering #285

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

zmstone
Copy link
Member

@zmstone zmstone commented Feb 13, 2024

Prior to this refactoring, the pretty-print indentation implementation relies on a lot of binary split and reassembling operations.
This change made the indentation insertion when recursively generating the lines.

@zmstone zmstone requested a review from a team February 13, 2024 20:56
@zmstone zmstone force-pushed the 0213-improve-indentation-algo branch from 5457d8f to cbf85da Compare February 13, 2024 21:00
@zmstone zmstone force-pushed the 0213-improve-indentation-algo branch from cbf85da to 9f1a330 Compare February 13, 2024 21:07
@zmstone zmstone merged commit b3df4bc into emqx:master Feb 14, 2024
3 checks passed
@zmstone zmstone deleted the 0213-improve-indentation-algo branch February 14, 2024 09:20
@zmstone zmstone restored the 0213-improve-indentation-algo branch February 14, 2024 09:20
@zmstone zmstone deleted the 0213-improve-indentation-algo branch February 14, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants