Skip to content

clarinet format feedback #1689

Answered by obycode
tippenein asked this question in Q&A
Feb 19, 2025 · 5 comments · 17 replies
Discussion options

You must be logged in to vote

This is great! I'm loving it, but just have a few issues I've noticed so far.

  • The formatter drops the comment on this constant:
(define-constant WAITING_PERIOD u144) ;; 24 hours in blocks
  • If I use the ;;; style for documentation comments, the formatter changes it to ;; ;

  • I'm not sure I fully understand how it is deciding if two or more closing )s should be on the same line, or separate lines. This definitely seems like a personal preference thing, so I think I'd be okay with either option, but it seems inconsistent currently.

    • My personal preference would be that if they opened on the same line, they should close on the same line, otherwise, they should close on a separate line

Replies: 5 comments 17 replies

Comment options

You must be logged in to vote
4 replies
@tippenein
Comment options

tippenein Feb 19, 2025
Maintainer Author

@hugocaillard
Comment options

@tippenein
Comment options

tippenein Feb 24, 2025
Maintainer Author

@cipherzzz
Comment options

Answer selected by tippenein
Comment options

You must be logged in to vote
6 replies
@tippenein
Comment options

tippenein Feb 20, 2025
Maintainer Author

@friedger
Comment options

@tippenein
Comment options

tippenein Feb 26, 2025
Maintainer Author

@pradel
Comment options

@tippenein
Comment options

tippenein Feb 26, 2025
Maintainer Author

Comment options

You must be logged in to vote
2 replies
@hugocaillard
Comment options

@hugocaillard
Comment options

Comment options

You must be logged in to vote
2 replies
@tippenein
Comment options

tippenein Feb 26, 2025
Maintainer Author

@tippenein
Comment options

tippenein Mar 3, 2025
Maintainer Author

Comment options

You must be logged in to vote
3 replies
@obycode
Comment options

@cipherzzz
Comment options

@tippenein
Comment options

tippenein Mar 4, 2025
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants