atom-elixir-formatterElixir source code formatter for the Atom editor

联合创作 · 2023-09-28 00:11

license

Description

An Elixir source code formatter for the Atom editor. It automatically formats Elixir using the code formatter introduced in Elixir v1.6.

Requirements

Atom Elixir Formatter requires Elixir v1.6 or later.

Installation

Open SettingsInstall and search for atom-elixir-formatter.

Alternatively, install through the terminal:

apm install atom-elixir-formatter

Usage

Elixir files are formatted automatically on save. This can be disabled in Settings, or set to occur only when projects include a .formatter.exs file. See the mix format task documentation for a list of formatter configuration options supported in .formatter.exs.

You can manually format a file using the keyboard shortcut CTRL + ALT + F.

By default, Atom Elixir Formatter uses the elixir executable resolved on $PATH. You can override this behavior by going to SettingsPackagesAtom Elixir Formatter and setting Elixir Executable to the absolute path of an elixir executable.

Maintainers

Ron Green

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报