Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 894 Bytes

README.org

File metadata and controls

28 lines (19 loc) · 894 Bytes

scalariform.el

Format your Scala code with scalariform in Emacs.

https://melpa.org/packages/scalariform-badge.svg

Install

brew install scalariform

It is recommended installed by the MELPA package system.

You could install it by M-x: with package-install: scalariform.

Usage

M-x: with command scalariform-format-region or scalariform-format-region-or-buffer.

Variables

If you want to use a property file for scalariform, you can

(setq scalariform-use-properties-file-p t)
(setq scalariform-properties-file "~/.scalariform.conf")

You can also customize the variable scalariform-program-args to past extra arguments to scalariform.