View Source Styler (Styler v1.10.0)

Styler is a formatter plugin with stronger opinions on code organization, multi-line defs and other code-style matters.

Summary

Functions

Turns an ast and comments back into code, formatting it along the way.

Functions

Link to this function

ast_to_string(ast, comments \\ [], formatter_opts \\ [])

View Source

Turns an ast and comments back into code, formatting it along the way.

Link to this function

string_to_ast(code, file \\ "nofile")

View Source

Just Code.string_to_quoted_with_comments/2 with the necessary options