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

Add fmt command #85

Open
jhoobergs opened this issue Feb 5, 2022 · 2 comments
Open

Add fmt command #85

jhoobergs opened this issue Feb 5, 2022 · 2 comments

Comments

@jhoobergs
Copy link
Collaborator

  • create a rumbas fmt command to format all exams / questions the same way. Order of fields equal to order in rust code.
@jhoobergs
Copy link
Collaborator Author

jhoobergs commented Feb 18, 2022

Should do following things as well:

  • print strings by default without quotes
  • never allow double backslashes: format as multi-line in that case.
  • look for maps with a content and a placeholder field and parse and write them as translatable strings (so it is shown as a string when possible)
  • Keep comments

@jhoobergs
Copy link
Collaborator Author

#117 solved this partly. Comments are now being kept. There isn't much formatting yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant