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

[v2] Fix autoformatting issues #77

Open
5 tasks
zkat opened this issue Oct 5, 2024 · 0 comments
Open
5 tasks

[v2] Fix autoformatting issues #77

zkat opened this issue Oct 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zkat
Copy link
Member

zkat commented Oct 5, 2024

it's just completely borked right now.

  • Values shouldn't be formatted unless their repr is explicitly removed/missing. Autoformat is primarily for layout, and shouldn't affect the data representation. Perhaps there can be an option later to autoformat values, but that would need to be repr-aware.
  • Single-line comments are randomly going missing during autoformat?
  • There's what seems to be a weird interaction between /- and // comments. There's double newlines or something?
  • esclines aren't being collapsed/removed
  • There's a random leading space being added to trailing // comments when they're on their own line?
@zkat zkat added the bug Something isn't working label Oct 5, 2024
@zkat zkat changed the title [v2] Fix comment autoformatting [v2] Fix autoformatting issues Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant