dummy-link

DocumentFormat

Auto-formatter for Julia

Readme

DocumentFormat

Dev Project Status: Active - The project has reached a stable, usable state and is being actively developed. codecov.io

An auto formatter for Julia.

Installation and Usage

using Pkg
Pkg.add("DocumentFormat")
using DocumentFormat
``` html
**Documentation**: [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://www.julia-vscode.org/DocumentFormat.jl/dev)

## Overview
The main function to format code is `format`. When called with a string argument, that string is assumed to be code and a new string in which the code is formatted is returned. When called with an `AbstractPath` that points to a file, that file is being formatted. If called with an `AbstractPath` that points to a folder, all `*.jl` files in that folder are formatted.

The function `isformatted` checks whether a piece of code is formatted. It can be called with a string (assumed to hold code) or an `AbstractPath`.

First Commit

08/02/2017

Last Touched

2 days ago

Commits

183 commits