Zulip Chat Archive

Stream: lean4

Topic: Code style/formatting


Tom (Jul 18 2022 at 17:46):

All the examples and library code that I've seen use a very specific code style. As a VSCode user, is there a way I can autoformat my code to follow the same style (similar to clang-format/black/etc for other languages)? I've not been able to find anything in the Lean 4 extension or any relevant posts on this forum.
Thanks!

Henrik Böving (Jul 18 2022 at 17:48):

We don't have auto formatting yet, there are plans to get there but nothing working right now.


Last updated: Dec 20 2023 at 11:08 UTC