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

Formatting rules and long test strings #4

Open
Lambeaux opened this issue Apr 21, 2020 · 0 comments
Open

Formatting rules and long test strings #4

Lambeaux opened this issue Apr 21, 2020 · 0 comments
Labels
context/tech-debt Sacrificed due to schedule but needs to be cleaned up later type/nfr Non-functional requirement

Comments

@Lambeaux
Copy link
Contributor

Lambeaux commented Apr 21, 2020

Cursive does a pretty good job by default formatting Clojure code but there are some annoying aspects that could use some attention:

  • Automatically manage max docstring length and wrap when violating margin rules
  • Find a way to support string data nested in code (i.e. tests), typically with long lines (i.e. manifest files), such that a formatter can keep the data declarations consistent & clean; maybe by adding a comment that gives a delimiting hint to the formatter?
  • Maybe by adding a function that takes a multi-line string and collapses it?
@Lambeaux Lambeaux added the type/enhancement Something that isn't working - this is a feature that needs more polish or quality control label Apr 21, 2020
@Lambeaux Lambeaux added context/tech-debt Sacrificed due to schedule but needs to be cleaned up later type/nfr Non-functional requirement and removed type/enhancement Something that isn't working - this is a feature that needs more polish or quality control labels Jul 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
context/tech-debt Sacrificed due to schedule but needs to be cleaned up later type/nfr Non-functional requirement
Projects
None yet
Development

No branches or pull requests

1 participant