JuliaFormatter
  • Overview
  • Options
    • Formatting Options
    • Custom Alignment
  • Styles
    • Default Style
    • YAS Style
    • Blue Style
      • Configuration File Example
      • Direct Usage
    • SciML Style
  • Skipping Formatting
  • Configuration File
    • .JuliaFormatter.toml
    • File Options
  • Command-Line Interface
  • Integrations
    • Editors
    • GitHub Actions
    • pre-commit
    • PackageCompiler
  • How It Works
  • API Reference
  • Contributing
  • Known Issues
  • Project Status
Version
  • Styles
  • Blue Style
  • Blue Style
GitHub

Blue Style

JuliaFormatter.BlueStyle — Type
BlueStyle()

Formatting style based on BlueStyle and JuliaFormatter#283.

source

Configuration File Example

The .JuliaFormatter.toml which represents these settings is

style = "blue"

Or to use BlueStyle except change one of the settings:

style = "blue"
remove_extra_newlines = false

Direct Usage

format("file.jl", BlueStyle())

Or to use BlueStyle except change one of the settings:

format("file.jl", BlueStyle(), remove_extra_newlines=false)
« YAS StyleSciML Style »

Powered by Documenter.jl and the Julia Programming Language.

Settings


This document was generated with Documenter.jl version 1.17.0 on Friday 31 July 2026. Using Julia version 1.12.6.

BlueStyle()

Formatting style based on BlueStyle and JuliaFormatter#283.

BlueStyle()

Formatting style based on BlueStyle and JuliaFormatter#283.

JuliaFormatter.format( path, style::Union{Nothing,AbstractStyle} = nothing; throw_on_error::Bool = false, format_markdown::Union{Nothing,Bool} = nothing, ignore::Union{Nothing,Vector{String}} = nothing, overwrite::Union{Nothing,Bool} = nothing, verbose::Union{Nothing,Bool} = nothing, formatting_options..., )::Bool

Recursively traverse path and format all Julia source files inside, or format path if it is itself a Julia source file.