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

Improve formatting of comments #2022

Conversation

janmasrovira
Copy link
Collaborator

@janmasrovira janmasrovira commented Apr 20, 2023

While the algorithm is supposed to work in general, I've focused on testing it on comments between statements.

See https://github.com/anoma/juvix/blob/13442eee34e230463fb4b91455a0f552531626d8/tests/positive/Format.juvix to see some examples

@janmasrovira janmasrovira force-pushed the 2016-formatting-stop-introducing-new-lines-between-certain-statements-comments-line-issue branch from 5e62b64 to f2b0c34 Compare April 20, 2023 14:36
@janmasrovira janmasrovira temporarily deployed to github-pages April 20, 2023 14:45 — with GitHub Actions Inactive
@janmasrovira janmasrovira marked this pull request as ready for review April 24, 2023 14:11
Copy link
Collaborator

@jonaprieto jonaprieto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trim trailing whitespace

@jonaprieto jonaprieto merged commit 9ab91f3 into main Apr 24, 2023
6 of 8 checks passed
@jonaprieto jonaprieto deleted the 2016-formatting-stop-introducing-new-lines-between-certain-statements-comments-line-issue branch April 24, 2023 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formatting: Stop introducing new lines between (certain) statements. Comments line issue
2 participants