Skip to content

Add Runic.jl formatter #149

Backlog
Backlog

Description

@hakkelt

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.

Activity

  1. adrhill commented on Nov 28, 2026

    @adrhill
    Collaborator

    Thanks, we should definitely update the style section here:

    ## Style
    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.
    {% </advanced> %}

    Do you want to give it a shot?

  2. hakkelt commented on Nov 30, 2026

    @hakkelt
    Author

    I created #150. I went a bit further than just adding Runic.jl, so just tell me if it's too much.

  3. adrhill commented on Nov 30, 2026

    @adrhill
    Collaborator

    Thanks a lot, I gave you a quick review with some minor nits!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions