FeatureFuel
0

Format with line spaces

Source: prisma/orm#28969 · opened by @antamd
Bug description Hello team 👋, I’m encountering an issue when formatting my schema: blank lines are not preserved as expected, which impacts readability. Expected formatting I expect the schema to keep logical spacing between groups of fields, like this: Actual formatting However, after formatting, the schema is rewritten like this: While technically correct, this formatting reduces readability, especially for larger models, as alignment and spacing between logical blocks are lost. Question Is this formatting behavior intentional? If so, is there a way to configure the formatter to preserve spacing and alignment for better readability? Thanks in advance for your help! 🙏 Severity 🔹 Minor: Unexpected behavior, but does not block development Reproduction <!-- Link to CodeSandbox, GitHub repo, or step-by-step instructions --> Expected vs. Actual Behavior Expected formatting I expect the schema to keep logical spacing between groups of fields, like this: Actual form…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?