You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is an opinionated formatter, intentionally without configuration options. Its advantages compared to JuliaFormatter is execution speed and simplicity. I think it might be worth mentioning.
To make your code easy to read, it is essential to follow a consistent set of guidelines.
The official [style guide](https://docs.julialang.org/en/v1/manual/style-guide/) is very short, so most people use third party style guides like [BlueStyle](https://github.com/JuliaDiff/BlueStyle) or [SciMLStyle](https://github.com/SciML/SciMLStyle).
[JuliaFormatter.jl](https://github.com/domluna/JuliaFormatter.jl) is an automated formatter for Julia files which can help you enforce the style guide of your choice.
Just add a file `.JuliaFormatter.toml` at the root of your repository, containing a single line like
```toml
style = "blue"
```
Then, the package directory will be formatted in the BlueStyle whenever you call
```>format
using JuliaFormatter
JuliaFormatter.format(MyAwesomePackage)
```
{% <vscode> %}
The [default formatter](https://www.julia-vscode.org/docs/stable/userguide/formatter/) falls back on JuliaFormatter.jl.
{% </vscode> %}
{% <advanced> %}
You can format code automatically in GitHub pull requests with the [`julia-format` action](https://github.com/julia-actions/julia-format), or add the formatting check directly to your test suite.
Activity
adrhill commentedon Nov 28, 2026
Thanks, we should definitely update the style section here:
modernjuliaworkflows.github.io/src/sharing/index.md
Lines 161 to 188 in 5f225f2
Do you want to give it a shot?
hakkelt commentedon Nov 30, 2026
I created #150. I went a bit further than just adding Runic.jl, so just tell me if it's too much.
adrhill commentedon Nov 30, 2026
Thanks a lot, I gave you a quick review with some minor nits!